As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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.
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()
One thing to try… alf_ticket=ticketinformation instead of ticket=…..