Views:

Description

Create a SharePoint Document Location

Signature

SharePointCreateDocumentLocation('name', 'site-location-type|sharepointdocumentlocationid', 'regardingtype|regardingobjectid', 'relativeurl')

Example


//Create a top level SharePoint document location record
SharePointCreateDocumentLocation('TopLevelSite','sharepointsite|' + GetVar('GetSiteId') ,'email|' + [email.activityid],'email','sharepointdocumentlocationid')


//Create a individual record level SharePoint document location record
SharePointCreateDocumentLocation('Documents - ' + Left([email.subject], 50),'sharepointdocumentlocation|' + GetVar('CreateOrRetrieveTopLevelSiteID') ,'email|' + [email.activityid],GetVar('FileName'),'relativeurl')

Parameters

Name Type Description Required
name xxxx xxxx xxxx
site-location-type|sharepointdocumentlocationid xxxx xxxx xxxx
regardingtype|regardingobjectid xxxx xxxx xxxx
relativeurl xxxx xxxx xxxx

Notes: