function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC coderSFDC coder 

how to implement this functionality?

hi all,

i need to create a custom button on event object on click of which an edit page of a custom object opens up and after the custom obj record is
saved,the event objects related to field is populated with the custom object record

How can i best achieve this?


Thanks

Ravikant kediaRavikant kedia
Click on event object then go on  Button link action > New Button or link  and create a link for desire page and you can add javascript here or also can add visualforce page to this.
U JayU Jay
+1 Ravikant :)

go on  Button link action > New Button or link
Then add visual force page so that create a record with controller.
On success case you will get id.
Redirect pagereference with the new id.