- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2020 02:19 PM
Hi,
I am developing a custom context menu component for the agent workspace.
How do I pass the current case sys_id to my now ui framework component?
I have read the developer documentation a million times but I just cannot find out how this is done.
Please if anyone knows this I would be incredibly grateful to know.
Solved! Go to Solution.
- Labels:
-
Now Experience UI Framework

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2020 08:35 PM
Components have a number of automatically passed attributes/properties. You can see them by going to "Workspace Experience -> Contextual Side Panel" then just pick any record and scroll down to the related list "Action Model Fields". You should see a list of 10.
You can then just do this in your component code and I believe case matters so if it does not work at first check the case of the property.
properties: {
sysId: {
default: null
},
table: {
default: null
}
}
I have also found that you can detect if your component is being used on a form vers a home page by just checking if gForm was passed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2020 10:47 AM
Drew, do share any tips and tricks you learned 🙂 Maybe even have a look at my questions about Now Experience framework 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-11-2020 05:25 PM
amazing, you know first hand the people behind UI Framework for agent workspace 😄

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2020 05:27 AM
I would call it more I know a guy that knows a guy that got me some answers to my frustrations.