cancel
Showing results for 
Search instead for 
Did you mean: 

create dashlet in share to display json returned result

n_pancholi87
Champ in-the-making
Champ in-the-making
Hi all,

I have the following url which gives me the desired list of documents in json format.

http://localhost:8080/share/proxy/alfresco/slingshot/doclib/doclist/documents/node/alfresco/company/...

I want to create a dashlet to display this data. I have tried the normal approach mentioned in this https://forums.alfresco.com/en/viewtopic.php?f=48&t=43126 but with no success. I cannot seem to get the right URL and hence getting the error :

Script url /service/ui/doclist does not map to a Web Script.
org.springframework.extensions.webscripts.WebScriptException: 10210001 Script url ******* does not map to a Web Script.


Can somebody please suggest what is the correct url i should try reaching in the following call :
var json = remote.call("_______________");

Thanks in advance!
11 REPLIES 11

ddraper
World-Class Innovator
World-Class Innovator
Unfortunately I don't have the time to investigate this in detail at the moment… perhaps another community member would be able to help?

I'd have thought that from the existing My Documents dashlet implementation and the information I've provided on accessing remote/local WebScripts as well as how to browse existing WebScripts and access their underlying code would have been enough to get you on your way though.

Regards,
Dave

n_pancholi87
Champ in-the-making
Champ in-the-making
Thank you so much for your help Dave..That will definitely help..