Link Sharing SettingsThis field tells sFiles the default and available settings for creating sharing linksJul 9, 2024Knowledge
TitleLink Sharing SettingsURL NameSharing-SettingsArticle BodyPrerequisites sFiles version summer '24 (v.1.51) or later installed. Visit sFiles on the AppExchange and click "Get it Now" to update to the latest version. About sFiles allows admins to customize the settings for a sharing link created through the Create Public Link, Create Sharing Link and Share Files via Email features. The Link Sharing Settings field in the SharePoint Object Settings contains permissions in a comma separated form (Salesforce's Setup > Custom Metadata Types > 'Manage Records' in SharePoint Object Settings). Please see below the available settings for this field: Admin-Defined Link Sharing Settings See the following table to set a single link sharing setting. By specifying these settings, all other sharing options will be hidden from the user. These settings will override any other link sharing settings. NOTE: These settings will apply to both the Create Public Link and Share Files via Email features. Link Sharing SettingDescriptionOptions Features ExpirationAdmin-defined number of days an 'Anonymous' link will be valid. Users will be unable to change this value. Ex. Expiration:30Number (days) Create Public LinkCreate Sharing LinkShare Files via Email FilePermissionsSets the file permissions and prevents users from changing it. Users will be unable to change this value. Ex. FilePermissions:View ViewEdit Create Public LinkCreate Sharing LinkShare Files via Email FolderPermissions Sets the folder link permission and prevents users from changing it. Users will be unable to change this value. Ex. FolderPermissions:View ViewEdit Create Public LinkCreate Sharing LinkShare Files via Email ScopeSets the file link scope and prevents users from changing it. Users will be unable to change this value. Ex. Scope:Organization NOTE: "Users" Scope not available for Create Public Link feature. AnonymousOrganizationUsers Create Public LinkCreate Sharing LinkShare Files via Email User-Selectable Link Sharing Settings See the following tale to configure multiple link sharing setting options for users. NOTE: These settings will only apply to the Share Files via Email feature and NOT the Create Public Link feature. Link Sharing SettingDescriptionOptions Features DefaultExpirationDefault number of days an 'Anonymous' link will be valid. Users will be able to change this value. Ex. DefaultExpiration:90Number (days) Create Sharing LinkShare Files via Email DefaultPermissionsDefault link permission. Users will be able to change this value. Ex. DefaultPermissions:Edit ViewEdit Create Sharing LinkShare Files via Email DefaultScopeDefault link type. Users will be able to change this value. Ex. DefaultScope:Users AnonymousOrganizationUsers Create Sharing LinkShare Files via Email PasswordHides the password field for 'Anonymous' links. Users will be able to change this value. Ex. Password:Disable Disable Create Sharing LinkShare Files via Email PreventOrganizationPrevents a user from creating a link for people in the organization Ex. PreventOrganization- Create Sharing LinkShare Files via Email PreventUsersPrevents a user from creating a link for specific users/emails Ex. PreventUsers- Create Sharing LinkShare Files via Email PreventAnonymousPrevents a user from creating a link for anyone Ex.Prevent- Create Sharing LinkShare Files via Email Example of Link Sharing Settings field: Expiration:20,DefaultScope:Organization,preventAnonymous,FilePermissions:View