@arcgis/coding-components 4.28.0-beta.10 → 4.28.0-beta.12
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/dist/arcgis-coding-components/arcgis-coding-components.esm.js +1 -1
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ar.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bg.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.bs.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ca.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.cs.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.da.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.de.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.el.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.en.json +51 -52
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.es.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.et.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fi.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.fr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.he.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.hu.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.id.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.it.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ja.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ko.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lt.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.lv.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nb.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.nl.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pl.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-BR.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.pt-PT.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ro.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.ru.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sk.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sl.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.sv.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.th.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.tr.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.uk.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.vi.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-CN.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-HK.json +9 -10
- package/dist/arcgis-coding-components/assets/arcade-language/api/arcade-api.t9n.zh-TW.json +9 -10
- package/dist/arcgis-coding-components/assets/code-editor/arcade.worker.js +19 -19
- package/dist/arcgis-coding-components/index.esm.js +1 -1
- package/dist/arcgis-coding-components/{p-acbdd63d.entry.js → p-0058a559.entry.js} +1 -1
- package/dist/arcgis-coding-components/{p-d4923085.js → p-0a1c12bc.js} +1 -1
- package/dist/arcgis-coding-components/p-23a9d01f.js +62 -0
- package/dist/arcgis-coding-components/{p-c4665951.js → p-833d7d5d.js} +1 -1
- package/dist/arcgis-coding-components/{p-8ffe58f2.js → p-86c7337f.js} +2 -2
- package/dist/arcgis-coding-components/{p-358ed87a.js → p-b98f37e4.js} +1 -1
- package/dist/arcgis-coding-components/{p-c1ebad13.js → p-d0a7fde3.js} +1 -1
- package/dist/arcgis-coding-components/{p-30774b8f.js → p-d8a77530.js} +2 -2
- package/dist/arcgis-coding-components/p-e255a13c.js +1 -0
- package/dist/arcgis-coding-components/{p-cff113f1.js → p-fdd3f4de.js} +1 -1
- package/dist/cjs/{arcade-defaults-fe6b2490.js → arcade-defaults-4a9774c6.js} +267 -581
- package/dist/cjs/{arcade-mode-684d2b36.js → arcade-mode-c040c92c.js} +3 -5
- package/dist/cjs/arcgis-arcade-api_6.cjs.entry.js +34 -34
- package/dist/cjs/{cssMode-67c943a9.js → cssMode-2b1f78c9.js} +1 -1
- package/dist/cjs/{html-98e131a9.js → html-0c87581b.js} +1 -1
- package/dist/cjs/{htmlMode-900fc9a2.js → htmlMode-007d54b7.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{javascript-5baa3db6.js → javascript-8cef2a6b.js} +2 -2
- package/dist/cjs/{jsonMode-bd64dcac.js → jsonMode-d7517de7.js} +1 -1
- package/dist/cjs/{tsMode-d958fede.js → tsMode-d3684fd5.js} +1 -1
- package/dist/cjs/{typescript-5ebad4f3.js → typescript-99122582.js} +1 -1
- package/dist/components/arcade-api.js +6 -6
- package/dist/components/arcade-contribution.js +2 -2
- package/dist/components/arcade-defaults.js +9 -9
- package/dist/components/arcade-mode.js +3 -5
- package/dist/components/arcade-results.js +12 -12
- package/dist/components/arcade-suggestions.js +4 -4
- package/dist/components/arcade-variables.js +5 -5
- package/dist/components/arcgis-arcade-editor.js +15 -15
- package/dist/components/code-editor.js +6 -6
- package/dist/components/index2.js +2 -316
- package/dist/components/utilities.js +2 -2
- package/dist/esm/{arcade-defaults-1023126c.js → arcade-defaults-93ecbfa3.js} +255 -569
- package/dist/esm/arcade-mode-48ac843d.js +594 -0
- package/dist/esm/arcgis-arcade-api_6.entry.js +34 -34
- package/dist/esm/{cssMode-eff7de28.js → cssMode-9d4a5968.js} +1 -1
- package/dist/esm/{html-9661ece4.js → html-bbd01073.js} +1 -1
- package/dist/esm/{htmlMode-482b86a1.js → htmlMode-16f49bff.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{javascript-90f59381.js → javascript-d9d37aa3.js} +2 -2
- package/dist/esm/{jsonMode-334ce784.js → jsonMode-5f32debe.js} +1 -1
- package/dist/esm/{tsMode-28b98722.js → tsMode-dc4e785a.js} +1 -1
- package/dist/esm/{typescript-aec431cc.js → typescript-52f0d258.js} +1 -1
- package/package.json +13 -13
- package/dist/arcgis-coding-components/p-5d8443b7.js +0 -62
- package/dist/arcgis-coding-components/p-e464f3a9.js +0 -1
- package/dist/esm/arcade-mode-b060035b.js +0 -596
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"kind": 3,
|
|
167
167
|
"documentation": {
|
|
168
168
|
"kind": "markdown",
|
|
169
|
-
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametre**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
169
|
+
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametre**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Návratová hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
"parametersInfo": {
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"kind": 3,
|
|
192
192
|
"documentation": {
|
|
193
193
|
"kind": "markdown",
|
|
194
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametre**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
194
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametre**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Návratová hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"parametersInfo": {
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"kind": 3,
|
|
265
265
|
"documentation": {
|
|
266
266
|
"kind": "markdown",
|
|
267
|
-
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametre**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
267
|
+
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametre**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Návratová hodnota**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
"parametersInfo": {
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
"kind": 3,
|
|
392
392
|
"documentation": {
|
|
393
393
|
"kind": "markdown",
|
|
394
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametre**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
394
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametre**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Návratová hodnota**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
"parametersInfo": {
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
"bundle": "core",
|
|
1062
1062
|
"sinceVersion": "1.24",
|
|
1063
1063
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1064
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1064
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
1065
1065
|
"examples": "\n##### Príklad\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
1066
1066
|
"completion": {
|
|
1067
1067
|
"label": "TimeZone",
|
|
@@ -1072,7 +1072,7 @@
|
|
|
1072
1072
|
"kind": 3,
|
|
1073
1073
|
"documentation": {
|
|
1074
1074
|
"kind": "markdown",
|
|
1075
|
-
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1075
|
+
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Návratová hodnota**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1076
1076
|
}
|
|
1077
1077
|
},
|
|
1078
1078
|
"parametersInfo": {
|
|
@@ -1720,7 +1720,7 @@
|
|
|
1720
1720
|
"bundle": "data-access",
|
|
1721
1721
|
"sinceVersion": "1.24",
|
|
1722
1722
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
1723
|
-
"description": "Returns the related records for a given feature
|
|
1723
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
1724
1724
|
"examples": "\n##### Príklad\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
1725
1725
|
"completion": {
|
|
1726
1726
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -1731,7 +1731,7 @@
|
|
|
1731
1731
|
"kind": 3,
|
|
1732
1732
|
"documentation": {
|
|
1733
1733
|
"kind": "markdown",
|
|
1734
|
-
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
1734
|
+
"value": "**[Od verzie 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**Parametre**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Návratová hodnota**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
1735
1735
|
}
|
|
1736
1736
|
},
|
|
1737
1737
|
"parametersInfo": {
|
|
@@ -2671,7 +2671,6 @@
|
|
|
2671
2671
|
{
|
|
2672
2672
|
"type": "function",
|
|
2673
2673
|
"name": "front",
|
|
2674
|
-
"disableDocumentation": true,
|
|
2675
2674
|
"bundle": "core",
|
|
2676
2675
|
"sinceVersion": "1.12",
|
|
2677
2676
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -5259,7 +5258,7 @@
|
|
|
5259
5258
|
"kind": 3,
|
|
5260
5259
|
"documentation": {
|
|
5261
5260
|
"kind": "markdown",
|
|
5262
|
-
"value": "**[Od verzie 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPoskytuje informácie o kontexte a prostredí, v ktorom sa výraz Arcade vykonáva.\n\n**Návratová hodnota**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVracia slovník obsahujúci nižšie uvedené vlastnosti. Vrátené vlastnosti sa môžu líšiť v závislosti od miesta spustenia výrazu Arcade, preto sa odporúča použiť funkciu [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) na zabezpečenie existencie požadovanej vlastnosti prostredia.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzia Arcade. Viac informácií o vytváraní verzií nájdete v [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Engine vykonávajúci výraz Arcade. Možné hodnoty: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzia enginu vykonávajúca výraz Arcade. Viac informácií o vytváraní verzií nájdete v [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikácia, v ktorej sa spustí výraz Arcade. Nastavenie tejto hodnoty je na vývojároch aplikácií. Preto môže byť táto vlastnosť prázdna v závislosti od aplikácie, v ktorej sa výraz vykonáva.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Lokálne prostredie klienta alebo systému.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Priestorový referenčný systém kontextu Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Známe ID priestorového odkazu."
|
|
5261
|
+
"value": "**[Od verzie 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPoskytuje informácie o kontexte a prostredí, v ktorom sa výraz Arcade vykonáva.\n\n**Návratová hodnota**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVracia slovník obsahujúci nižšie uvedené vlastnosti. Vrátené vlastnosti sa môžu líšiť v závislosti od miesta spustenia výrazu Arcade, preto sa odporúča použiť funkciu [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) na zabezpečenie existencie požadovanej vlastnosti prostredia.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzia Arcade. Viac informácií o vytváraní verzií nájdete v [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Engine vykonávajúci výraz Arcade. Možné hodnoty: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzia enginu vykonávajúca výraz Arcade. Viac informácií o vytváraní verzií nájdete v [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikácia, v ktorej sa spustí výraz Arcade. Nastavenie tejto hodnoty je na vývojároch aplikácií. Preto môže byť táto vlastnosť prázdna v závislosti od aplikácie, v ktorej sa výraz vykonáva.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Lokálne prostredie klienta alebo systému.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Priestorový referenčný systém kontextu Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Známe ID priestorového odkazu.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
5263
5262
|
}
|
|
5264
5263
|
},
|
|
5265
5264
|
"parametersInfo": {
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
"kind": 3,
|
|
685
685
|
"documentation": {
|
|
686
686
|
"kind": "markdown",
|
|
687
|
-
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
687
|
+
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Vrnjena vrednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
688
688
|
}
|
|
689
689
|
},
|
|
690
690
|
"parametersInfo": {
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
"kind": 3,
|
|
710
710
|
"documentation": {
|
|
711
711
|
"kind": "markdown",
|
|
712
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
712
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Vrnjena vrednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
713
713
|
}
|
|
714
714
|
},
|
|
715
715
|
"parametersInfo": {
|
|
@@ -782,7 +782,7 @@
|
|
|
782
782
|
"kind": 3,
|
|
783
783
|
"documentation": {
|
|
784
784
|
"kind": "markdown",
|
|
785
|
-
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametri**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
785
|
+
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametri**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Vrnjena vrednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
786
786
|
}
|
|
787
787
|
},
|
|
788
788
|
"parametersInfo": {
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
"kind": 3,
|
|
910
910
|
"documentation": {
|
|
911
911
|
"kind": "markdown",
|
|
912
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
912
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Vrnjena vrednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
913
913
|
}
|
|
914
914
|
},
|
|
915
915
|
"parametersInfo": {
|
|
@@ -1579,7 +1579,7 @@
|
|
|
1579
1579
|
"bundle": "core",
|
|
1580
1580
|
"sinceVersion": "1.24",
|
|
1581
1581
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1582
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1582
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
1583
1583
|
"examples": "\n##### Primer\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
1584
1584
|
"completion": {
|
|
1585
1585
|
"label": "TimeZone",
|
|
@@ -1590,7 +1590,7 @@
|
|
|
1590
1590
|
"kind": 3,
|
|
1591
1591
|
"documentation": {
|
|
1592
1592
|
"kind": "markdown",
|
|
1593
|
-
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1593
|
+
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Vrnjena vrednost**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1594
1594
|
}
|
|
1595
1595
|
},
|
|
1596
1596
|
"parametersInfo": {
|
|
@@ -2442,7 +2442,6 @@
|
|
|
2442
2442
|
{
|
|
2443
2443
|
"type": "function",
|
|
2444
2444
|
"name": "front",
|
|
2445
|
-
"disableDocumentation": true,
|
|
2446
2445
|
"bundle": "core",
|
|
2447
2446
|
"sinceVersion": "1.12",
|
|
2448
2447
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -2967,7 +2966,7 @@
|
|
|
2967
2966
|
"kind": 3,
|
|
2968
2967
|
"documentation": {
|
|
2969
2968
|
"kind": "markdown",
|
|
2970
|
-
"value": "**[Od različice 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNudi informacije o vsebini in okolju, v katerem se izraz Arcade izvrši.\n\n**Vrnjena vrednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVrne slovar, ki vsebuje spodnje lastnosti. Vrnjene lastnosti se lahko razlikujejo glede na to, kje izvršujete izraz Arcade, zato je priporočljivo, da uporabite funkcijo [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue), da zagotovite, da želeno okolje ustrezno obstaja.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Različica Arcade. Glejte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za več informacij o različicah.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Pogon, ki izvršuje izraz Arcade. Možne vrednosti: 'web', 'native', 'jvm'\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Različica pogona, ki izvršuje izraz Arcade. Glejte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za več informacij o različicah.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikacija, v kateri je zagnan izraz Arcade. To vrednost lahko nastavijo razvijalci aplikacije. Zato je ta lastnost lahko prazna, odvisno od aplikacije, v kateri se izraz izvrši.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Območne nastavitve odjemalca ali sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Koordinatni sistem vsebine Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Dobro znana ID koordinatnega sistema."
|
|
2969
|
+
"value": "**[Od različice 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nNudi informacije o vsebini in okolju, v katerem se izraz Arcade izvrši.\n\n**Vrnjena vrednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVrne slovar, ki vsebuje spodnje lastnosti. Vrnjene lastnosti se lahko razlikujejo glede na to, kje izvršujete izraz Arcade, zato je priporočljivo, da uporabite funkcijo [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue), da zagotovite, da želeno okolje ustrezno obstaja.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Različica Arcade. Glejte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za več informacij o različicah.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Pogon, ki izvršuje izraz Arcade. Možne vrednosti: 'web', 'native', 'jvm'\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Različica pogona, ki izvršuje izraz Arcade. Glejte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za več informacij o različicah.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikacija, v kateri je zagnan izraz Arcade. To vrednost lahko nastavijo razvijalci aplikacije. Zato je ta lastnost lahko prazna, odvisno od aplikacije, v kateri se izraz izvrši.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Območne nastavitve odjemalca ali sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Koordinatni sistem vsebine Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Dobro znana ID koordinatnega sistema.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
2971
2970
|
}
|
|
2972
2971
|
},
|
|
2973
2972
|
"parametersInfo": {
|
|
@@ -3412,7 +3411,7 @@
|
|
|
3412
3411
|
"bundle": "data-access",
|
|
3413
3412
|
"sinceVersion": "1.24",
|
|
3414
3413
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
3415
|
-
"description": "Returns the related records for a given feature
|
|
3414
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
3416
3415
|
"examples": "\n##### Primer\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
3417
3416
|
"completion": {
|
|
3418
3417
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -3423,7 +3422,7 @@
|
|
|
3423
3422
|
"kind": 3,
|
|
3424
3423
|
"documentation": {
|
|
3425
3424
|
"kind": "markdown",
|
|
3426
|
-
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
3425
|
+
"value": "**[Od različice 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**Parametri**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Vrnjena vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
3427
3426
|
}
|
|
3428
3427
|
},
|
|
3429
3428
|
"parametersInfo": {
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
"bundle": "data-access",
|
|
581
581
|
"sinceVersion": "1.24",
|
|
582
582
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
583
|
-
"description": "Returns the related records for a given feature
|
|
583
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
584
584
|
"examples": "\n##### Primer\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
585
585
|
"completion": {
|
|
586
586
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"kind": 3,
|
|
592
592
|
"documentation": {
|
|
593
593
|
"kind": "markdown",
|
|
594
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
594
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**Parametri**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Povratna vrednost**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
595
595
|
}
|
|
596
596
|
},
|
|
597
597
|
"parametersInfo": {
|
|
@@ -1268,7 +1268,7 @@
|
|
|
1268
1268
|
"kind": 3,
|
|
1269
1269
|
"documentation": {
|
|
1270
1270
|
"kind": "markdown",
|
|
1271
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
1271
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametri**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
1272
1272
|
}
|
|
1273
1273
|
},
|
|
1274
1274
|
"parametersInfo": {
|
|
@@ -1293,7 +1293,7 @@
|
|
|
1293
1293
|
"kind": 3,
|
|
1294
1294
|
"documentation": {
|
|
1295
1295
|
"kind": "markdown",
|
|
1296
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
1296
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametri**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
1297
1297
|
}
|
|
1298
1298
|
},
|
|
1299
1299
|
"parametersInfo": {
|
|
@@ -1366,7 +1366,7 @@
|
|
|
1366
1366
|
"kind": 3,
|
|
1367
1367
|
"documentation": {
|
|
1368
1368
|
"kind": "markdown",
|
|
1369
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametri**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
1369
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametri**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrednost**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
1370
1370
|
}
|
|
1371
1371
|
},
|
|
1372
1372
|
"parametersInfo": {
|
|
@@ -1493,7 +1493,7 @@
|
|
|
1493
1493
|
"kind": 3,
|
|
1494
1494
|
"documentation": {
|
|
1495
1495
|
"kind": "markdown",
|
|
1496
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
1496
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametri**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Povratna vrednost**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
1497
1497
|
}
|
|
1498
1498
|
},
|
|
1499
1499
|
"parametersInfo": {
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
"bundle": "core",
|
|
2164
2164
|
"sinceVersion": "1.24",
|
|
2165
2165
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
2166
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
2166
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
2167
2167
|
"examples": "\n##### Primer\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
2168
2168
|
"completion": {
|
|
2169
2169
|
"label": "TimeZone",
|
|
@@ -2174,7 +2174,7 @@
|
|
|
2174
2174
|
"kind": 3,
|
|
2175
2175
|
"documentation": {
|
|
2176
2176
|
"kind": "markdown",
|
|
2177
|
-
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
2177
|
+
"value": "**[Od verzije 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parametar**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Povratna vrednost**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
2178
2178
|
}
|
|
2179
2179
|
},
|
|
2180
2180
|
"parametersInfo": {
|
|
@@ -2995,7 +2995,6 @@
|
|
|
2995
2995
|
{
|
|
2996
2996
|
"type": "function",
|
|
2997
2997
|
"name": "front",
|
|
2998
|
-
"disableDocumentation": true,
|
|
2999
2998
|
"bundle": "core",
|
|
3000
2999
|
"sinceVersion": "1.12",
|
|
3001
3000
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -3412,7 +3411,7 @@
|
|
|
3412
3411
|
"kind": 3,
|
|
3413
3412
|
"documentation": {
|
|
3414
3413
|
"kind": "markdown",
|
|
3415
|
-
"value": "**[Od verzije 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPruža informacije o kontekstu i okruženju u kojem se izvršava Arcade izraz.\n\n**Povratna vrednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVraća rečnik koji sadrži svojstva ispod. Vraćena svojstva mogu se razlikovati u zavisnosti od toga gde koristite izraz Arcade, pa se preporučuje da koristite [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) function to ensure the desired environment property exists.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade verzija. Pogledajte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za više informacija o verzijama.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Endžin koji izvršava izraz Arcade. Moguće vrednosti: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzija endžina koji izvršava izraz Arcade. Pogledajte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za više informacija o verzijama.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikacija u kojoj se pokreće izraz Arcade. Na programerima aplikacija je da postave ovu vrednost. Stoga, ovo svojstvo može biti prazno u zavisnosti od aplikacije u kojoj se izraz izvršava.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Lokalitet klijenta ili sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Prostorna referenca konteksta Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Dobro poznati ID prostorne reference."
|
|
3414
|
+
"value": "**[Od verzije 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nPruža informacije o kontekstu i okruženju u kojem se izvršava Arcade izraz.\n\n**Povratna vrednost**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nVraća rečnik koji sadrži svojstva ispod. Vraćena svojstva mogu se razlikovati u zavisnosti od toga gde koristite izraz Arcade, pa se preporučuje da koristite [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) function to ensure the desired environment property exists.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade verzija. Pogledajte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za više informacija o verzijama.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Endžin koji izvršava izraz Arcade. Moguće vrednosti: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Verzija endžina koji izvršava izraz Arcade. Pogledajte [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) za više informacija o verzijama.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Aplikacija u kojoj se pokreće izraz Arcade. Na programerima aplikacija je da postave ovu vrednost. Stoga, ovo svojstvo može biti prazno u zavisnosti od aplikacije u kojoj se izraz izvršava.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Lokalitet klijenta ili sistema.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Prostorna referenca konteksta Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Dobro poznati ID prostorne reference.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
3416
3415
|
}
|
|
3417
3416
|
},
|
|
3418
3417
|
"parametersInfo": {
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
"kind": 3,
|
|
167
167
|
"documentation": {
|
|
168
168
|
"kind": "markdown",
|
|
169
|
-
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametrar**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value.
|
|
169
|
+
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nChanges the time zone used to display the given Date value. If the input `dateValue` has an `unknown` time zone, then the output Date value will display with the same date and time as the input `dateValue`, but will be assigned the `newTimeZone`.\n\n**Parametrar**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value containing date and time information.\n- **newTimeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The new time zone that will be used to display the given Date value. The time zone must be one of the following:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Returvärde**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
170
170
|
}
|
|
171
171
|
},
|
|
172
172
|
"parametersInfo": {
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"kind": 3,
|
|
192
192
|
"documentation": {
|
|
193
193
|
"kind": "markdown",
|
|
194
|
-
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametrar**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context.
|
|
194
|
+
"value": "Creates a Date object from a set of parameters. By default, Dates are created in the time zone of the profile's execution context.\n\n**Parametrar**\n\n- **year**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - A number representing a year.\n- **month**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The month (0-11) where `0` is January and `11` is December.\n- **day**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The day of the month (1-31).\n- **hour** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The hour of the day (0-23).\n- **minute** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The minute of the hour (0-59).\n- **second** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The second of the minute (0-59).\n- **millisecond** (_Optional_): [Number](https://developers.arcgis.com/arcade/guide/types/#number) - The millisecond of the second (0-999).\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since 1.24_ The time zone of the Date. If not specified, the Date will be created in the default time zone of the profile's execution context. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Returvärde**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"parametersInfo": {
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
"kind": 3,
|
|
265
265
|
"documentation": {
|
|
266
266
|
"kind": "markdown",
|
|
267
|
-
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametrar**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone.
|
|
267
|
+
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCreates a Date from a DateOnly value, with an optional Time and time zone value.\n\n**Parametrar**\n\n- **dateOnlyValue**: [DateOnly](https://developers.arcgis.com/arcade/guide/types/#dateonly) - The DateOnly value from which to create a Date value.\n- **timeValue** (_Optional_): [Time](https://developers.arcgis.com/arcade/guide/types/#time) - The Time value for the Date. If not specified, the Date will be created with a time of `00:00:00`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The time zone of the Date. If not specified, the Date will be created in the `unknown` time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Returvärde**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
270
|
"parametersInfo": {
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
"kind": 3,
|
|
392
392
|
"documentation": {
|
|
393
393
|
"kind": "markdown",
|
|
394
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametrar**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone.
|
|
394
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametrar**\n\n- **date1**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value from which to subtract a second Date.\n- **date2**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - The Date value to subtract from the first given Date.\n- **units** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The units in which to return the difference of the two given Dates. The supported unit types include `milliseconds`, `seconds`, `minutes`, `hours`, `days`, `months`, `years`. The default value is `milliseconds`.\n- **timeZone** (_Optional_): [Text](https://developers.arcgis.com/arcade/guide/types/#text) - _Since version 1.24_ The time zone to assign to input Dates with an unknown time zone. If not specified, then the following will happen: (1) If one input has a defined time zone and the other is unknown, then the value with the unknown time zone will assume a time zone that matches the other input. (2) If both inputs are unknown time zones, then the DateDiff will be calculated on both Dates as if they were defined in the same time zone. Possible values:\n\n - text representing an entry in the IANA time zone database (e.g. `America/New_York`)\n\n - text representing the hours and minutes that should be added to UTC (e.g. `+07:00` or `-03:00`)\n\n - `system` - time zone will be set to the device or system's local time zone\n\n - `default` - the time zone of the profile's execution context\n\n - `UTC` - Universal Time Coordinated\n\n - `unknown` - removes time zone information for the given value and displays the date and time as defined in the expression.\n\n**Returvärde**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
"parametersInfo": {
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
"bundle": "core",
|
|
1062
1062
|
"sinceVersion": "1.24",
|
|
1063
1063
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
1064
|
-
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1064
|
+
"description": "Returns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.",
|
|
1065
1065
|
"examples": "\n##### Exempel\n\nReturns the time zone of a Date\n\n```arcade\nvar natlPizzaDay = Date(2024, 1, 9, 0, 0, 0, 0, \"America/Los_Angeles\");\nTimeZone(natlPizzaDay);\n// Returns 'America/Los_Angeles'\n```\n\n",
|
|
1066
1066
|
"completion": {
|
|
1067
1067
|
"label": "TimeZone",
|
|
@@ -1072,7 +1072,7 @@
|
|
|
1072
1072
|
"kind": 3,
|
|
1073
1073
|
"documentation": {
|
|
1074
1074
|
"kind": "markdown",
|
|
1075
|
-
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n- text representing an entry in the
|
|
1075
|
+
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the time zone of the given Date. The time zone will be one of the following:\n\n- text representing an entry in the IANA time zone database (i.e. `America/New_York`)\n\n- text representing the hours and minutes that should be added to UTC (i.e. `+07:00` or `-03:00`)\n\n- `system` - time zone will be based on the client or system's local time zone\n\n- `UTC`\n\n- `Unknown` - time zone information is not defined.\n\n**Parameter**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Returvärde**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
1076
1076
|
}
|
|
1077
1077
|
},
|
|
1078
1078
|
"parametersInfo": {
|
|
@@ -1720,7 +1720,7 @@
|
|
|
1720
1720
|
"bundle": "data-access",
|
|
1721
1721
|
"sinceVersion": "1.24",
|
|
1722
1722
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
1723
|
-
"description": "Returns the related records for a given feature
|
|
1723
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
1724
1724
|
"examples": "\n##### Exempel\n\nReturns the count of pole inspection related records\n\n```arcade\n// A calculation rule that returns the count of a pole inspection records.\n// When a pole feature is updated the calculation rule reads all its related inspections records from the comments field and returns the total inspection count for that feature.\nvar fsinspected = FeatureSetByRelationshipClass($feature, “pole_inspection”, [“comments”], false);\nreturn Count(fsinspected);\n```\n\n",
|
|
1725
1725
|
"completion": {
|
|
1726
1726
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -1731,7 +1731,7 @@
|
|
|
1731
1731
|
"kind": 3,
|
|
1732
1732
|
"documentation": {
|
|
1733
1733
|
"kind": "markdown",
|
|
1734
|
-
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
1734
|
+
"value": "**[Sedan version 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature based on the name of a given relationship class.\n\n**Parametrar**\n\n- **inputFeature**: [Feature](https://developers.arcgis.com/arcade/guide/types/#feature) - The feature from which to fetch related records.\n- **relationshipClass**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - The name of the relationship class as defined in the data source.\n- **fieldNames** (_Optional_): [Array](https://developers.arcgis.com/arcade/guide/types/#array)<[Text](https://developers.arcgis.com/arcade/guide/types/#text)> - The fields to return in the FeatureSet. This list includes fields from both the relationship table and the input Feature.\n- **includeGeometry** (_Optional_): [Boolean](https://developers.arcgis.com/arcade/guide/types/#boolean) - Indicates whether to return the geometry for the resulting features.\n\n**Returvärde**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
1735
1735
|
}
|
|
1736
1736
|
},
|
|
1737
1737
|
"parametersInfo": {
|
|
@@ -2432,7 +2432,7 @@
|
|
|
2432
2432
|
"kind": 3,
|
|
2433
2433
|
"documentation": {
|
|
2434
2434
|
"kind": "markdown",
|
|
2435
|
-
"value": "**[Sedan version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGer information om kontexten och miljön där Arcade-uttrycket utförs.\n\n**Returvärde**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnerar en ordlista som innehåller egenskaperna nedan. Egenskaperna som returneras kan variera baserat på var du kör Arcade-uttrycket, så vi rekommenderar att du använder funktionen [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) för att säkerställa att den önskade miljöegenskapen finns.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade-versionen. Se [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) för mer information om versionshantering.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Motorn som kör Arcade-uttrycket. Möjliga värden: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versionen av motorn som kör Arcade-uttrycket. Se [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) för mer information om versionshantering.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Den applikation som Arcade-uttrycket körs i. Det är applikationsutvecklarnas uppgift att ange det här värdet. Därför kan den här egenskapen vara tom beroende på appen som uttrycket körs i.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Språkversionen för klienten eller systemet.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Den spatiala referensen för Arcade-kontexten.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Det välkända ID:t för den spatiala referensen."
|
|
2435
|
+
"value": "**[Sedan version 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nGer information om kontexten och miljön där Arcade-uttrycket utförs.\n\n**Returvärde**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nReturnerar en ordlista som innehåller egenskaperna nedan. Egenskaperna som returneras kan variera baserat på var du kör Arcade-uttrycket, så vi rekommenderar att du använder funktionen [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) för att säkerställa att den önskade miljöegenskapen finns.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade-versionen. Se [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) för mer information om versionshantering.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Motorn som kör Arcade-uttrycket. Möjliga värden: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Versionen av motorn som kör Arcade-uttrycket. Se [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) för mer information om versionshantering.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Den applikation som Arcade-uttrycket körs i. Det är applikationsutvecklarnas uppgift att ange det här värdet. Därför kan den här egenskapen vara tom beroende på appen som uttrycket körs i.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Språkversionen för klienten eller systemet.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Den spatiala referensen för Arcade-kontexten.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Det välkända ID:t för den spatiala referensen.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
2436
2436
|
}
|
|
2437
2437
|
},
|
|
2438
2438
|
"parametersInfo": {
|
|
@@ -6918,7 +6918,6 @@
|
|
|
6918
6918
|
{
|
|
6919
6919
|
"type": "function",
|
|
6920
6920
|
"name": "front",
|
|
6921
|
-
"disableDocumentation": true,
|
|
6922
6921
|
"bundle": "core",
|
|
6923
6922
|
"sinceVersion": "1.12",
|
|
6924
6923
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|