Hi All,
TS/LS - 732
LSCS on Tomcat 6.
I want to fetch DCR content using my LSCS queries. I used below query:
http://localhost:1876/lscs/v1/document/path/templatedata/Product/SimplePromo/data/component-guide/Tanzania.xml
and it gave me the DCR content which is fine as this DCR belongs to my default project.
But I would like to fetch the DCR content in a similar manner from a project other than default project. So, I tried query as below:
http://localhost:1876/lscs/v1/document/path/templatedata/Comp-Tab/offers-detail/data/en/offer-detail.xml&project=//win2003ts721/default/main/component-guide
but I see below error:
No such resource: /lscs/v1/document/path/templatedata/Comp-Tab/offers-detail/data/en/offer-detail.xml&project=//win2003ts721/default/main/component-guide
However I can do the same query using context id as below:
http://localhost:1876/lscs/v1/document/id/85939e4e44d167a4388e44a4ca7957ab/context/c7f8aa0b1f0dd0ee9a3afae5e12d62bb
and it returns the content of the DCR from that specific project.
So, my question is:
1- why I cannot query DCR content from project other than default project using "path" identifier?
2- What is the use of the context identifier? Why I was able to query DCR content from other project using context identifier?
Thanks,
KJ