How do I pass down page parameters to a sub-page/viewport component?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 09:35 AM
I have a sysId and a table passed to the record page which renders a viewport component. The problem is that my viewport component doesn't have access to those props.
When I pass @context.props.sysId and @component.props.table to the glide form data resource, I load the page and I see this...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2023 07:34 AM
I got it to work by creating a new page parameter/property in the record page and binding "@context.props.sysId" to it.
Then I was able to reference the page parameter name from a subpage.
In this post they do the same but with "@context.props.nowRecordFormBlob.sysId":
https://www.servicenow.com/community/next-experience-forum/configurable-workspace-gt-contextual-side...