@vertigis/viewer-spec 61.13.0 → 61.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/app-config/web/PrintFormModelProperties.d.ts +20 -0
- package/messaging/registry/edit.d.ts +45 -8
- package/messaging/registry/printing.d.ts +7 -0
- package/messaging/schema/common-action.schema.json +1 -1
- package/messaging/schema/mobile-action.schema.json +1 -1
- package/messaging/schema/web-action.schema.json +1 -1
- package/messaging/schema/web-drawing-operation-definitions.md +7 -1
- package/messaging/schema/web-edit-command-definitions.md +44 -9
- package/messaging/schema/web-event.schema.json +1 -1
- package/messaging/schema/web-geocode-operation-definitions.md +1 -1
- package/messaging/schema/web-results-command-definitions.md +3 -3
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -5,7 +5,7 @@ In Web, creates graphics out of GeometryLike or CreateGraphicsArgs, with the cur
|
|
|
5
5
|
|
|
6
6
|
In Mobile, creates graphics from the given CreateGraphicsArgs or CreateGraphicsArgs[] (or some GeometryLike args). Any provided symbol parameter is used, otherwise a default symbol is used.
|
|
7
7
|
|
|
8
|
-
Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream
|
|
8
|
+
Inputs: `( CreateGraphicsResult | @arcgis.core.Graphic.Graphic | @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | @arcgis.core.geometry.Extent.Extent | @arcgis.core.geometry.Multipoint.Multipoint | @arcgis.core.geometry.Point.Point | @arcgis.core.geometry.Polyline.Polyline | @arcgis.core.geometry.Mesh.Mesh | esri.rest-api.FeatureJson.FeatureJson | @arcgis.core.rest.support.FeatureSet.FeatureSet | ( @arcgis.core.Graphic.Graphic | esri.rest-api.FeatureJson.FeatureJson )[] | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson | ( @arcgis.core.geometry.Extent.Extent | @arcgis.core.geometry.Multipoint.Multipoint | @arcgis.core.geometry.Point.Point | @arcgis.core.geometry.Polyline.Polyline | @arcgis.core.geometry.Mesh.Mesh | esri.rest-api.GeometryJson.PointJson | esri.rest-api.GeometryJson.MultipointJson | esri.rest-api.GeometryJson.PolylineJson | esri.rest-api.GeometryJson.PolygonJson | esri.rest-api.GeometryJson.ExtentJson )[] | CreateGraphicsArgs | CreateGraphicsArgs[] )`
|
|
9
9
|
|
|
10
10
|
CreateGraphicsResult properties:
|
|
11
11
|
```json
|
|
@@ -334,6 +334,9 @@ CreateGraphicsArgs properties:
|
|
|
334
334
|
{
|
|
335
335
|
"$ref": "#/definitions/@arcgis.core.Graphic.Graphic"
|
|
336
336
|
},
|
|
337
|
+
{
|
|
338
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
339
|
+
},
|
|
337
340
|
{
|
|
338
341
|
"$ref": "@vertigis.arcgis-extensions.data.FeatureSet.FeatureSet"
|
|
339
342
|
},
|
|
@@ -348,6 +351,9 @@ CreateGraphicsArgs properties:
|
|
|
348
351
|
"anyOf": [
|
|
349
352
|
{
|
|
350
353
|
"$ref": "@vertigis.arcgis-extensions.data.Feature.FeatureProperties"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"$ref": "@vertigis.arcgis-extensions.data.Feature.Feature"
|
|
351
357
|
}
|
|
352
358
|
]
|
|
353
359
|
},
|
|
@@ -303,11 +303,11 @@ DisplayAddFeatureArgs properties:
|
|
|
303
303
|
# command: edit.display-add-related-feature
|
|
304
304
|
Description: Begin an interactive feature editing session for a new related feature. The specified feature will be the original feature that the new related feature will be added to in the relationship.
|
|
305
305
|
|
|
306
|
-
**Example:** Create and edit a new record on a related table, with the option to add attachments. Make sure the 'COMMENTS' field is included in the editable attributes and make it required.
|
|
306
|
+
**Example (Web):** Create and edit a new record on a related table, with the option to add attachments. Make sure the 'COMMENTS' field is included in the editable attributes and make it required.
|
|
307
307
|
|
|
308
308
|
_Notes:_.
|
|
309
309
|
|
|
310
|
-
1. The feature used here must come from the running viewer, and cannot be an ad-hoc feature created from a JSON object. For example, you can use the output of `results.get-active-features
|
|
310
|
+
1. The feature used here must come from the running viewer, and cannot be an ad-hoc feature created from a JSON object. For example, you can use the output of `results.get-active-features` (Web only), or the feature provided in a command chain context.
|
|
311
311
|
2. `editableExpression` and `requiredExpression` both take an Arcade expression, and here the string "true" is just a simple Arcade expression that always returns true. You can also use a more complex expression, or reference one from your webmap.
|
|
312
312
|
|
|
313
313
|
```
|
|
@@ -325,7 +325,27 @@ _Notes:_.
|
|
|
325
325
|
}
|
|
326
326
|
```
|
|
327
327
|
|
|
328
|
-
|
|
328
|
+
**Example (Mobile):** Create and edit a new record on a feature.
|
|
329
|
+
|
|
330
|
+
_Notes:_.
|
|
331
|
+
|
|
332
|
+
1. The feature used here must come from the running viewer, and cannot be an
|
|
333
|
+
ad-hoc feature created from a JSON object. For example, the feature
|
|
334
|
+
provided to a Workflow from a Feature Action context (as in this
|
|
335
|
+
example), or from a query.
|
|
336
|
+
2. The relatedFeatureSource in this example is a table passed in to the
|
|
337
|
+
Workflow as an input like so: `{ "tableSource":
|
|
338
|
+
"item://table-extension/your-table-extension-id" }`
|
|
339
|
+
|
|
340
|
+
```
|
|
341
|
+
{
|
|
342
|
+
"feature": $getWorkflowInputs.inputs.context[0]
|
|
343
|
+
"relationshipId": "1",
|
|
344
|
+
"relatedFeatureSource": $getWorkflowInputs.inputs.tableSource
|
|
345
|
+
}
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
Inputs: `( DisplayAddRelatedFeatureArgs | DisplayAddRelatedFeatureMobileArgs )`
|
|
329
349
|
|
|
330
350
|
DisplayAddRelatedFeatureArgs properties:
|
|
331
351
|
```json
|
|
@@ -378,10 +398,6 @@ DisplayAddRelatedFeatureArgs properties:
|
|
|
378
398
|
"pluginSettings": {
|
|
379
399
|
"description": "Additional settings that are specific to sketching plugins, keyed by plugin ID. The only currently supported plugin is \"snapping\". A boolean value can also be assigned to completely disable, or enable with default settings."
|
|
380
400
|
},
|
|
381
|
-
"relatedFeatureSource": {
|
|
382
|
-
"description": "The feature source for the related feature to create. Mobile only.",
|
|
383
|
-
"isRequired": "true"
|
|
384
|
-
},
|
|
385
401
|
"relationshipId": {
|
|
386
402
|
"description": "The ID of the relationship to add a feature to.",
|
|
387
403
|
"type": "string",
|
|
@@ -409,11 +425,30 @@ DisplayAddRelatedFeatureArgs properties:
|
|
|
409
425
|
}
|
|
410
426
|
```
|
|
411
427
|
|
|
428
|
+
DisplayAddRelatedFeatureMobileArgs properties:
|
|
429
|
+
```json
|
|
430
|
+
{
|
|
431
|
+
"feature": {
|
|
432
|
+
"description": "The original feature to add a related feature to.",
|
|
433
|
+
"isRequired": "true"
|
|
434
|
+
},
|
|
435
|
+
"relatedFeatureSource": {
|
|
436
|
+
"description": "The feature source the related feature belongs to.",
|
|
437
|
+
"isRequired": "true"
|
|
438
|
+
},
|
|
439
|
+
"relationshipId": {
|
|
440
|
+
"description": "The ID of the relationship to add a feature to.",
|
|
441
|
+
"type": "string",
|
|
442
|
+
"isRequired": "true"
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
```
|
|
446
|
+
|
|
412
447
|
---
|
|
413
448
|
# command: edit.display-update-feature
|
|
414
449
|
Description: Begin an interactive feature editing session with an existing feature. `DisplayUpdateFeatureArgs` is not supported on Mobile.
|
|
415
450
|
|
|
416
|
-
Inputs: `( DisplayUpdateFeatureArgs )`
|
|
451
|
+
Inputs: `( @vertigis.api-docs.Features Feature | DisplayUpdateFeatureArgs )`
|
|
417
452
|
|
|
418
453
|
DisplayUpdateFeatureArgs properties:
|
|
419
454
|
```json
|
|
@@ -488,7 +523,7 @@ DisplayUpdateFeatureArgs properties:
|
|
|
488
523
|
# command: edit.update-feature
|
|
489
524
|
Description: Updates a layer feature or features. Edits to the geometry and attributes of the supplied features will be committed to their respective feature sources. `Features` and `EditCommandArgs` are not supported on Mobile.
|
|
490
525
|
|
|
491
|
-
Inputs: `( @vertigis.api-docs.Features FeatureSet|FeatureList|FeatureStream | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | EditCommandArgs )`
|
|
526
|
+
Inputs: `( @vertigis.api-docs.Features Feature|FeatureSet|FeatureList|FeatureStream|Feature[] | ( @vertigis.arcgis-extensions.data.Feature.FeatureProperties )[] | Results | EditCommandArgs )`
|
|
492
527
|
|
|
493
528
|
Results properties:
|
|
494
529
|
```json
|