Salesforce

How can I change the location of the Attributes folder on the server where WorldServer is installed?

« Go Back

Information

 
TitleHow can I change the location of the Attributes folder on the server where WorldServer is installed?
URL Name000007662
SummaryBy default, attachment attributes are stored in the WorldServer temp folder. You can configure WorldServer to store these wherever you want. Follow the steps described in this article.
Scope/EnvironmentWorldServer
Question
Per default, after installation the Attributes folder is located under the Temp folder. However, the Temp folder gets cleaned periodically and we are concerned that the Attributes folder might get cleaned up as well. How can I change the location of the Attributes folder on the server where WorldServer is installed?
Answer
By default, attachment attributes are stored in the WorldServer temp folder. You can configure WorldServer to store these wherever you want. 

To configure WorldServer to store these attachments elsewhere follow these steps:

1- In general.properties, uncomment the file_attribute_storage property and specify a more suitable location. If you are using WorldServer in a clustered environment, all machines in the cluster must have access to this location.

The line you should uncomment and modify is:
# file_attribute_storage=c:/Shared/Attributes
This change requires an Idiom Service restart to take effect.

2- Moreover, the absolute path must be changed in the Database as well. To do so, follow the instructions in this article:

After an WorldServer upgrade, reference files/project attributes are no longer visible in active projects created before the upgrade

Important: once you make this configuration change, make sure to copy the content of the "attributes" folder to the new location. Verify in the User Interface that the project attributes are still visible and accessible after changing the directory. 
Reference
Attachment 1 
Attachment 2 
Attachment 3 
Attachment 4 
Attachment 5 

Powered by