I have an OIR setup which by default points the location for a Document to say /Default/Documents in a Product.
<!-- set the folder -->
<AttrValue id="folder.id" algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm">
In the Create screen for a Document for the Location field, you have two options:
- Autoselect Folder - /Default/Documents
- [Radio button selected] Select Folder [Current location where document is being created and which can be changed]
Requirement is that when from a WTPart Related Objects->Documents page I try to create and associate a Document, for the Select Folder field
it uses the location of the current WTPart.
Instead of this, it should show "/Default/Documents" value.
There is a configuration available which can change the radio button selection to "Autoselect Folder" but that gets applicable everywhere.
Even if it solves the problem in this case it's not desirable in the Folders view where user would create Documents under any sub-folder.
Is there any logic in the OIR file which can be used to change the value of Select Folder to the OIR folder value when a specific Folder value is encountered like the Folder value for the WTPart.
Luckily we have the WTParts arranged under specific folder and sub-folders under it.