Is the javascript api for WebScripts and Dashlets different?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2013 10:04 AM
Hello,
Another newbie question.
Is the javascript api for WebScripts and Dashlets different?
var name = userhome.properties.name works fine in a WebScript, but Dashlet is not able resolve userhome
Any pointers on what I might be missing here would be quite helpful.
Thanks and Regards
Chanchal
Another newbie question.
Is the javascript api for WebScripts and Dashlets different?
var name = userhome.properties.name works fine in a WebScript, but Dashlet is not able resolve userhome
Any pointers on what I might be missing here would be quite helpful.
Thanks and Regards
Chanchal
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2013 10:33 AM
Of course they are diffrent ,they are totally in different runtime.
WebScripts's runtime container is alfresco ,so it can use alfresco's javascript api;
Dashlet 's runtime is share 's local runtime;
you can use alfresco javascript api implement a webscript ,and develop a dashlet using that webscript
WebScripts's runtime container is alfresco ,so it can use alfresco's javascript api;
Dashlet 's runtime is share 's local runtime;
you can use alfresco javascript api implement a webscript ,and develop a dashlet using that webscript
