Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@ page 4580 "Ext. SharePoint Account"
}
}
field(Disabled; Rec.Disabled) { }
field("Use Graph API"; Rec."Use Graph API")
{
trigger OnValidate()
var
CheckBasePathMsg: Label 'The API type has been changed. Please verify that the Base Relative Folder Path is still correct for the selected API type.';
begin
Message(CheckBasePathMsg);
end;
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ table 4580 "Ext. SharePoint Account"
field(5; "Base Relative Folder Path"; Text[2048])
{
Caption = 'Base Relative Folder Path';
ToolTip = 'Specifies the folder path relative to the site collection. Start with the document library or folder name (e.g., Shared Documents/Reports). This path can be copied from the URL of the folder in SharePoint after the site collection (e.g., /Shared Documents/Reports from https://mysharepoint.sharepoint.com/sites/ProjectX/Shared%20Documents/Reports).';
ToolTip = 'Specifies the base folder path. For SharePoint REST API: Use the full server-relative path including the site (e.g., /sites/ProjectX/Shared Documents/Reports). For Microsoft Graph API: Use only the path relative to the document library (e.g., Reports). When using Graph API, the path should not include the site or document library root, only the folders within the library.';
}
field(6; "Tenant Id"; Guid)
{
Expand All @@ -50,6 +50,7 @@ table 4580 "Ext. SharePoint Account"
}
field(8; "Client Secret Key"; Guid)
{
Caption = 'Client Secret Key';
Access = Internal;
DataClassification = SystemMetadata;
}
Expand All @@ -66,14 +67,23 @@ table 4580 "Ext. SharePoint Account"
}
field(11; "Certificate Key"; Guid)
{
Caption = 'Certificate Key';
Access = Internal;
AllowInCustomizations = Never;
DataClassification = SystemMetadata;
}
field(12; "Certificate Password Key"; Guid)
{
Caption = 'Certificate Password Key';
Access = Internal;
AllowInCustomizations = Never;
DataClassification = SystemMetadata;
}
field(13; "Use Graph API"; Boolean)
{
Caption = 'Use Microsoft Graph API';
ToolTip = 'Specifies whether to use Microsoft Graph API or SharePoint REST API. Microsoft Graph API supports downloading files larger than 150 MB through chunked transfers. Note: Requires Microsoft Graph permissions (Sites.ReadWrite.All) configured in your app registration instead of SharePoint permissions.';
}
}

keys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ page 4581 "Ext. SharePoint Account Wizard"
Caption = 'Account Name';
NotBlank = true;
ShowMandatory = true;
ToolTip = 'Specifies a descriptive name for this SharePoint storage account connection.';

trigger OnValidate()
begin
Expand All @@ -54,7 +53,6 @@ page 4581 "Ext. SharePoint Account Wizard"
field("Tenant Id"; Rec."Tenant Id")
{
ShowMandatory = true;
ToolTip = 'Specifies the Microsoft Entra ID Tenant ID (Directory ID) where your SharePoint site and app registration are located.';

trigger OnValidate()
begin
Expand All @@ -65,7 +63,6 @@ page 4581 "Ext. SharePoint Account Wizard"
field("Client Id"; Rec."Client Id")
{
ShowMandatory = true;
ToolTip = 'Specifies the Client ID (Application ID) of the App Registration in Microsoft Entra ID.';

trigger OnValidate()
begin
Expand All @@ -75,7 +72,6 @@ page 4581 "Ext. SharePoint Account Wizard"

field("Authentication Type"; Rec."Authentication Type")
{
ToolTip = 'Specifies the authentication flow used for this SharePoint account. Client Secret uses User grant flow, which means that the user must sign in when using this account. Certificate uses Client credentials flow, which means that the user does not need to sign in when using this account.';
trigger OnValidate()
begin
UpdateAuthTypeVisibility();
Expand Down Expand Up @@ -134,6 +130,9 @@ page 4581 "Ext. SharePoint Account Wizard"
IsNextEnabled := SharePointConnectorImpl.IsAccountValid(Rec);
end;
}
field("Use Graph API"; Rec."Use Graph API")
{
}

field("Base Relative Folder Path"; Rec."Base Relative Folder Path")
{
Expand Down
Loading
Loading