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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.