Table 9560 Document Sharing in 24

App
System Application
Namespace
System.Integration

Fields, 12Keys, 1

Versions171819202122232425262728latest

Source242526272829

Source in 24

src/System Application/App/Document Sharing/src/DocumentSharing.Table.al133 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Integration;

/// <summary>
/// Table containing the required state for document sharing.
/// </summary>
table 9560 "Document Sharing"
{
    Access = Public;
    TableType = Temporary;
    Extensible = false;
    InherentEntitlements = X;
    InherentPermissions = X;

    fields
    {
        /// <summary>
        /// Specifies the unique id of this record.
        /// </summary>
        field(1; Id; Integer)
        {
            DataClassification = SystemMetadata;
            AutoIncrement = true;
        }

        /// <summary>
        /// Specifies the blob data to be shared (e.g. a report pdf).
        /// </summary>
        field(2; Data; Blob)
        {
            DataClassification = CustomerContent;
        }

        /// <summary>
        /// Specifies the filename of the document (with file extension).
        /// This will be used for uploading and also displayed in the share experience.
        /// </summary>
        field(3; Name; Text[2048])
        {
            DataClassification = CustomerContent;
        }

        /// <summary>
        /// Specifies the filename extension (e.g. '.pdf').
        /// This is required to display the share experience.
        /// </summary>
        field(4; Extension; Text[2048])
        {
            DataClassification = SystemMetadata;
        }

        /// <summary>
        /// Specifies the Document Service token.
        /// This is required to display the share experience.
        /// </summary>
        field(5; Token; Blob)
        {
            DataClassification = EndUserIdentifiableInformation;
        }

        /// <summary>
        /// Specifies the root location of the document.
        /// This is typically the store used by the Document Service.
        /// </summary>
        field(6; DocumentRootUri; Text[2048])
        {
            DataClassification = CustomerContent;
        }

        /// <summary>
        /// Specifies the location of where the document has been uploaded.
        /// Navigating here will allow the user to download the file.
        /// </summary>
        field(7; DocumentUri; Text[2048])
        {
            DataClassification = CustomerContent;
        }

        /// <summary>
        /// Specifies the preview location.
        /// Navigating here will allow the user to preview the document in a browser.
        /// </summary>
        field(8; DocumentPreviewUri; Text[2048])
        {
            DataClassification = CustomerContent;
        }

        /// <summary>
        /// Specifies the sharing intent of the document.
        /// </summary>
        field(9; "Document Sharing Intent"; Enum "Document Sharing Intent")
        {
            DataClassification = SystemMetadata;
        }

        /// <summary>
        /// Specifies the sharing source of the document.
        /// </summary>
        field(10; Source; Enum "Document Sharing Source")
        {
            DataClassification = SystemMetadata;
        }

        /// <summary>
        /// Specifies the Id of the data in the Document Service
        /// </summary>
        field(11; "Item Id"; Text[2048])
        {
            DataClassification = SystemMetadata;
        }

        /// <summary>
        /// Specifies the behavior when there is a conflict with an existing document.
        /// </summary>
        field(12; "Conflict Behavior"; Enum "Doc. Sharing Conflict Behavior")
        {
            DataClassification = SystemMetadata;
            InitValue = Ask;
        }
    }

    keys
    {
        key(Key1; Id)
        {
            Clustered = true;
        }
    }
}

Fields, 12

IdNameTypeObsolete
1IdInteger-
2DataBlob-
3NameText[2048]-
4ExtensionText[2048]-
5TokenBlob-
6DocumentRootUriText[2048]-
7DocumentUriText[2048]-
8DocumentPreviewUriText[2048]-
9Document Sharing IntentEnum Document Sharing Intent-
10SourceEnum Document Sharing Source-
11Item IdText[2048]-
12Conflict BehaviorEnum Doc. Sharing Conflict Behavior-

Keys, 1

NameFieldsObsolete
Key1, clusteredId-