cancel
Showing results for 
Search instead for 
Did you mean: 

Adding ticket to Path after seeing Samuels correspondence

tonygarnet
Champ in-the-making
Champ in-the-making
Hi
I saw Samuel's correspondence about adding a ticket .
I therefore attempted to add a ticket to the path used in :
reference = new Reference(STORE, null, path);
The form of the path:
/app:company_home/cm:CWS/cm:erw/cm:microsites/cm:C000003184/cm:content/*[@cm:name='home.html']?ticket=TICKET_d09d9989-a544-11db-a21c-7f59df8c2880"   

This did not work.
Can you please indicate the correct method of adding a ticket in this situation?

Tony
1 REPLY 1

sam69
Champ in-the-making
Champ in-the-making
Hi,
Thanks for quoting me 😉
But I don't understand what you want to do…
You need to add tickets only if you want to provide an external http url for user, with autologin.
Else, if you have started a session via webservice (with the method startSession(login, pwd) ), you don't have to provide tickets.

So the path without the ticket should work :
reference = new Reference(STORE, null, "/app:company_home/cm:CWS/cm:erw/cm:microsites/cm:C000003184/cm:content/*[@cm:name='home.html']");

Cheers,
Samuel
Getting started

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.