Hi Guys,
I looked and looked for Information about this - please forgive me if I missed something.
I am preparing to rewrite some of my old Flex views into html using of couse the Bridge. The views
which Show properties from Inventory objects are working fine.
Now I am trying to rewrite some global views which use the DataByQuerySpecRequest to obtain
more global properties. I am not able to find info (tutorial, faq, here, samples) on how to create such a request.
Is this supported?
thanks for the info
Cathy
All the data API is supported on the Java side. In the case of DataByQuerySpecRequest we didn't provide a controller endpoint in DataAccessController.java because it's not useful to pass a generic QuerySpec parameter from Javascript. The best way to proceed is to set up your own "ServicesController" with an endpoint dedicated to the query you want and then use the Java API DataService.getData(..) to perform the actual query. See also QueryUtil.java for code using that data API.
All the data API is supported on the Java side. In the case of DataByQuerySpecRequest we didn't provide a controller endpoint in DataAccessController.java because it's not useful to pass a generic QuerySpec parameter from Javascript. The best way to proceed is to set up your own "ServicesController" with an endpoint dedicated to the query you want and then use the Java API DataService.getData(..) to perform the actual query. See also QueryUtil.java for code using that data API.
Thanks Laurent,
that makes sense - I'll try it that way.
Cathy