Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

In order keep configuration simple, please perform the following steps in Salesforce Classic (Booker25 is Lightning-Ready, you may afterwards use the app in Salesforce Lightning as you please)


After you have created a single resource calendar for a custom dimension you might want to create a button on the record layout that links the user to the single resource calendar.

Step-by-step guide

  1. Navigate to the custom object in salesforce setup.
  2. Go to the subsection Buttons, Links, and Actions
  3. Click New Button or Link
  4. Give the button a name and label for example: View Calendar
  5. Display type can be either: Detail Page Link or Detail Page Button
  6. For behaviour select: Display in existing window with sidebar
  7. For Content Source select URL
  8. Paste the following code snippet into the link text box.

    URL Code snippet
    /apex/B25__SingleResourceCalendarWrapper?recordId=REPLACE_THIS_WITH_RECORD_ID
  9. Select REPLACE_THIS_WITH_RECORD_ID and open the dropdown under insert field and select Record Id
  10. The link or button definition should now look something like this.

  11. Click save.
  12. You can now edit the layouts you want this button to appear on and add the button to the custom buttons section.



On this page

  • No labels