PdcApplication.Sharepoint: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:


== Description ==
== Description ==
Opens a sharepoint location. Before using this function set the Oauth2.0 client ID and secret in Bemet --> restservices.
'''This property is only available in the EciCloud!!''' <br>
Initializes the Sharepoint interface within Bemet; Important to note is that the parameter strDirectoryInSharepoint needs to be the name of the root directory from where Bemet will use Sharepoint.
This root directory can be found in the settings: Bemet -> settings -> General settings -> General -> Document archive.
 
Before using this function set the Oauth2.0 client ID and secret in Bemet, restservices.


== Code example ==
== Code example ==
<source lang="vb">
<source lang="vb">
Dim sp As PDCEXT.PdcSharepoint = PDC.App.Sharepoint("scriptLocation")
Dim sp As PDCEXT.PdcSharepoint = PDC.App.Sharepoint("docrepo")
</source>
</source>


== Availability ==
== Availability ==
available in 2021R4 and up
available in 2021R4 and up

Latest revision as of 12:32, 14 October 2024

Declaration

Sharepoint(strDirectoryInSharepoint As String) As PdcSharepoint

Description

This property is only available in the EciCloud!!
Initializes the Sharepoint interface within Bemet; Important to note is that the parameter strDirectoryInSharepoint needs to be the name of the root directory from where Bemet will use Sharepoint. This root directory can be found in the settings: Bemet -> settings -> General settings -> General -> Document archive.

Before using this function set the Oauth2.0 client ID and secret in Bemet, restservices.

Code example

Dim sp As PDCEXT.PdcSharepoint = PDC.App.Sharepoint("docrepo")

Availability

available in 2021R4 and up