Interface IUserCustomAction
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Public interface to define a UserCustomAction object
public interface IUserCustomAction : IDataModel<IUserCustomAction>, IDataModelParent, IDataModelWithContext, ISupportModules<IUserCustomAction>, IDataModelGet<IUserCustomAction>, IDataModelLoad<IUserCustomAction>, IDataModelUpdate, IDataModelDelete, IQueryableDataModel
- Inherited Members
- Extension Methods
Properties
All
A special property used to add an asterisk to a $select statement
object All { get; }
Property Value
ClientSideComponentId
Gets or sets the unique identifier of the associated client side component.
Guid ClientSideComponentId { get; set; }
Property Value
ClientSideComponentProperties
Gets or sets the JSON formatted properties of the associated client side component.
string ClientSideComponentProperties { get; set; }
Property Value
CommandUIExtension
Gets or sets a value that specifies an implementation specific XML fragment that determines user interface properties of the custom action.
string CommandUIExtension { get; set; }
Property Value
Description
Gets or sets the description of the custom action.
string Description { get; set; }
Property Value
Group
Gets or sets a value that specifies an implementation-specific value that determines the position of the custom action in the page.
string Group { get; set; }
Property Value
HostProperties
This property is only used when an application customizer is created and preallocated placeholders are specified.
It is optional. If non-empty, the string must contain a JSON object with one or two properties for the height
amount needed to be preallocated.
string HostProperties { get; set; }
Property Value
Id
Gets a value that specifies the identifier of the custom action.
Guid Id { get; }
Property Value
ImageUrl
Gets or sets the URL of the image associated with the custom action.
string ImageUrl { get; set; }
Property Value
Location
Gets or sets the location of the custom action.
string Location { get; set; }
Property Value
Name
Gets or sets the name of the custom action.
string Name { get; set; }
Property Value
RegistrationId
Gets or sets the value that specifies the identifier of the object associated with the custom action.
string RegistrationId { get; set; }
Property Value
RegistrationType
Gets or sets the value that specifies the type of object associated with the custom action.
UserCustomActionRegistrationType RegistrationType { get; set; }
Property Value
Rights
Get or sets the base permissions of the action.
IBasePermissions Rights { get; set; }
Property Value
Scope
Gets a value that specifies the scope of the custom action.
UserCustomActionScope Scope { get; }
Property Value
ScriptBlock
Gets or sets the value that specifies the ECMAScript to be executed when the custom action is performed.
string ScriptBlock { get; set; }
Property Value
ScriptSrc
Gets or sets a value that specifies the URI of a file which contains the ECMAScript to execute on the page.
string ScriptSrc { get; set; }
Property Value
Sequence
Gets or sets the value that specifies an implementation-specific value that determines the order of the custom action that appears on the page.
int Sequence { get; set; }
Property Value
Title
Gets or sets the display title of the custom action.
string Title { get; set; }
Property Value
Url
Gets or sets the URL, URI, or ECMAScript (JScript, JavaScript) function associated with the action.
string Url { get; set; }
Property Value
VersionOfUserCustomAction
Returns the version of the user custom action.
string VersionOfUserCustomAction { get; }