Building the dynamic widget

Let's use several of these features to create a new custom widget that displays whether a guest has had reservations in the past and thanks them for their loyalty:

  1. Before we do anything, we need to open up the security rules a little. The many-to-many table that we made in Chapter 2, Developing Custom Applications, doesn't have any security rules around it which means the default deny policy kicks in. In the main interface, click Elevate Roles from the user menu.
  2. Navigate to System Security > Access Control (ACL), and click New. Fill out the form as follows, and Save.
    • Operation: read
    • Name: x_hotel_m2m_guests_reservations (looks like Guest Reservation [x_hotel_m2m_guests_reservations] - --None--)
  1. Now, navigate ...

Get ServiceNow: Building Powerful Workflows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.