AnsweredAssumed Answered

How to create a custom includes.xsl and place on filestore

Question asked by john.wohlgemuth on Oct 6, 2016
Latest reply on Oct 7, 2016 by Louis_van_Amelsfort

How to create a Custom Includes.xsl and place on filestore

 

We have created a includes_custom.xsl file to keep common settings.  The affected xsl files such as catalogbrowse.xsl have references to include_custom, just like the OOTB includes.xsl.  The purpose of this file is to keep environment settings (urls etc) in one place as we promote from dev to prod.

 

The new includes file works well when I place it in same location as the OOTB includes.xsl on each server (we have multiple SC servers).  However, our file store is NAS storage on the network, and I would like keep the file here. 

 

How do I reference the custom_includes.xsl when it is on the file store?  I would prefer it to be in filestore\custom\explorer\request.  I tried some different combinations but get an error.  It appears to be always concatenating the root path plus the file store.

 

Example of reference in xsl files:

<xsl:include href=" FileStore/custom/explorer/request/common_includes.xsl" />

 

Examples of Errors in ServiceCatalog.log:

 

ERROR:  'D:\Program Files\CA\Service Catalog\view\webapps\usm\explorer\request\FileStore\custom\explorer\request\custom_includes.xsl (The system cannot find the path specified)'

 

Any help is appreciated.

Outcomes