Class CustomActionEntity
CustomActionEntity class describes the information for a Custom Action
Inheritance
Namespace: PnP.Framework.Entities
Assembly: PnP.Framework.dll
Syntax
public class CustomActionEntity : object
Properties
ClientSideComponentId
Gets or sets the client side component id. Only applies to custom actions which are added to SharePoint Online.
Declaration
public Guid ClientSideComponentId { get; set; }
Property Value
Guid
|
ClientSideComponentProperties
Gets or sets the client side component properties. Only applies to custom actions which are added to SharePoint Online.
Declaration
public string ClientSideComponentProperties { get; set; }
Property Value
System.
|
ClientSideHostProperties
Gets or sets the client side host properties. Only applies to custom actions which are added to SharePoint Online.
Declaration
public string ClientSideHostProperties { get; set; }
Property Value
System.
|
CommandUIExtension
Gets or sets a value that specifies an implementation specific XML fragment that determines user interface properties of the custom action
Declaration
public string CommandUIExtension { get; set; }
Property Value
System.
|
Description
Description of the custom action
Declaration
public string Description { get; set; }
Property Value
System.
|
Group
The group of this custom action
Declaration
public string Group { get; set; }
Property Value
System.
|
ImageUrl
The URL to the image used for this custom action
Declaration
public string ImageUrl { get; set; }
Property Value
System.
|
Location
Custom action location (A string that contains the location; for example, Microsoft.SharePoint.SiteSettings)
Declaration
public string Location { get; set; }
Property Value
System.
|
Name
Gets or sets the name of the custom action.
Declaration
public string Name { get; set; }
Property Value
System.
|
RegistrationId
Gets or sets the value that specifies the identifier of the object associated with the custom action.
Declaration
public string RegistrationId { get; set; }
Property Value
System.
|
RegistrationType
Specifies the type of object associated with the custom action. A Nullable Type
Declaration
public UserCustomActionRegistrationType? RegistrationType { get; set; }
Property Value
System.
|
Remove
Indicates if the custom action will need to be removed
Declaration
public bool Remove { get; set; }
Property Value
System.
|
Rights
Gets or sets the value that specifies the permissions needed for the custom action.
Declaration
public BasePermissions Rights { get; set; }
Property Value
Base
|
ScriptBlock
The JavaScript to be executed by this custom action
Declaration
public string ScriptBlock { get; set; }
Property Value
System.
|
ScriptSrc
Gets or sets a value that specifies the URI of a file which contains the ECMAScript to execute on the page
Declaration
public string ScriptSrc { get; set; }
Property Value
System.
|
Sequence
The sequence number of this custom action
Declaration
public int Sequence { get; set; }
Property Value
System.
|
Title
Custom action title
Declaration
public string Title { get; set; }
Property Value
System.
|
Url
The URL this custom action should navigate the user to
Declaration
public string Url { get; set; }
Property Value
System.
|