Is there a way to create a button or custom link which automatically adds an event? We have a custom object, called Installations, with a Project Start and Project End Date. Ideally, there would be a button on the Installation page that when clicked would use this Project Start/End Date, Account Name, and Team Leader to create a new event assigned to the Team Leader (a custom picklist field also on the Installation page).
You can write a class in Apex for creating Event with the necessary parameters. Then add a custom button which runs a javascript snippet and will call your Apex call function.
Alternatively you can have a custom button on whose click you redirect user to the standard Event creation date with the desired parameters pre-populated in the page.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
You can write a class in Apex for creating Event with the necessary parameters. Then add a custom button which runs a javascript snippet and will call your Apex call function.
Alternatively you can have a custom button on whose click you redirect user to the standard Event creation date with the desired parameters pre-populated in the page.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.