@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
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
"bundle": "data-access",
|
|
612
612
|
"sinceVersion": "1.24",
|
|
613
613
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
614
|
-
"description": "Returns the related records for a given feature
|
|
614
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
615
615
|
"examples": "\n##### ตัวอย่าง\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",
|
|
616
616
|
"completion": {
|
|
617
617
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -622,7 +622,7 @@
|
|
|
622
622
|
"kind": 3,
|
|
623
623
|
"documentation": {
|
|
624
624
|
"kind": "markdown",
|
|
625
|
-
"value": "**[ตั้งแต่เวอร์ชัน 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
625
|
+
"value": "**[ตั้งแต่เวอร์ชัน 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**พารามิเตอร์**\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**ส่งคืนค่า**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
626
626
|
}
|
|
627
627
|
},
|
|
628
628
|
"parametersInfo": {
|
|
@@ -1431,7 +1431,7 @@
|
|
|
1431
1431
|
"kind": 3,
|
|
1432
1432
|
"documentation": {
|
|
1433
1433
|
"kind": "markdown",
|
|
1434
|
-
"value": "**[ตั้งแต่เวอร์ชัน 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nให้ข้อมูลเกี่ยวกับบริบทและสภาพแวดล้อมที่จะดำเนินการนิพจน์ Arcade\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติด้านล่าง คุณสมบัติที่ส่งคืนอาจแตกต่างกัน โดยขึ้นอยู่กับว่าคุณรันนิพจน์ Arcade จากที่ใด จึงแนะนำให้ใช้ฟังก์ชัน [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) เพื่อให้แน่ใจว่าคุณสมบัติสภาพแวดล้อมที่ต้องการนั้นมีอยู่\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - เวอร์ชันของ Arcade ดูที่ [เมทริกซ์เวอร์ชัน](https://developers.arcgis.com/arcade/guide/version-matrix/) สำหรับข้อมูลเพิ่มเติมเกี่ยวกับการกำหนดเวอร์ชัน\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - เอนจินที่ดำเนินการนิพจน์ Arcade ค่าที่เป็นไปได้: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - เวอร์ชันของเอนจินที่ดำเนินการนิพจน์ Arcade ดูที่ [เมทริกซ์เวอร์ชัน](https://developers.arcgis.com/arcade/guide/version-matrix/) สำหรับข้อมูลเพิ่มเติมเกี่ยวกับการกำหนดเวอร์ชัน\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - แอปพลิเคชันที่จะรันนิพจน์ Arcade ใน การตั้งค่านี้จะขึ้นอยู่กับผู้พัฒนาแอปพลิเคชัน ดังนั้น คุณสมบัตินี้อาจว่างเปล่า โดยขึ้นอยู่กับแอปที่ดำเนินการนิพจน์\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ภาษาของไคลเอนต์หรือระบบ\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - การอ้างอิงเชิงพื้นที่ของบริบท Arcade\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID
|
|
1434
|
+
"value": "**[ตั้งแต่เวอร์ชัน 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nให้ข้อมูลเกี่ยวกับบริบทและสภาพแวดล้อมที่จะดำเนินการนิพจน์ Arcade\n\n**ส่งคืนค่า**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nส่งคืนพจนานุกรมที่มีคุณสมบัติด้านล่าง คุณสมบัติที่ส่งคืนอาจแตกต่างกัน โดยขึ้นอยู่กับว่าคุณรันนิพจน์ Arcade จากที่ใด จึงแนะนำให้ใช้ฟังก์ชัน [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) เพื่อให้แน่ใจว่าคุณสมบัติสภาพแวดล้อมที่ต้องการนั้นมีอยู่\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - เวอร์ชันของ Arcade ดูที่ [เมทริกซ์เวอร์ชัน](https://developers.arcgis.com/arcade/guide/version-matrix/) สำหรับข้อมูลเพิ่มเติมเกี่ยวกับการกำหนดเวอร์ชัน\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - เอนจินที่ดำเนินการนิพจน์ Arcade ค่าที่เป็นไปได้: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - เวอร์ชันของเอนจินที่ดำเนินการนิพจน์ Arcade ดูที่ [เมทริกซ์เวอร์ชัน](https://developers.arcgis.com/arcade/guide/version-matrix/) สำหรับข้อมูลเพิ่มเติมเกี่ยวกับการกำหนดเวอร์ชัน\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - แอปพลิเคชันที่จะรันนิพจน์ Arcade ใน การตั้งค่านี้จะขึ้นอยู่กับผู้พัฒนาแอปพลิเคชัน ดังนั้น คุณสมบัตินี้อาจว่างเปล่า โดยขึ้นอยู่กับแอปที่ดำเนินการนิพจน์\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - ภาษาของไคลเอนต์หรือระบบ\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - การอ้างอิงเชิงพื้นที่ของบริบท Arcade\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID ที่ทราบดีของการอ้างอิงเชิงพื้นที่\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
1435
1435
|
}
|
|
1436
1436
|
},
|
|
1437
1437
|
"parametersInfo": {
|
|
@@ -5546,7 +5546,7 @@
|
|
|
5546
5546
|
"kind": 3,
|
|
5547
5547
|
"documentation": {
|
|
5548
5548
|
"kind": "markdown",
|
|
5549
|
-
"value": "**[ตั้งแต่เวอร์ชัน 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**พารามิเตอร์**\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.
|
|
5549
|
+
"value": "**[ตั้งแต่เวอร์ชัน 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**พารามิเตอร์**\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**ส่งคืนค่า**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5550
5550
|
}
|
|
5551
5551
|
},
|
|
5552
5552
|
"parametersInfo": {
|
|
@@ -5571,7 +5571,7 @@
|
|
|
5571
5571
|
"kind": 3,
|
|
5572
5572
|
"documentation": {
|
|
5573
5573
|
"kind": "markdown",
|
|
5574
|
-
"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**พารามิเตอร์**\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.
|
|
5574
|
+
"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**พารามิเตอร์**\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**ส่งคืนค่า**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5575
5575
|
}
|
|
5576
5576
|
},
|
|
5577
5577
|
"parametersInfo": {
|
|
@@ -5644,7 +5644,7 @@
|
|
|
5644
5644
|
"kind": 3,
|
|
5645
5645
|
"documentation": {
|
|
5646
5646
|
"kind": "markdown",
|
|
5647
|
-
"value": "**[ตั้งแต่เวอร์ชัน 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**พารามิเตอร์**\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.
|
|
5647
|
+
"value": "**[ตั้งแต่เวอร์ชัน 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**พารามิเตอร์**\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**ส่งคืนค่า**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
5648
5648
|
}
|
|
5649
5649
|
},
|
|
5650
5650
|
"parametersInfo": {
|
|
@@ -5771,7 +5771,7 @@
|
|
|
5771
5771
|
"kind": 3,
|
|
5772
5772
|
"documentation": {
|
|
5773
5773
|
"kind": "markdown",
|
|
5774
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**พารามิเตอร์**\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.
|
|
5774
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**พารามิเตอร์**\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**ส่งคืนค่า**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
5775
5775
|
}
|
|
5776
5776
|
},
|
|
5777
5777
|
"parametersInfo": {
|
|
@@ -6441,7 +6441,7 @@
|
|
|
6441
6441
|
"bundle": "core",
|
|
6442
6442
|
"sinceVersion": "1.24",
|
|
6443
6443
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
6444
|
-
"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
|
|
6444
|
+
"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.",
|
|
6445
6445
|
"examples": "\n##### ตัวอย่าง\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",
|
|
6446
6446
|
"completion": {
|
|
6447
6447
|
"label": "TimeZone",
|
|
@@ -6452,7 +6452,7 @@
|
|
|
6452
6452
|
"kind": 3,
|
|
6453
6453
|
"documentation": {
|
|
6454
6454
|
"kind": "markdown",
|
|
6455
|
-
"value": "**[ตั้งแต่เวอร์ชัน 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
|
|
6455
|
+
"value": "**[ตั้งแต่เวอร์ชัน 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**พารามิเตอร์**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**ส่งคืนค่า**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
6456
6456
|
}
|
|
6457
6457
|
},
|
|
6458
6458
|
"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",
|
|
@@ -935,7 +935,7 @@
|
|
|
935
935
|
"bundle": "data-access",
|
|
936
936
|
"sinceVersion": "1.24",
|
|
937
937
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
938
|
-
"description": "Returns the related records for a given feature
|
|
938
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
939
939
|
"examples": "\n##### Örnek\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",
|
|
940
940
|
"completion": {
|
|
941
941
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -946,7 +946,7 @@
|
|
|
946
946
|
"kind": 3,
|
|
947
947
|
"documentation": {
|
|
948
948
|
"kind": "markdown",
|
|
949
|
-
"value": "**[Şu versiyondan itibaren 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
949
|
+
"value": "**[Şu versiyondan itibaren 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**Parametreler**\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**Dönüş değeri**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
950
950
|
}
|
|
951
951
|
},
|
|
952
952
|
"parametersInfo": {
|
|
@@ -1886,7 +1886,6 @@
|
|
|
1886
1886
|
{
|
|
1887
1887
|
"type": "function",
|
|
1888
1888
|
"name": "front",
|
|
1889
|
-
"disableDocumentation": true,
|
|
1890
1889
|
"bundle": "core",
|
|
1891
1890
|
"sinceVersion": "1.12",
|
|
1892
1891
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -3862,7 +3861,7 @@
|
|
|
3862
3861
|
"kind": 3,
|
|
3863
3862
|
"documentation": {
|
|
3864
3863
|
"kind": "markdown",
|
|
3865
|
-
"value": "**[Şu versiyondan itibaren 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nArcade ifadesinin yürütüldüğü bağlam ve ortam hakkında bilgi sağlar.\n\n**Dönüş değeri**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nAşağıdaki özellikleri içeren bir sözlük döndürür. Döndürülen özellikler, Arcade ifadesini nerede çalıştırdığınıza bağlı olarak değişebildiğinden, istenen ortam özelliğinin var olduğundan emin olmak için [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) işlevini kullanmanız tavsiye edilir.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade versiyonu. Versiyon oluşturma hakkında daha fazla bilgi için bkz. [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade ifadesini yürüten motor. Olası değerler: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade ifadesini yürüten motorun versiyonu. Versiyon oluşturma hakkında daha fazla bilgi için bkz. [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade ifadesinin içinde çalıştığı uygulama. Bu değeri ayarlayıp ayarlamamak uygulama geliştiricilerine kalmıştır. Bu nedenle, ifadenin yürütüldüğü uygulamaya bağlı olarak bu özellik boş olabilir.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - İstemci veya sistemin yerel ayarları.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Arcade bağlamının mekansal referansı.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Mekansal referansın iyi bilinen kimliği."
|
|
3864
|
+
"value": "**[Şu versiyondan itibaren 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nArcade ifadesinin yürütüldüğü bağlam ve ortam hakkında bilgi sağlar.\n\n**Dönüş değeri**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nAşağıdaki özellikleri içeren bir sözlük döndürür. Döndürülen özellikler, Arcade ifadesini nerede çalıştırdığınıza bağlı olarak değişebildiğinden, istenen ortam özelliğinin var olduğundan emin olmak için [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) işlevini kullanmanız tavsiye edilir.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade versiyonu. Versiyon oluşturma hakkında daha fazla bilgi için bkz. [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade ifadesini yürüten motor. Olası değerler: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade ifadesini yürüten motorun versiyonu. Versiyon oluşturma hakkında daha fazla bilgi için bkz. [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/).\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Arcade ifadesinin içinde çalıştığı uygulama. Bu değeri ayarlayıp ayarlamamak uygulama geliştiricilerine kalmıştır. Bu nedenle, ifadenin yürütüldüğü uygulamaya bağlı olarak bu özellik boş olabilir.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - İstemci veya sistemin yerel ayarları.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Arcade bağlamının mekansal referansı.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Mekansal referansın iyi bilinen kimliği.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
3866
3865
|
}
|
|
3867
3866
|
},
|
|
3868
3867
|
"parametersInfo": {
|
|
@@ -6202,7 +6201,7 @@
|
|
|
6202
6201
|
"kind": 3,
|
|
6203
6202
|
"documentation": {
|
|
6204
6203
|
"kind": "markdown",
|
|
6205
|
-
"value": "**[Şu versiyondan itibaren 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**Parametreler**\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.
|
|
6204
|
+
"value": "**[Şu versiyondan itibaren 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**Parametreler**\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**Dönüş değeri**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6206
6205
|
}
|
|
6207
6206
|
},
|
|
6208
6207
|
"parametersInfo": {
|
|
@@ -6227,7 +6226,7 @@
|
|
|
6227
6226
|
"kind": 3,
|
|
6228
6227
|
"documentation": {
|
|
6229
6228
|
"kind": "markdown",
|
|
6230
|
-
"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**Parametreler**\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.
|
|
6229
|
+
"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**Parametreler**\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**Dönüş değeri**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6231
6230
|
}
|
|
6232
6231
|
},
|
|
6233
6232
|
"parametersInfo": {
|
|
@@ -6300,7 +6299,7 @@
|
|
|
6300
6299
|
"kind": 3,
|
|
6301
6300
|
"documentation": {
|
|
6302
6301
|
"kind": "markdown",
|
|
6303
|
-
"value": "**[Şu versiyondan itibaren 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**Parametreler**\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.
|
|
6302
|
+
"value": "**[Şu versiyondan itibaren 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**Parametreler**\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**Dönüş değeri**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
6304
6303
|
}
|
|
6305
6304
|
},
|
|
6306
6305
|
"parametersInfo": {
|
|
@@ -6427,7 +6426,7 @@
|
|
|
6427
6426
|
"kind": 3,
|
|
6428
6427
|
"documentation": {
|
|
6429
6428
|
"kind": "markdown",
|
|
6430
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametreler**\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.
|
|
6429
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Parametreler**\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**Dönüş değeri**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
6431
6430
|
}
|
|
6432
6431
|
},
|
|
6433
6432
|
"parametersInfo": {
|
|
@@ -7097,7 +7096,7 @@
|
|
|
7097
7096
|
"bundle": "core",
|
|
7098
7097
|
"sinceVersion": "1.24",
|
|
7099
7098
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
7100
|
-
"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
|
|
7099
|
+
"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.",
|
|
7101
7100
|
"examples": "\n##### Örnek\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",
|
|
7102
7101
|
"completion": {
|
|
7103
7102
|
"label": "TimeZone",
|
|
@@ -7108,7 +7107,7 @@
|
|
|
7108
7107
|
"kind": 3,
|
|
7109
7108
|
"documentation": {
|
|
7110
7109
|
"kind": "markdown",
|
|
7111
|
-
"value": "**[Şu versiyondan itibaren 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
|
|
7110
|
+
"value": "**[Şu versiyondan itibaren 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**Parametre**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Dönüş değeri**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
7112
7111
|
}
|
|
7113
7112
|
},
|
|
7114
7113
|
"parametersInfo": {
|
|
@@ -3728,7 +3728,7 @@
|
|
|
3728
3728
|
"bundle": "data-access",
|
|
3729
3729
|
"sinceVersion": "1.24",
|
|
3730
3730
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
3731
|
-
"description": "Returns the related records for a given feature
|
|
3731
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
3732
3732
|
"examples": "\n##### Приклад\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",
|
|
3733
3733
|
"completion": {
|
|
3734
3734
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -3739,7 +3739,7 @@
|
|
|
3739
3739
|
"kind": 3,
|
|
3740
3740
|
"documentation": {
|
|
3741
3741
|
"kind": "markdown",
|
|
3742
|
-
"value": "**[Починаючи з версії 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
3742
|
+
"value": "**[Починаючи з версії 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**Параметри**\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**Повернуте значення**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
3743
3743
|
}
|
|
3744
3744
|
},
|
|
3745
3745
|
"parametersInfo": {
|
|
@@ -4416,7 +4416,7 @@
|
|
|
4416
4416
|
"kind": 3,
|
|
4417
4417
|
"documentation": {
|
|
4418
4418
|
"kind": "markdown",
|
|
4419
|
-
"value": "**[Починаючи з версії 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**Параметри**\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.
|
|
4419
|
+
"value": "**[Починаючи з версії 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**Параметри**\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**Повернуте значення**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4420
4420
|
}
|
|
4421
4421
|
},
|
|
4422
4422
|
"parametersInfo": {
|
|
@@ -4441,7 +4441,7 @@
|
|
|
4441
4441
|
"kind": 3,
|
|
4442
4442
|
"documentation": {
|
|
4443
4443
|
"kind": "markdown",
|
|
4444
|
-
"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**Параметри**\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.
|
|
4444
|
+
"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**Параметри**\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**Повернуте значення**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4445
4445
|
}
|
|
4446
4446
|
},
|
|
4447
4447
|
"parametersInfo": {
|
|
@@ -4514,7 +4514,7 @@
|
|
|
4514
4514
|
"kind": 3,
|
|
4515
4515
|
"documentation": {
|
|
4516
4516
|
"kind": "markdown",
|
|
4517
|
-
"value": "**[Починаючи з версії 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**Параметри**\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.
|
|
4517
|
+
"value": "**[Починаючи з версії 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**Параметри**\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**Повернуте значення**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4518
4518
|
}
|
|
4519
4519
|
},
|
|
4520
4520
|
"parametersInfo": {
|
|
@@ -4641,7 +4641,7 @@
|
|
|
4641
4641
|
"kind": 3,
|
|
4642
4642
|
"documentation": {
|
|
4643
4643
|
"kind": "markdown",
|
|
4644
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Параметри**\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.
|
|
4644
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Параметри**\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**Повернуте значення**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4645
4645
|
}
|
|
4646
4646
|
},
|
|
4647
4647
|
"parametersInfo": {
|
|
@@ -5311,7 +5311,7 @@
|
|
|
5311
5311
|
"bundle": "core",
|
|
5312
5312
|
"sinceVersion": "1.24",
|
|
5313
5313
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
5314
|
-
"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
|
|
5314
|
+
"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.",
|
|
5315
5315
|
"examples": "\n##### Приклад\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",
|
|
5316
5316
|
"completion": {
|
|
5317
5317
|
"label": "TimeZone",
|
|
@@ -5322,7 +5322,7 @@
|
|
|
5322
5322
|
"kind": 3,
|
|
5323
5323
|
"documentation": {
|
|
5324
5324
|
"kind": "markdown",
|
|
5325
|
-
"value": "**[Починаючи з версії 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
|
|
5325
|
+
"value": "**[Починаючи з версії 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**Параметр**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Повернуте значення**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
5326
5326
|
}
|
|
5327
5327
|
},
|
|
5328
5328
|
"parametersInfo": {
|
|
@@ -5788,7 +5788,6 @@
|
|
|
5788
5788
|
{
|
|
5789
5789
|
"type": "function",
|
|
5790
5790
|
"name": "front",
|
|
5791
|
-
"disableDocumentation": true,
|
|
5792
5791
|
"bundle": "core",
|
|
5793
5792
|
"sinceVersion": "1.12",
|
|
5794
5793
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -6205,7 +6204,7 @@
|
|
|
6205
6204
|
"kind": 3,
|
|
6206
6205
|
"documentation": {
|
|
6207
6206
|
"kind": "markdown",
|
|
6208
|
-
"value": "**[Починаючи з версії 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nНадає інформацію про контекст і середовище, де виконується вираз Arcade.\n\n**Повернуте значення**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nПовертає словник, що містить наведені нижче властивості. Повернуті властивості можуть відрізнятися залежно від того, де виконується вираз Arcade, тому рекомендується використовувати функцію [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue), щоб забезпечити наявність бажаної властивості середовища.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версія Arcade. Перегляньте [матриця версій](https://developers.arcgis.com/arcade/guide/version-matrix/), щоб дізнатися більше про версії.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Обробник, що виконує вираз Arcade. Можливі значення: «web», «native», «jvm»\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версія обробника, що виконує вираз Arcade. Перегляньте [матриця версій](https://developers.arcgis.com/arcade/guide/version-matrix/), щоб дізнатися більше про версії.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Програма, у якій виконується вираз Arcade. Встановлювати це значення мають розробники додатку. Тому ця властивість може бути порожньою залежно від додатку, у якій виконується вираз.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Місце розташування клієнта або системи.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Просторова прив'язка контексту Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Добре відомий ідентифікатор просторової
|
|
6207
|
+
"value": "**[Починаючи з версії 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nНадає інформацію про контекст і середовище, де виконується вираз Arcade.\n\n**Повернуте значення**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nПовертає словник, що містить наведені нижче властивості. Повернуті властивості можуть відрізнятися залежно від того, де виконується вираз Arcade, тому рекомендується використовувати функцію [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue), щоб забезпечити наявність бажаної властивості середовища.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версія Arcade. Перегляньте [матриця версій](https://developers.arcgis.com/arcade/guide/version-matrix/), щоб дізнатися більше про версії.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Обробник, що виконує вираз Arcade. Можливі значення: «web», «native», «jvm»\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Версія обробника, що виконує вираз Arcade. Перегляньте [матриця версій](https://developers.arcgis.com/arcade/guide/version-matrix/), щоб дізнатися більше про версії.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Програма, у якій виконується вираз Arcade. Встановлювати це значення мають розробники додатку. Тому ця властивість може бути порожньою залежно від додатку, у якій виконується вираз.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Місце розташування клієнта або системи.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Просторова прив'язка контексту Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - Добре відомий ідентифікатор просторової прив’язки.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
6209
6208
|
}
|
|
6210
6209
|
},
|
|
6211
6210
|
"parametersInfo": {
|
|
@@ -429,7 +429,6 @@
|
|
|
429
429
|
{
|
|
430
430
|
"type": "function",
|
|
431
431
|
"name": "front",
|
|
432
|
-
"disableDocumentation": true,
|
|
433
432
|
"bundle": "core",
|
|
434
433
|
"sinceVersion": "1.12",
|
|
435
434
|
"link": "https://developers.arcgis.com/arcade/function-reference/array_functions/#front",
|
|
@@ -1699,7 +1698,7 @@
|
|
|
1699
1698
|
"bundle": "data-access",
|
|
1700
1699
|
"sinceVersion": "1.24",
|
|
1701
1700
|
"link": "https://developers.arcgis.com/arcade/function-reference/featureset_functions/#featuresetbyrelationshipclass",
|
|
1702
|
-
"description": "Returns the related records for a given feature
|
|
1701
|
+
"description": "Returns the related records for a given feature based on the name of a given relationship class.",
|
|
1703
1702
|
"examples": "\n##### Ví dụ\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",
|
|
1704
1703
|
"completion": {
|
|
1705
1704
|
"label": "FeatureSetByRelationshipClass",
|
|
@@ -1710,7 +1709,7 @@
|
|
|
1710
1709
|
"kind": 3,
|
|
1711
1710
|
"documentation": {
|
|
1712
1711
|
"kind": "markdown",
|
|
1713
|
-
"value": "**[Kể từ phiên bản 1.24](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nReturns the related records for a given feature
|
|
1712
|
+
"value": "**[Kể từ phiên bản 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**Thông số**\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**Giá trị trả về**: [FeatureSet](https://developers.arcgis.com/arcade/guide/types/#featureset)"
|
|
1714
1713
|
}
|
|
1715
1714
|
},
|
|
1716
1715
|
"parametersInfo": {
|
|
@@ -2411,7 +2410,7 @@
|
|
|
2411
2410
|
"kind": 3,
|
|
2412
2411
|
"documentation": {
|
|
2413
2412
|
"kind": "markdown",
|
|
2414
|
-
"value": "**[Kể từ phiên bản 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCung cấp thông tin về bối cảnh và môi trường thực hiện biểu thức Arcade.\n\n**Giá trị trả về**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTrả về từ điển có chứa các thuộc tính bên dưới. Các thuộc tính được trả về có thể thay đổi tùy theo vị trí bạn chạy biểu thức Arcade. Vì vậy, bạn nên sử dụng hàm [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) để đảm bảo thuộc tính môi trường mong muốn tồn tại.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Phiên bản Arcade. Xem [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) để biết thêm thông tin về phiên bản.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Công cụ thực hiện biểu thức Arcade. Các giá trị có thể là: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Phiên bản của công cụ thực hiện biểu thức Arcade. Xem [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) để biết thêm thông tin về phiên bản.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ứng dụng chạy biểu thức Arcade. Việc thiết lập giá trị này tuỳ thuộc vào nhà phát triển ứng dụng. Do đó, thuộc tính này có thể trống tùy thuộc vào ứng dụng nơi thực hiện biểu thức.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ngôn ngữ của máy khách hoặc hệ thống.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Tham chiếu không gian của bối cảnh Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID nổi tiếng của tham chiếu không gian."
|
|
2413
|
+
"value": "**[Kể từ phiên bản 1.23](https://developers.arcgis.com/arcade/guide/version-matrix)**\n\nCung cấp thông tin về bối cảnh và môi trường thực hiện biểu thức Arcade.\n\n**Giá trị trả về**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) \nTrả về từ điển có chứa các thuộc tính bên dưới. Các thuộc tính được trả về có thể thay đổi tùy theo vị trí bạn chạy biểu thức Arcade. Vì vậy, bạn nên sử dụng hàm [`HasValue`](https://developers.arcgis.com/arcade/function-reference/dictionary_functions/#hasvalue) để đảm bảo thuộc tính môi trường mong muốn tồn tại.\n\n- **version**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Phiên bản Arcade. Xem [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) để biết thêm thông tin về phiên bản.\n- **engine**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Công cụ thực hiện biểu thức Arcade. Các giá trị có thể là: `web`, `native`, `jvm`\n- **engineVersion**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Phiên bản của công cụ thực hiện biểu thức Arcade. Xem [version matrix](https://developers.arcgis.com/arcade/guide/version-matrix/) để biết thêm thông tin về phiên bản.\n- **application**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ứng dụng chạy biểu thức Arcade. Việc thiết lập giá trị này tuỳ thuộc vào nhà phát triển ứng dụng. Do đó, thuộc tính này có thể trống tùy thuộc vào ứng dụng nơi thực hiện biểu thức.\n- **locale**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - Ngôn ngữ của máy khách hoặc hệ thống.\n- **spatialReference**: [Dictionary](https://developers.arcgis.com/arcade/guide/types/#dictionary) - Tham chiếu không gian của bối cảnh Arcade.\n\n - **wkid**: [Number](https://developers.arcgis.com/arcade/guide/types/#number) - ID nổi tiếng của tham chiếu không gian.\n- **timeZone**: [Text](https://developers.arcgis.com/arcade/guide/types/#text) - "
|
|
2415
2414
|
}
|
|
2416
2415
|
},
|
|
2417
2416
|
"parametersInfo": {
|
|
@@ -4225,7 +4224,7 @@
|
|
|
4225
4224
|
"kind": 3,
|
|
4226
4225
|
"documentation": {
|
|
4227
4226
|
"kind": "markdown",
|
|
4228
|
-
"value": "**[Kể từ phiên bản 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**Thông số**\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.
|
|
4227
|
+
"value": "**[Kể từ phiên bản 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**Thông số**\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**Giá trị trả về**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4229
4228
|
}
|
|
4230
4229
|
},
|
|
4231
4230
|
"parametersInfo": {
|
|
@@ -4250,7 +4249,7 @@
|
|
|
4250
4249
|
"kind": 3,
|
|
4251
4250
|
"documentation": {
|
|
4252
4251
|
"kind": "markdown",
|
|
4253
|
-
"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**Thông số**\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.
|
|
4252
|
+
"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**Thông số**\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**Giá trị trả về**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4254
4253
|
}
|
|
4255
4254
|
},
|
|
4256
4255
|
"parametersInfo": {
|
|
@@ -4323,7 +4322,7 @@
|
|
|
4323
4322
|
"kind": 3,
|
|
4324
4323
|
"documentation": {
|
|
4325
4324
|
"kind": "markdown",
|
|
4326
|
-
"value": "**[Kể từ phiên bản 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**Thông số**\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.
|
|
4325
|
+
"value": "**[Kể từ phiên bản 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**Thông số**\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**Giá trị trả về**: [Date](https://developers.arcgis.com/arcade/guide/types/#date)"
|
|
4327
4326
|
}
|
|
4328
4327
|
},
|
|
4329
4328
|
"parametersInfo": {
|
|
@@ -4450,7 +4449,7 @@
|
|
|
4450
4449
|
"kind": 3,
|
|
4451
4450
|
"documentation": {
|
|
4452
4451
|
"kind": "markdown",
|
|
4453
|
-
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Thông số**\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.
|
|
4452
|
+
"value": "Subtracts two Dates, and returns the difference in the specified units.\n\n**Thông số**\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**Giá trị trả về**: [Number](https://developers.arcgis.com/arcade/guide/types/#number)"
|
|
4454
4453
|
}
|
|
4455
4454
|
},
|
|
4456
4455
|
"parametersInfo": {
|
|
@@ -5120,7 +5119,7 @@
|
|
|
5120
5119
|
"bundle": "core",
|
|
5121
5120
|
"sinceVersion": "1.24",
|
|
5122
5121
|
"link": "https://developers.arcgis.com/arcade/function-reference/date_functions/#timezone",
|
|
5123
|
-
"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
|
|
5122
|
+
"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.",
|
|
5124
5123
|
"examples": "\n##### Ví dụ\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",
|
|
5125
5124
|
"completion": {
|
|
5126
5125
|
"label": "TimeZone",
|
|
@@ -5131,7 +5130,7 @@
|
|
|
5131
5130
|
"kind": 3,
|
|
5132
5131
|
"documentation": {
|
|
5133
5132
|
"kind": "markdown",
|
|
5134
|
-
"value": "**[Kể từ phiên bản 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
|
|
5133
|
+
"value": "**[Kể từ phiên bản 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**Tham số**\n\n- **dateValue**: [Date](https://developers.arcgis.com/arcade/guide/types/#date) - A Date value from which to get the time zone.\n\n**Giá trị trả về**: [Text](https://developers.arcgis.com/arcade/guide/types/#text)"
|
|
5135
5134
|
}
|
|
5136
5135
|
},
|
|
5137
5136
|
"parametersInfo": {
|