Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
accessing dcrpath (selected value in DCR Type Datum ) using Java
MikeMiracle
Hi All,
I have an aggregate component which has its content driven from a number of DCR type Datums in it . For this ,I need DCR path to be saved in Component Data Model . Normally DCR gets exploded and its content will only be available in the Component's XML Data Model not its path .
In our implementation, The DCR paths are absolutely mandatory to be present in the component XML model as we need to use it in XSLT to build a href links to detailed components . The Detailed component will be showing information based on the DCR passed to it.
For the time being , I am able to use a formAPI function which will insert DCR path as a hidden field with in the DCR. Its working perfectly fine.But the client requires this to be done in Java and not in formAPI. Anybody tried this in Java before ? Can this be done in external ? I couldn't get any success so far . If so any pointers in accessing DCR Datums saved value (DCR Path) from the RequestContext or PropertyContext will be helpful. Thanks in Advance.
M
Find more posts tagged with
Comments
nipper
This really sounds like an LSCS task. Does your customer own that?
The architecture would be significantly different from what you mentioned but it will provide the functionality you need.
MikeMiracle
Thanks nipper. Client has both LSCS and standalone IDOL and use j2EE based LSDS display services.Everything latest 7.3 version.Could you share any further pointers? Thanks a lot for replying.
chart_colour.rptdesign
nipper
Start playing with LSCS. There issue a sample which is JavaScript based. Basically the DCRs get inserted into the LSCS database and are returned via a REST call. That call can be done with XSL, Java or JavaScript.
MikeMiracle
Thanks nipper