Skip To Content

[workspaceID]/updatePortalGroupLink: Update Portal Group Link

  • URL:https://[root]/portals/[portalID]/collaborations/[collaborationID]/workspaces/[workspaceID]/updatePortalGroupLink(POST only)
  • Required Capability:Administrator (guest)
  • Version Introduced:10.5

Example usage

Below is a sample ArcGIS Online POST request for the updatePortalGroupLink operation:


POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/updatePortalGroupLink HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

portalGroupId=37e2f04b090d4623946aa7d59a8cb4e9&enableRealtimeSync=true&copyFeatureServiceData=false&copyByRefIfCopyFail=true&enableFeatureServiceBidirectionalSync=false&f=pjson

Below is a sample ArcGIS Enterprise POST request for the updatePortalGroupLink operation:


POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/collaborations/3e9d1694351a4b5badef66c7599fced5/workspaces/c3c831f1274a4f228ecd87f1953c6f21/updatePortalGroupLink HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

portalGroupId=37e2f04b090d4623946aa7d59a8cb4e9&enableRealtimeSync=true&copyFeatureServiceData=false&copyByRefIfCopyFail=true&enableFeatureServiceBidirectionalSync=false&f=pjson

Description

The updatePortalGroupLink operation updates the group linked with a workspace for a participant in a distributed collaboration. Content shared to the portal group is shared to other participants in the collaboration.

Request parameters

ParameterDetails
portalGroupId

The ID of the portal group linked with the workspace.

enableRealtimeSync

Determines whether the content shared with the group is shared to other collaboration participants in real time, updating whenever changes are made, or whether the content is shared based on a schedule set by the collaboration host.

Values: true | false

copyFeatureServiceData

Boolean value used when Feature Service and Hosted Feature Layer View data is shared in a group that is linked to a distributed collaboration workspace. When set to true, Feature Service and Hosted Feature Layer View data will be copied to collaboration participants.

Note:

Support for Feature Services was introduced with ArcGIS Enterprise 10.5.1. Support for Hosted Feature Layer Views was introduced with ArcGIS Enterprise 10.7.

Values: true | false

enableFeatureServiceBidirectionalSync

Introduced with ArcGIS Online's March 2021 release & ArcGIS Enterprise 10.9. This parameter, when true, allows for feature services and hosted feature layers and view data that are shared to a group (with the data copied to collaboration participants) to support two-way edits with eligible participants. The default value for this parameter is false. This parameter can be set when copyFeatureServiceData is set to true.

Values: true | false

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example


{
  "success": true
}