Newer Version Available
PromptVersion
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.
Supported Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Special Access Rules
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.
Packaging Prompts
See Creating Managed Packages in Salesforce Help for more information.
See Considerations for Prompts in Lightning Experience in Salesforce Help for more information about installing and managing prompt packages and about editing and cloning prompts installed from packages.
Unmanaged packages for prompts isn’t supported.
When orgs install prompts from packages, the prompts will be the same publish state as indicated by the IsPublished field. For example, if the package prompt is active, it will also be active when installed by the user.
If the package includes a custom profile or permission that isn’t part of the installer’s Salesforce org, the prompt is installed, but it won’t include those items. For example, you install a prompt with several custom profiles not included in your org. The prompts are installed without those custom profiles.
If the package includes a standard app that isn’t part of the installer’s Salesforce org, the prompts are installed, but aren’t usable.
Fields
| Field | Details |
|---|---|
| ActionButtonLabel |
|
| ActionButtonLink |
|
| Body |
|
| DelayDays |
|
| Description |
|
| DismissButtonLabel |
|
| DisplayPosition |
|
| DisplayType |
|
| EndDate |
|
| Header |
|
| IndexWithIsPublished |
|
| IndexWithoutIsPublished |
|
| IsPublished |
|
| MasterLabel |
|
| ParentId |
|
| PublishedByUserId |
|
| PublishedDate |
|
| ShouldDisplayActionButton |
|
| ShouldIgnoreGlobalDelay |
|
| StartDate |
|
| TargetAppDeveloperName |
|
| TargetAppNamespacePrefix |
|
| TargetPageKey1 |
|
| TargetPageKey2 |
|
| TargetPageType |
|
| TimesToDisplay |
|
| Title |
|
| UserAccess |
|
| UserProfileAccess |
|
| VersionNumber |
|
| VideoLink |
|