Creating Custom Index
 

The custom index file is an xml file located in a subdirectory which is specified in the customXML key of the web.config file. Given below is an example of a custom index file

<customizations>
      <custom id="1" in="images/ThemeB/appbg.jpg" out="custom/images/ThemeB/appbg.jpg" active="N"/>
     <custom id="2" in="resources/appmenus.xml" out="custom/resources/appmenus.xml" active="N"/>
</customizations>

In the above example there is an element called custom having four attributes; id, in, out and active.

  • id - The unique integer which works as an index for the element custom.

  • in - The input file is the officeclip file which needs to be customized. The path is relative from the officeclip root directory.

  • out - The output file is the customized file which will in turn be used at run time. The path should again be relative from the officeclip root directory.

  • active - determines if a particular column is active, valid values are Y or N. Customization does not become effective unless this value is Y.

This kind of customization can be applied to any file within OfficeClip (programs, images and resources). The OfficeClip framework reads this index when the application is started and caches it in the primary memory. Whenever a request is made within OfficeClip to access a file which has been customized, the redirection to cutomized file takes place internally.

NOTE - If the index file is changed, OfficeClip application will need to be restarted to make the change effective. This can be achieved running iisreset from the winsows command prompt.



 Send us your feedback  Copyright© OfficeClip LLC 2000-2006, All Rights Reserved 

 OfficeClip provides a suite of web-based enterprise software such as Web Contact Manager, Issue and Bug Tracker, Time and Expense Reporting, Free Group Calendar, Free Document Sharing and other applications.