Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Call the Kentico CMS WebService from a JavaScript method View modes: 
User avatar
Member
Member
eagleag - 9/3/2013 2:50:26 PM
   
Call the Kentico CMS WebService from a JavaScript method
Hi,

i tried to use this example: http://www.mcbeev.com/Blog/August-2010/How-To-Call-the-Kentico-CMS-WebService-from-a-Java

but when I got to testing this funciton
function testService(){
WebService.GetDataSet("", serviceSuccess, serviceFailed);
}

none of the alerts poped up.

any idea what might be different in kentico 7 for this?

Thanks

User avatar
Member
Member
eagleag - 9/7/2013 1:57:20 PM
   
RE:Call the Kentico CMS WebService from a JavaScript method
Anyone?
I'm sure this is something simple that I missed or overlooked.

make my week and write a solution :)
you will be blessed :)

Thanks

User avatar
Member
Member
kentico_sandroj - 9/7/2013 7:36:13 PM
   
RE:Call the Kentico CMS WebService from a JavaScript method
Hello,

Are you using the caching method that is described at the bottom of the article? If so, that could be the issue because it uses the old API. That could also be the issue without caching because this example seems to use TreeHelper instead of TreeProvider. Please take a look at the update from 5.5R2 > 6 and from 6 > 7 articles as well as the newest API reference.

Please let me know if you have any additional questions.

Best Regards,
Sandro