03-04-2010 03:24 AM
var tabWebScriptUrl = "/authenticatedTabs";
// Initiate a remote connector
var connector = remote.connect("alfresco");
try
{
// Get the tabs
var result = connector.call(tabWebScriptUrl);
// Process the service return
if (result !== null)
{
model.tabResults = result.toString();
}
}
catch (err)
{
logger.log("Failure to load tabs from url (" + tabWebScriptUrl + "): " + err.message);
}
The Web Script /alfresco/s/authenticatedTabs has responded with a status of 401 - Unauthorized.
03-04-2010 08:45 AM
03-04-2010 04:07 PM
I believe you need to pass a ticket on your url. Add "?ticket=ticketinformation" to the end of the url. You get the ticket information in javascript: var ticket = session.getTicket()Thanks for the reply, unfortunately this didn't change the behavior at all.
03-04-2010 04:53 PM
03-04-2010 05:29 PM
One thing to try… alf_ticket=ticketinformation instead of ticket=…..
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.