November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi William,
As you can see you are redirected to the login page, which indicates (as you say) insufficient rights. This probably happens because
1) The page has not been published and therefore is not visible for anonymous users
2) The access to that page is restricted to logged in users.
Solution would be to impersonate a user that have read rights for both scenarios.
Hi Toni,
Thanks for your reply, seems like I have no other option than to impersonate a user.
Hi,
I have a method that gets all the page versions of a page given the id. It then tries to obtain the HTML of each page version by using the GetHtmlFromPage() method in the PageCompareAlgorithm class.
However, sometimes the method returns the following:
This happens when the page status is Checked out for example, and seems to indicate some kind of access error (HTTP 302?).
So, my question is: why is this happening and how can I obtain the HTML?
Any help would be greatly appreciated!