Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting page path as well as just URLSegment #69

Open
jonshutt opened this issue Mar 31, 2016 · 1 comment
Open

Getting page path as well as just URLSegment #69

jonshutt opened this issue Mar 31, 2016 · 1 comment

Comments

@jonshutt
Copy link

Would be good if there was a nice way of passing a page full URL to the json.
Currently a page returns the URLSegment, but no full path.

@colymba
Copy link
Owner

colymba commented Apr 1, 2016

You can do that via a DataExtension on your DataObject/Page and take advantage of the onBeforeSerialize to add an extra field with the Link() value of the page.

I'll try to put an example together when I have a minute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants