---
schema_version: "1"
id: fec5e6bdbc57e5b710843f7a8d7c6e26721804da61e055aea17eeec9a1d6ed26
title: PromptActionOwnerSharingRule
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_promptactionownersharingrule.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_promptactionownersharingrule.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5b42d3b6b538205f009bbf80c621f99097252fd55192347b82b90323c5de5b44
description: Represents a rule which determines PromptAction sharing access for the owners. Available in API version 46.0 and later.
---
# PromptActionOwnerSharingRule

Represents a rule which determines PromptAction sharing access for the owners. Available in API version 46.0 and later.

Prompts and walkthroughs help users discover your products and services, adopt your processes, or learn how to use a new feature. Add prompts and walkthroughs in Lightning Experience pages or apps or in supported Experience Cloud site pages. Add an optional action button or link that goes to a URL. Track views, action button clicks, and walkthrough completions.

## Supported Calls

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

## Special Access Rules

To add, edit, manage, and view prompts and walkthroughs in Lightning Experience or in Experience Cloud sites, multiple permissions are required. See [Permissions for Creating and Accessing In-App Guidance](https://help.salesforce.com/s/articleView?id=sales.customhelp_lex_wt_license.htm&type=5&language=en_US "HTML (New Window)") in Salesforce Help.

## Fields

| Field | Details |
| --- | --- |
| AccessLevel | 
Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

Indicates the access level of users for in-app guidance. Valid values are Read and Edit.



 |
| Description | 

Type

textarea

Properties

Create, Filter, Nillable, Sort, Update

Description

Description of the in-app guidance. Maximum of 255 characters.



 |
| DeveloperName | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization.

When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance slows down while Salesforce generates one for each record.





 |
| GroupId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the group whose PromptAction are shared.



 |
| Name | 

Type

string

Properties

Create, Filter, Group, idLookup, Sort, Update

Description

Name of the in-app guidance.



 |
| UserOrGroupID | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

ID of the user or group with whom PromptAction access is shared.



 |