AnsweredAssumed Answered

Dashlet calls autheniticated webscript

Question asked by jelena on Nov 30, 2010
Latest reply on Nov 30, 2010 by jelena

1. I'm developing dashlet that calls web script which requires authentication. Thus I've tried to add alf_ticket at the end of webscript but the problem is I can't get the ticket from my:dashlet.get.js

I've tried with:

var ticket = session.getTicket();

and I get the error that session cant resolve session variable. So how can I get ticket from dashlet.get.js ?

2. And I was wondering is it possible to set document library of site to some alfresco folder?

Thanks very much for answers