Question

Difficulty: MediumQuick Actions, Custom Buttons, and Links

An administrator at a renewable energy company needs to allow field engineers to create a related Inspection record directly from a Customer Site record. The new Inspection record must automatically populate the Site Location and Maintenance Region fields with data from the parent Customer Site record. Which solution should the administrator implement to meet this requirement?

  1. Create an Object-Specific Quick Action on the Customer Site object with Predefined Field Values, and add it to the Customer Site page layout.Answer
  2. B
    Create a Global Quick Action with Predefined Field Values, and add it to the Global Publisher Layout.
  3. C
    Create a Custom Detail Page Button using JavaScript to set the field values, and place it on the Customer Site page layout.
  4. D
    Create a Custom Link on the Inspection object that redirects to a standard record creation page.

Answer

Create an Object-Specific Quick Action on the Customer Site object with Predefined Field Values, and add it to the Customer Site page layout.
Creating an Object-Specific Quick Action on the source object (Customer Site) enables the administrator to define Predefined Field Values that reference the parent record's fields. Placed on the parent object layout, it provides a seamless, context-aware record creation flow in Lightning Experience.

Step-by-Step Solution

1
Identify the requirement for record creation within a specific record context.
The requirement calls for creating a child record from a parent record layout while copying field values from the parent.
Object-specific actions operate within the context of a specific record.
2
Configure predefined field values on the Object-Specific Action.
Field values for Site Location and Maintenance Region are automatically populated using formulas referencing the parent Customer Site fields.
Object-specific quick actions allow referencing fields on the source object in predefined value formulas.
3
Add the action to the Lightning page layout.
The action becomes available on the Customer Site record page for users.
Adding the action to the record page layout makes it accessible in Lightning Experience.

Key Concept

Object-Specific Quick Actions and Predefined Field Values
Rate this question