Codeunit 9110 SharePoint Uri Builder

System Application, System.Integration.Sharepoint

Source AL, 189 lines

src/System Application/App/SharePoint/src/helpers/SharePointUriBuilder.Codeunit.allines 10 to 25 of 189, Copyright (c) Microsoft Corporation. MIT

codeunit 9110 "SharePoint Uri Builder"{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        ServerName, Namespace : Text;        Uri: Text;        UriLbl: Label 'https://{server_name}/_api/{namespace}', Locked = true;        UriAppendTxt: Label '/%1', Comment = '%1 - URI part to append', Locked = true;        SetMethodTxt: Label '/%1(''%2'')', Comment = '%1 - method name, %2 - method parameter', Locked = true;        SetMethodNamedTextTxt: Label '/%1(%2=''%3'')', Comment = '%1 - method name, %2 - parameter name, %3 - text parameter value', Locked = true;        SetMethodRawTxt: Label '/%1(%2)', Comment = '%1 - method name, %2 - method parameter', Locked = true;        SetMethodGuidTxt: Label '/%1(guid''%2'')', Comment = '%1 - method name, %2 - method parameter', Locked = true;        QueryParameters: Dictionary of [Text, Text];

All 189 lines

Public procedures 16 in 29

GetHost(): Textnew in 21
Initialize(NewServerName: Text; NewNamespace: Text)new in 21
SetObject(Object: Text)new in 21
SetMethod(Method: Text; ParameterValue: Text)new in 21
SetMethod(Method: Text; ParameterValue: Integer)new in 21
SetMethod(Method: Text; ParameterValue: Boolean)new in 21

All 16 procedures

Changes 1 in 28

List17181920212223242526272829
Procedures11
GetSiteUrl(): Textnew in 28
added

All 2 changes in 21-29