import { addItemRelationship } from "@esri/arcgis-rest-portal";//addItemRelationship({ originItemId: '3ef', destinationItemId: 'ae7', relationshipType: 'Service2Layer', authentication}) .then(response) Copy
import { addItemRelationship } from "@esri/arcgis-rest-portal";//addItemRelationship({ originItemId: '3ef', destinationItemId: 'ae7', relationshipType: 'Service2Layer', authentication}) .then(response)
Add a relationship between two items. See the REST Documentation for more information.
Options for the request
A Promise to add item resources.
Add a relationship between two items. See the REST Documentation for more information.