You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Formatted Values and Lookup Properties](#formatted-values-and-lookup-properties)
53
58
*[Using Alternate Keys](#using-alternate-keys)
54
59
*[Making requests using Entity Logical Names](#making-requests-using-entity-logical-names)
@@ -253,7 +258,7 @@ As well as multi-level expands are not implemented yet. This situation may be ch
253
258
For complex requests to Web API with multi-level expands use `executeFetchXml` function.
254
259
255
260
Starting from version 1.2.8, all requests to Web API that have long URLs (more than 2000 characters) are automatically converted to a Batch Request.
256
-
This feature is very convenient if you are trying to make a call using big Fetch XMLs. No special parameters needed to do a convertation.
261
+
This feature is very convenient when you make a call with big Fetch XMLs. No special parameters needed to do a convertation.
257
262
258
263
### Create a record
259
264
@@ -1202,6 +1207,158 @@ You can also use common request functions to create, retrieve and update entity
1202
1207
5. During entity or attribute metadata update you can use `mergeLabels` property to set **MSCRM.MergeLabels** attribute. By default `mergeLabels: false`.
1203
1208
6. To send entity or attribute definition use `entity` property.
//relationshipId is a PrimaryKey (MetadataId) for a newly created relationship
1294
+
}).catch(function (error) {
1295
+
//catch errors
1296
+
});
1297
+
```
1298
+
### Update Relationship
1299
+
1300
+
**Important!** Make sure you set **`MetadataId`** property when you update the metadata, DynamicsWebApi use it as a primary key for the EntityDefinition record.
1301
+
1302
+
```js
1303
+
var metadataId ='10cb680e-b6a7-e811-816a-480fcfe97e21';
* @param {Function} successCallback - The function that will be passed through and be called by a successful response.
1362
+
* @param {Function} errorCallback - The function that will be passed through and be called by a failed response.
1363
+
* @param {boolean} [mergeLabels] - Sets MSCRM.MergeLabels header that controls whether to overwrite the existing labels or merge your new label with any existing language labels. Default value is false.
0 commit comments