It would make sense if they weren't because the mapping process happens with the UI which is in the main thread.
It would make sense if they weren't because the mapping process happens with the UI which is in the main thread.
Hi Kapow,
Unfortunatly your question is not clear for us.
Please describe in details your goal and problem.
Regards.
can I run a generic service on another page before it loads/shows etc?
Hi Kapow,
You can invoke datasources which are defined on the active page.
That's why page should loaded before datasource would be initialized and avaliable to invoke.
Regards.
Thought so, thanks! One more question, after the page is loaded can it be run while on another page?
Kapow,
Yes, while other page loading current active page is - previous page. So you can invoke services with JS code:
pre
datasourceName.execute({});
/pre
Regards.
Right, I currently have my REST services separate from the mapping (using generic services) because I have to do some data parsing to make it compatible with ColdFusion. I would like to be able to pre-load all the pages so that when the services execute, they can immediately call the generic service to perform the mapping. Is this possible?
Hi Kapow36.
In this case you can invoke some services on start page and store results to LSV. Then you can get this results from the LSV(cache) and use them immediately in your generic REST.
If page not loaded, all datasources defined on this page could not be used at all.
Regards.