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)
Reading dcr values
sravansane
can you some one help this issue
How to Reading dcr values using CSSDK java class .
Find more posts tagged with
Comments
Rick Poulin
Use an XML parser (e.g. org.dom4j or javax.xml) in combination with CSSimpleFile#getInputStream()
kaleemS
You can read the file using
context.getLiveSiteDal().readXmlFile(doc.getPath())
and you will get org.dom4j.Document back as a response.
However, this will do the file IO operation on LSDS server.
I am also able to fetch the DCR directly from LSCS server using the following query.
http://localhost/lscs/v1/document/path/templatedata/cat/field/data/test
But, I don't know the way to call this from Java and how this works.