SF 5.1 - get PageNode from URL
I am trying to figure out how I can get a PageNode from a URL. I can only find things that relate to SF3.7. Namepsaces have changed since then, and functionality changed a lot as well so things are not applicable anymore.
Would someone have an example on this?
Finally found how.
In case someone else is trying to find this, here is how :