The location of the file system used for file assets is determined by the pathPrefix
attribute of the content
property for the fileAsset
item descriptor in the publishingFileRepository
. To change the location, create a publishingFiles.xml
file with a new pathPrefix
attribute that overrides the default, and put the file in your application’s configuration path.
For example:
<gsa-template> <item-descriptor name="fileAsset"> <property name="content" xml-combine="append"> <attribute name="pathPrefix" value="{atg.dynamo.server.home}/Publishing/myFiles" xml-combine="replace"/> </property> </item-descriptor> </gsa-template>
The new location must be on the asset management server.
Note: The pathPrefix
attribute value should be set with an environment variable, as shown in the previous example. Do not use an explicit file system path such as c:\atg\atg10.2\home
.