Issue using document() in TeamSite XSL to fetch content of associated dcrs?
We have a requirement to generate the html from dcr via xsl. The DCR contains references to other DCRs(browse field). While generating the HTML via XSL we need to fetch some values from the associated DCR. Usually such case is handled in sitepublisher component by using document(concat('http://www.interwoven.com/custom'),'/templatedata/AC/Footer/data/test') and pulling the full XML.
Has anyone tried to use the same functionality in teamsite xsl while generating html/xml from the dcr. It doesn't seem to be working like the way it works in Sitepublisher. Also there are no error logs for this .
Any pointers?
Comments
-
The URIResolver you're attempting to use (which is the piece that magically converts the interwoven.com URL into a path to the current workarea) is not available in the FormsPub XSL parser. AFAIK there's no variable given to you that would help here, so you might have to create your own CSPTCompiler implementation that passes the workarea path as additional context to the XSL, along with the DCR being rendered.
0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- Docker Automation
- LiveSite Content Services (LSCS) REST API
- Single Page Application (SPA) Modules
- TeamSite Add-ons
If you are interested in gaining full access to the content, you can register for a My Support account here.