Specialized Administration > Tailoring Business Objects > Object Initialization Rules Administration > Working with Object Initialization Rules > Rule Algorithms > General Default Value and Constraint Algorithm Examples > Setting a Default Folder Path Example
  
Setting a Default Folder Path Example
Use the following algorithm to specify that the default folder path is the top-level folder in the context:
<AttrValue id="folder.id"
algorithm="com.ptc.core.foundation.folder.server.impl.FolderPathAttributeAlgorithm">
<Arg>/Default</Arg>
</AttrValue>
All folder paths defined in a Windchill solution are defined as subfolders under the top-level folder in the context (designated by /Default); therefore, the argument value always starts with /Default.
To specify a subfolder, include the subfolder name after /Default. For example, use the following XML to specify the default folder path as a folder named Design that is under the top-level folder in the context:
<Arg>/Default/Design</Arg>