Hi
Trying to run a LSCS query from the external but getting "Illegal character in query at index 98". The char at line 98 is :
Can you please point what is wrong?
I am trying to get the content that is still active. The contents are tagged with StartDate and EndDate. So need to get the contents where today's date is between the start and end date of the content.
Below is the query:
String queryString = "q=(((TeamSite/Metadata/StartDateTime:<" + today
+ ") AND (TeamSite/Metadata/EndDateTime
" + today
+ ")) AND (G11N/Locale:" + locale
+ ")) AND (TeamSite/Templating/DCR/Type:=" + dcrType + ")";
2014-05-09))%20AND%20(G11N/Locale:en_US))%20AND%20(TeamSite/Templating/DCR/Type:=Content/FreeformContent)&start=0&max=50&project=[project-name]&format=xml
Also, what method can I use to get the parameters from the component. When I use requestContext.getParameterString("param") it tells me the method is depricated and if I run
requestContext.getRequest().getParameter("param") I get null. calling the depricated method gets me the value
Thanks for your help
7.3.2
Windows 2k8