Skip to main content

Step-by-Step Guide: Configuring Bookable Resources in Power Pages

In this tutorial, we'll walk through the process of setting up and configuring Bookable Resources in Power Pages, enabling contacts to log in and manage their bookings.

Step 1: Create a Custom Contact Lookup Field

Bookable Resources can be of various types, but only contacts can log in to Power Pages. To address this, we will create a custom contact lookup field on the Bookable Resource entity.


Step 2: Create a Contact Record

  1. Create Contact Record: Create a contact record that you will use to access the Portal.
  2. Set Custom Field: Assign the newly created contact record to the custom contact lookup field on the Bookable Resource entity.




Step 3: Configure Table Permission for Bookable Resource Entity

Set up a table permission for the Bookable Resource entity and in the Relationship field, choose the newly created contact lookup relationship.


Step 4: Configure Table Permissions for Related Entities

For related entities of Bookable Resources, add them as child permissions within the Bookable Resource Permission.



Step 5: Add Bookable Resource Booking Entity List

Add Entity List: Add the Bookable Resource Booking entity list to your page. This is a related entity of the Bookable Resource.

Ignore Warning: You may see a warning to set permissions—ignore this and proceed.



Step 6: Log In to the Portal

Attempt to log in to the Portal using the contact credentials. Cool, the records are getting displayed



Step 7: Configure a Form to Create Bookable Resource Booking

Set Up Form: Configure a form to create bookable resource bookings.

Enter Details: Fill in the General Tab details.




Associated Table Reference Tab:
  • Set "Yes" for "Set Table Reference On Save" to display a section.
  • In the Table Name, select "Bookable Resource."
  • In Relationship Name, choose "Resource(bookableresource_bookableresourcebooking_Resource)."
  • Ensure "Populate Lookup Field" is checked.
  • For Table Reference Source, select "Record Associated to Current Portal User."
  • In Record Source Relationship Name, select "Portal Contact(new_bookableresource_PortalContact_contact)."
  • Save and refresh the form.
  • Set "Target Lookup Attribute Logical Name" to Resource(resource).

Step 8: Add Form to List

Add your configured form to the entity list. Below is the record created from Portal


By following these steps, you can effectively configure Bookable Resources in Power Pages, enabling contacts to manage their bookings and related records smoothly.

Comments