Newer Version Available

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

PromptActionShare (Beta)

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

As a beta feature, Prompts is a preview and isn’t part of the “Services” under your master subscription agreement with Salesforce. Use this feature at your sole discretion, and make your purchase decisions only on the basis of generally available products and features. Salesforce doesn’t guarantee general availability of this feature within any particular time frame or at all, and we can discontinue it at any time. This feature is for evaluation purposes only, not for production use. It’s offered as is and isn’t supported, and Salesforce has no liability for any harm or damage arising out of or in connection with it. All restrictions, Salesforce reservation of rights, obligations concerning the Services, and terms for related Non-Salesforce Applications and Content apply equally to your use of this feature.

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.