I wish I could get the value from the previous URL on the community page.
I have this community page:
Note: The related list "HipoteseDiagnostica" is a component and the "New" button is another component, it is not a standard related list.
When I click on "New" I go to another community page where I also have a component:
What I want is when I start this second page, I can get the URL of the first print.
I saw that the PageReference does not work in the community, which ended up complicating my side.