append_endorsed_list
append_endorsed_list(s1)
This command allows you to add to the list of external entities that are allowed to be processed by Arbortext Publishing EngineThe accepted value is a string which can be either a file path, url or regex. It is recommended to add these to an acl file that will get loaded on Publishing Engine startup, such as an ACL file in the custom\init folder.
* 
The endorsed list does not get stored in the preferences file (the .wcf file) and is re-established each time the ACL file is sourced during Arbortext Publishing Engine startup. This means that any changes made to the ACL file allow you to add or remove entries.
Example 1:
Adding a folder to the endorsed list
append_endorsed_list("D:\images")
append_endorsed_list("\\\\sharedpath\\folder1")
Example 2:
Adding multiple strings to the endorsed list
append_endorsed_list “https://www.examplesite.org/static/images/image1.png;https://examplesite2.com//img/image2.png”
append_endorsed_list("path1;Path2;path3")
Example 3:
Adding a URL to the endorsed list
append_endorsed_list("https://mydomain.com")
The list is pre-populated with the following values:
PE install directory,
PE custom and application directories,
PE temp directory,
com.ptc.prowt.arbortext directory (if the adapter is enabled and any custom adapter directories),
x-wc:// (as a regex if the adapter is enabled or the correct prefix for custom adapters),
PE active transactions directory
Entities which are not added to this list are not published by Arbortext Publishing Engine.
¿Fue esto útil?