SharePoint
definitely-typed › Akumina › Digispace › Data › SharePoint
Hierarchy
- SharePoint
Index
Methods
- CreateItem
- CreateList
- GetAppInstances
- GetCurrentSiteId
- GetList
- GetSPGroupUsersByGroupName
- GetSPUserGroups
- GetSiteIdByUrl
- GetSiteSPGroups
- LoadTermSet
- LoadTermSetById
- UpdatePageObjectsItem
- UpdatePageUrlsItem
Methods
CreateItem
▸ CreateItem(createItemRequest
: any): JQueryDeferred‹any›
Defined in index.d.ts:829
Create new list item
Parameters:
Name | Type | Description |
---|---|---|
createItemRequest | any |
Returns: JQueryDeferred‹any›
CreateList
▸ CreateList(siteUrl
: string, siteTitle
: string, templateType
: string, fieldsList
: any[]): JQueryDeferred‹any›
Defined in index.d.ts:837
Create new list
Parameters:
Name | Type | Description |
---|---|---|
siteUrl | string | - |
siteTitle | string | - |
templateType | string | - |
fieldsList | any[] |
Returns: JQueryDeferred‹any›
GetAppInstances
▸ GetAppInstances(successCallback
: any, errorCallback
: any): void
Defined in index.d.ts:839
Parameters:
Name | Type |
---|---|
successCallback | any |
errorCallback | any |
Returns: void
GetCurrentSiteId
▸ GetCurrentSiteId(): JQueryDeferred‹any›
Defined in index.d.ts:843
Get SiteID of current site
Returns: JQueryDeferred‹any›
GetList
▸ GetList(request
: any): JQueryDeferred‹any›
Defined in index.d.ts:845
Parameters:
Name | Type |
---|---|
request | any |
Returns: JQueryDeferred‹any›
GetSPGroupUsersByGroupName
▸ GetSPGroupUsersByGroupName(authorizationGroups
: any[]): JQueryDeferred‹any›
Defined in index.d.ts:859
Get list of users under user groups
Parameters:
Name | Type | Description |
---|---|---|
authorizationGroups | any[] | List of authorization Groups |
Returns: JQueryDeferred‹any›
GetSPUserGroups
▸ GetSPUserGroups(): JQueryDeferred‹any›
Defined in index.d.ts:863
Get User Groups current user belongs to
Returns: JQueryDeferred‹any›
GetSiteIdByUrl
▸ GetSiteIdByUrl(siteUrl
: string, useRootWeb
: boolean): JQueryDeferred‹any›
Defined in index.d.ts:849
Parameters:
Name | Type | Description |
---|---|---|
siteUrl | string | Absolute path |
useRootWeb | boolean | - |
Returns: JQueryDeferred‹any›
GetSiteSPGroups
▸ GetSiteSPGroups(): JQueryDeferred‹any›
Defined in index.d.ts:854
Get all SP user groups
Returns: JQueryDeferred‹any›
Resolves with array of {id, displayName, type, description}
LoadTermSet
▸ LoadTermSet(termSetName
: string, columnName
: string | null, columnValue
: string | null): JQueryDeferred‹any›
Defined in index.d.ts:809
Parameters:
Name | Type |
---|---|
termSetName | string |
columnName | string | null |
columnValue | string | null |
Returns: JQueryDeferred‹any›
LoadTermSetById
▸ LoadTermSetById(termSetId
: string, columnName
: string, columnValue?
: string | null): JQueryDeferred‹any›
Defined in index.d.ts:810
Parameters:
Name | Type |
---|---|
termSetId | string |
columnName | string |
columnValue? | string | null |
Returns: JQueryDeferred‹any›
UpdatePageObjectsItem
▸ UpdatePageObjectsItem(pageTypeList
: string, pageObject
: any, pageId
: string): JQueryDeferred‹any›
Defined in index.d.ts:817
Update Page object item
Parameters:
Name | Type | Description |
---|---|---|
pageTypeList | string | List Name |
pageObject | any | Page object to be updated |
pageId | string | Item Id of page list item |
Returns: JQueryDeferred‹any›
UpdatePageUrlsItem
▸ UpdatePageUrlsItem(pageObject
: any, pageId
: string, pageTypeList?
: undefined | string): JQueryDeferred‹any›
Defined in index.d.ts:823
Parameters:
Name | Type | Description |
---|---|---|
pageObject | any | - |
pageId | string | - |
pageTypeList? | undefined | string |
Returns: JQueryDeferred‹any›