Page 1 of 1

How to access to user context Id from a framework ?

Posted: Wed May 10, 2023 7:21 pm
by Vince
Hello,

We implement a plugin following your documenttaion with https://www.oxygenxml.com/doc/versions/ ... _auth.html.
Now I want to perform http requests from a framework to our CMS with Authentication.
But how can we get UserContext and related contextId from SessionStore ?

Thanks
Vincent

Re: How to access to user context Id from a framework ?

Posted: Thu May 11, 2023 2:44 pm
by mihaela
Hello,

There is a sample plugin in our sample plugins repository, called web-author-view-file-as-text, that contains an AuthorOperation that uses the context id from the currentURL. Please check and see if this is helpful for your use case. If not, please give us more details about what you try to obtain and we will search for a solution.


Best Regards,
Mihaela

Re: How to access to user context Id from a framework ?

Posted: Thu May 11, 2023 7:10 pm
by Vince
Hello,

Thank you for give me this sample plugin. It is helpful for my use case. I can now call CMS from my framework extensions bundle.

Regards,
Vincent

Re: How to access to user context Id from a framework ?

Posted: Fri May 12, 2023 8:36 am
by mihaela
Hi,

We are glad that the plugin helps you.
Please let us know if you need further assistance.

Best Regards,
Mihaela