Skip to main content

I have a global button (New Interaction)that appears on all pages in the top right hand corner as part of my master page (see below).


This creates a new salesforce event record


I want the WhatId on Event to be populated with the record id of the page that’s being looked at (unless of course it’s a list view). Is this possible, as the button is on the master page, which i guess isn’t associated with any record???

Glenn,

I’m not sure if it’s possible or not. You might try setting the WhatId of the event to be the id page params and see what happens (it might catch the page parameters). You could make the condition deactivate if the parameter is not provided and hopefully that will take care of your list page situation. Let us know how it goes!