Newer Version Available

This content describes an older version of this product. View Latest

PromptActionShare

Represents a sharing entry on a prompt action record. Available in API version 46.0 and later.

Use prompts to display announcements, training, or news to users within the app. Choose to add an action button that links to a URL of your choice. Track views and action button clicks.

Admins have access to add or edit prompts. For non-admin users, assign the Manage Prompts and Modify Metadata user permission. Everyone can see the In-App Guidance setup page.

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Fields

Field Details
AccessLevel
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Indicates the access level of users for prompts. Valid values are Read, Edit, and All.
ParentId
Type
reference
Properties
Create, Filter, Group, Sort
Description
ID of the parent.
RowCause
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort
Description
Reason that this sharing entry exists. You can only write to this field when its value is either omitted or set to Manual (default). There are many possible values, including:
  • Rule—The User or Group has access via a Contact sharing rule.
  • ImplicitChild—The User or Group has access to the Contact via sharing access on the associated Account.
  • Manual—The User or Group has access because a User with “All” access manually shared the Contact with them.
  • Owner—The User is the owner of the Contact.
UserOrGroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The ID of the User or Group.