Méthode | Description | |
---|---|---|
AddWebPart ( ClientContext clientContext, LimitedWebPartManager limitedWebPartManager, WebPartDefinition webPartDefinition, string webParts, string zones ) : bool |
Adds all web parts on matter landing page.
|
|
ConfigureXMLCodeOfWebParts ( |
Configures XML of web parts.
|
|
CreateWebPartPage ( ClientContext clientContext, string pageName, string layout, string masterpagelistName, string listName, string pageTitle ) : int | ||
Delete ( ClientContext clientContext, string pageUrl ) : void |
Deletes the page
|
|
IsFileExists ( ClientContext clientContext, string pageUrl ) : bool |
Checks the file at the specified location and return the file existence status.
|
|
PageExists ( string requestedUrl, ClientContext clientContext ) : bool |
Checks if the requested page exists or not.
|
|
SPPage ( ISPOAuthorization spoAuthorization, IOptions |
All the dependencies are injected
|
|
UrlExists ( |
Will check whether a url exists in the current site collection or not
|
Méthode | Description | |
---|---|---|
ConfigureListViewWebPart ( List sitePageLib, ClientContext clientContext, string pageName, |
Configures XML code of List View web part.
|
public AddWebPart ( ClientContext clientContext, LimitedWebPartManager limitedWebPartManager, WebPartDefinition webPartDefinition, string webParts, string zones ) : bool | ||
clientContext | ClientContext | Client Context |
limitedWebPartManager | LimitedWebPartManager | LimitedWebPartManager object to import web parts |
webPartDefinition | WebPartDefinition | WebPartDefinition object to add web parts on page |
webParts | string | Array of web parts that should be added on Matter Landing Page |
zones | string | Array of Zone IDs |
Résultat | bool |
public ConfigureXMLCodeOfWebParts ( |
||
client | Client object containing Client data | |
matter | Matter object containing Matter data | |
clientContext | ClientContext | SharePoint Client Context |
pageName | string | |
uri | To get URL segments | |
web | Web | Web object of the current context |
matterConfigurations | ||
Résultat | string[] |
public CreateWebPartPage ( ClientContext clientContext, string pageName, string layout, string masterpagelistName, string listName, string pageTitle ) : int | ||
clientContext | ClientContext | |
pageName | string | |
layout | string | |
masterpagelistName | string | |
listName | string | |
pageTitle | string | |
Résultat | int |
public Delete ( ClientContext clientContext, string pageUrl ) : void | ||
clientContext | ClientContext | Client Context |
pageUrl | string | Page URL |
Résultat | void |
public IsFileExists ( ClientContext clientContext, string pageUrl ) : bool | ||
clientContext | ClientContext | Client Context |
pageUrl | string | File URL |
Résultat | bool |
public PageExists ( string requestedUrl, ClientContext clientContext ) : bool | ||
requestedUrl | string | URL of the page, for which check is to be performed |
clientContext | ClientContext | ClientContext for SharePoint |
Résultat | bool |
public SPPage ( ISPOAuthorization spoAuthorization, IOptions |
||
spoAuthorization | ISPOAuthorization | |
generalSettings | IOptions |
|
logTables | IOptions |
|
customLogger | ICustomLogger | |
spList | ISPList | |
matterSettings | IOptions |
|
Résultat | Microsoft.Extensions.Options |
public UrlExists ( |
||
client | Contains the url in which we need to check whether a page exists or not | |
pageUrl | string | The page |
Résultat | bool |