Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
TeamSite
TeamSite, LiveSite and OpenDeploy
livesitecs-demo targeting component is returning empty records ($)
Migrateduser
Version: 7.2.1
Platform: RH Linux
LiveSite Content Services demo spar is installed and deployed to runtime. The strange behavior with it's targeting/rule component (Display Hero Promotion.component) working on TeamSite preview however not working on Runtime. It is returning with blank record ($). Rest all the components are working fine.
I tried to replicate same pages in new site but now it is failing on both TeamSite and Runtime for the same Display Hero Promotion component.
LSCS url query is building properly like below:
/lscs/v1/document/$?q=(TeamSite/Metadata/ContentCategories:="fyhme1rp")+AND+(TeamSite/Metadata/ContentType=fyhme1ro)&start=0&max=10&project=//domain/default/main/livesitecs/demo&format=json
This query is returning records on Auth while same query is giving empty on Runtime.
In LSCS-RT, if i remove "=" from query then it is returning records:
/lscs/v1/document/$?q=(TeamSite/Metadata/ContentCategories:"fyhme1rp")+AND+(TeamSite/Metadata/ContentType=fyhme1ro)&start=0&max=10&project=//domain/default/main/livesitecs/demo&format=json
I tried to debug various thing, only thing i found difference in "site" between preview and runtime that in LSDS Runtime log showing error at end of page rendering "error- Site not valid" with not exception, but site is running fine and except targeting/rule component everything works properly.
Thanks.
Find more posts tagged with
Comments
There are no comments yet