Page A contains a
DetailsList, which has links to different pages.
Page B contains a file viewer web part.
Clicking on any of the links on "Page A"
DetailsList row items, directs the user to "Page B".
I am trying to fetch the Page A url using
document.referrer but it returns a blank value. Rarely it gives the correct url.
Is there any way to ensure the
document.referrer returns the correct url?