Syncplicity Support

Search our knowledgebase to get the help you need, today

Follow

Preserve shared links

For several platforms, there is an option to share files and folders via a link. The preserved shared links policy determines whether "domain" or "anyone" links are transferred from the source to the destination. Permission Preservation must be configured in your job for Shared Links to be transferred

Related: 

  • Box
  • Dropbox
  • SharePoint Online (Office 365/OneDrive for Business Online)
  • G-Suite

Related: 

Anyone / Anonymous: Links that can be shared with anyone

Box: open
Dropbox: public
Google: anyone
SharePoint: anonymous

Domain: Links that can be shared only within your organization or enterprise

Box: company
Dropbox: team_only
Google: domain
SharePoint: organizational

READ/VIEW RIGHTS ONLY → Links will be transferred as "View" only

READ/VIEW AND WRITE/EDIT → Both "read" and "edit" links can be transferred

SUPPORTED → Feature is fully supported by the Platform and DataHub

ANYONE LINKS ONLY → Anyone / Anonymous are links that can be shared with anyone

NOT SUPPORTED → Feature is available by the Platform but not supported by DataHub

NOT APPLICABLE → Feature is not supported by the Platform

 

Box

DropBox

SharePoint Online

G-Suite

Number of Links

1 link per file or folder 1 link per file or folder multiple links per file or folder Max 2 links; anonymous and/or a domain
Rights
READ/VIEW RIGHTS ONLY
READ/VIEW RIGHTS ONLY
READ/VIEW AND WRITE/EDIT
READ/VIEW AND WRITE/EDIT
Expiration Date
SUPPORTED
SUPPORTED
ANYONE LINKS ONLY
READ/VIEW RIGHTS ONLY
Link Passwords
NOT SUPPORTED
NOT SUPPORTED
NOT APPLICABLE
NOT APPLICABLE
Disable Download
NOT SUPPORTED
NOT SUPPORTED
NOT APPLICABLE
NOT APPLICABLE

Required: Permission Preservation Policy must be enabled to transfer Shared Links successfully

Configuration Options:

  • true: Transfer shared links on files and folders from source to the destination
  • false: Do not transfer shared links on files and folders from source to the destination (default)
"permissions": {
            "policy": "add",
            "links": true,
            "failures": "exceptions"

POST {{url}}v1/jobs

{
    "name":"Shared Links Example",
    "kind": "transfer",
    "transfer": {
        "transfer_type": "copy",
        "large_item": "skip",
        "batch_mode": "always",
        "timestamps": "true",
        "tags": "none",
        "permissions": {
            "policy": "add",
            "links": true,
            "failures": "exceptions"
        },
        "segment_transform": true,
        "preserve_owners": true,
        "duplicate_names": "rename",
        "empty_containers": "create",
        "versioning": {
            "preserve": "native",
            "select": "all"
        },
        "source": {
            "connection": { "id": "{{cloud_connection_source}}" },
            "target": {
                "path": "/sourcePath"
            }
        },
        "destination": {
            "connection": { "id": "{{cloud_connection_destination}}" },
            "target": {
                "path": "/destinationPath"
            }
        }
    },
    "schedule": {
        "mode": "manual"
    },
    "stop_policy": {
        "on_success": 2,
        "on_failure": 2
    },
    "category": {
        "name": "Report | Shared Link Jobs"
   }
}

POST {{url}}v1/jobs

{
  "name":"Shared Links with Permissions Import",
  "kind": "transfer",
  "transfer": {
    "audit_level": "trace",
    "transfer_type": "copy",
    "permissions": {
      "policy": "add",
      "failures": "exceptions",
      "links": true,
      "import": {
        "source": {
          "text": {
            ["delimiter"]: ",", //optional, defaults to comma
            "target": {
              "path": "/permissions_import.csv"
            }
          }
        },
        "output": {
          "format": "text"
        }
      }
    },
    "source": {
      "connection": {
        "id": "{{nfs_connection}}"
      },
      "target": {
        "path":"/"
      }
    },
    "destination": {
      "connection": {
        "id": "{{cloud_connection}}"
      },
      "target": {
        "path": "/destinationPath"
      }
    }
  },
    "schedule": {
        "mode": "manual"
    },
    "stop_policy": {
        "on_success": 2,
        "on_failure": 2
    },
    "category": {
        "name": "Report | Shared Link Jobs"
   }
}

Powered by Zendesk