diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/README.md b/samples/utility_flow_get_localized_choice_options_for_dataverse/README.md
new file mode 100644
index 00000000..2d0110b7
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/README.md
@@ -0,0 +1,156 @@
+# Get Localized choice values for Dataverse record
+
+## Summary
+
+Model-driven applications offer excellent support for building multilingual applications. Translations for UI elements and entity configurations can be easily provided using an Excel file, and the application adapts to the user's selected language through the Personalization settings (see [Languages tab options](https://learn.microsoft.com/en-us/power-apps/user/set-personal-options#languages-tab-option)).
+
+When accessing record information through Power Automate, choice field values are presented as numerical codes rather than their display names. To obtain the choice display names in the user's language, these numerical values must be retrieved using tools like Power Automate.
+
+The "Utils - Get Localized choice values for record" workflow retrieves definitions of choice and multi-choice fields in a Dataverse table, providing numerical values and labels for each choice in a specified language. It can be used either as a child workflow or as a standalone flow, and accepts the following **parameters**:
+
+| Parameter name | Description |
+| - | - |
+| Table name | The logical name of dataverse entity, as defined in _Properties / Advanced options / Logical name_ |
+| lcid | LCID code of a language, e.g. 1033 for English. Consider saving the language used by the user when a record is created. You may retrieve the language code using JavaScript: `Xrm.Utility.getGlobalContext().userSettings.languageId` |
+| lcid fallback | LCID code of language used as a fallback, in case the primary language is not detected. Use the default language of your environment. |
+
+The flow **returns** the following values:
+
+| Name | Description |
+| - | - |
+| Results | JSON object with the following structure: `[{"LogicalName":"fieldName","Options":[{"Value":339870000,"Label":""}]}]` |
+| Error message | Empty, if success. Otherwise error message |
+| Success | "True" or "False" |
+
+## Using the flow
+
+The **Get Localized choice values - test** flow provides an example on how to use the results returned by the **Get Localized choice values** flow.
+
+To speed up the retrieval of the localized label, the results from the child flow are converted into an `XML` object, and an `xpath` expression is used to quickly extract the correct value.
+
+The `sxPathQuery` variable is set to the following expression:
+
+`//arr[LogicalName="{fieldName}"]/Options[Value={fieldValue}]/Label`
+
+The `{fieldName}` and `{fieldValue}` tokens are replaced by a field logical name and a numerical value, and used in the `xpath()` expression, e.g.
+
+`xpath(outputs('Compose:_Json_to_Xml'), concat('string(', replace(replace(variables('sxPathQuery'), '{fieldName}', 'kk_targetgroup'), '{fieldValue}', '339870000'), ')'))`, or
+
+`xpath(outputs('Compose:_Json_to_Xml'), concat('string(', replace(replace(variables('sxPathQuery'), '{fieldName}', 'kk_country1'), '{fieldValue}', '756'), ')'))`
+
+When building real-life solution, you would define the `fieldValues` based on the record's properties.
+
+
+
+## Applies to
+
+
+
+
+
+
+
+
+
+
+
+## Compatibility
+
+
+
+
+## Contributors
+
+* [Kinga Kazala](https://github.com/kkazala/)
+
+## Version history
+
+Version|Date|Comments
+-------|----|--------
+1.0|April 22, 2025|Initial release
+
+## Prerequisites
+
+The "[HTTP with Microsoft Entra ID (preauthorized)](https://learn.microsoft.com/en-us/connectors/webcontents/)" connector operates through a Microsoft 1st party trusted application. This application includes preauthorization for various Microsoft services and there is no need for administrators to explicitly grant consent for actions to be executed by the application on behalf of the user.
+Microsoft also released a new version of the connector, the "[HTTP With Microsoft Entra ID](https://learn.microsoft.com/en-us/connectors/webcontentsv2/)", allowing administrators to grant discrete consent.
+
+Update the workflow to use the "HTTP With Microsoft Entra ID" connector, if required.
+
+## Minimal path to awesome
+
+
+### Using the solution zip
+
+* [Download](./solution/solution.zip) the `.zip` from the `solution` folder
+* Within **Power Apps Studio**, import the solution `.zip` file using **Solutions** > **Import Solution** and select the `.zip` file you just packed.
+* When importing a solution, you will need to provide a connection reference to your Power Platform Environment. Ensure that the connection is created using the URL of your Power Platform Environment.
+
+ 
+
+ The value of "URL of the request" does not include a host name. The request URL will be created by combining the URL specified in the referenced connection with the API endpoint defined in the "URL of the request" field.
+
+ 
+
+* After the solution is imported, configure the **Get Localized choice values** cloud flow, to be executed as a child flow. Configure the `run only` permissions, using the flow owner’s embedded connection:
+
+ 
+
+ Click on **Edit** link and change the connection in the **Connections Used** section
+
+ 
+
+* Add a [service principal](https://learn.microsoft.com/en-us/power-automate/service-principal-support) as an additional owner to ensure business continuity.
+
+### Using the source code
+
+You can also use the [Power Apps CLI](https://docs.microsoft.com/powerapps/developer/data-platform/powerapps-cli) to pack the source code by following these steps:
+
+* Clone the repository to a local drive
+* Pack the source files back into a solution `.zip` file:
+
+ ```bash
+ pac solution pack --zipfile pathtodestinationfile --folder pathtosourcefolder --processCanvasApps
+ ```
+
+ Making sure to replace `pathtosourcefolder` to point to the path to this sample's `sourcecode` folder, and `pathtodestinationfile` to point to the path of this solution's `.zip` file (located under the `solution` folder)
+* Within **Power Apps Studio**, import the solution `.zip` file using **Solutions** > **Import Solution** and select the `.zip` file you just packed.
+* When importing a solution, you will need to provide a connection reference to your Power Platform Environment. Ensure that the connection is created using the URL of your Power Platform Environment.
+* After the solution is imported, configure the **Get Localized choice values** cloud flow, to be executed as a child flow. Configure the `run only` permissions, using the flow owner’s embedded connection
+
+## Help
+
+
+
+> Note: don't worry about this section, we'll update the links.
+
+We do not support samples, but this community is always willing to help, and we want to improve these samples. We use GitHub to track issues, which makes it easy for community members to volunteer their time and help resolve issues.
+
+If you encounter any issues while using this sample, you can [create a new issue](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=bug-report.yml&sample=YOUR-SOLUTION-NAME&authors=@YOURGITHUBUSERNAME&title=YOUR-SOLUTION-NAME%20-%20).
+
+For questions regarding this sample, [create a new question](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=question.yml&sample=YOUR-SOLUTION-NAME&authors=@YOURGITHUBUSERNAME&title=YOUR-SOLUTION-NAME%20-%20).
+
+Finally, if you have an idea for improvement, [make a suggestion](https://github.com/pnp/powerapps-samples/issues/new?assignees=&labels=Needs%3A+Triage+%3Amag%3A%2Ctype%3Abug-suspected&template=suggestion.yml&sample=YOUR-SOLUTION-NAME&authors=@YOURGITHUBUSERNAME&title=YOUR-SOLUTION-NAME%20-%20).
+
+## Disclaimer
+
+**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
+
+
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/httpconnector.png b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/httpconnector.png
new file mode 100644
index 00000000..a94087cd
Binary files /dev/null and b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/httpconnector.png differ
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/preview.png b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/preview.png
new file mode 100644
index 00000000..674e5ddb
Binary files /dev/null and b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/preview.png differ
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/request.png b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/request.png
new file mode 100644
index 00000000..00cd997e
Binary files /dev/null and b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/request.png differ
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/runOnlyConnection.png b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/runOnlyConnection.png
new file mode 100644
index 00000000..ca63da31
Binary files /dev/null and b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/runOnlyConnection.png differ
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/runOnlyUser.png b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/runOnlyUser.png
new file mode 100644
index 00000000..24faf3da
Binary files /dev/null and b/samples/utility_flow_get_localized_choice_options_for_dataverse/assets/runOnlyUser.png differ
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/.gitignore b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/.gitignore
new file mode 100644
index 00000000..ba59257a
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/.gitignore
@@ -0,0 +1,8 @@
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# msbuild output directories
+/bin
+/obj
+
+# MSBuild Binary and Structured Log
+*.binlog
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/UtilsGetLocalizedchoicevaluesforrecord.cdsproj b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/UtilsGetLocalizedchoicevaluesforrecord.cdsproj
new file mode 100644
index 00000000..4c5ae0e4
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/UtilsGetLocalizedchoicevaluesforrecord.cdsproj
@@ -0,0 +1,54 @@
+
+
+
+ $(MSBuildExtensionsPath)\Microsoft\VisualStudio\v$(VisualStudioVersion)\PowerApps
+
+
+
+
+
+
+ 0cb4a745-5130-4444-8200-1509ed6a523c
+ v4.6.2
+
+ net462
+ PackageReference
+ src
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+
+
+
+
+
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/Entity.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/Entity.xml
new file mode 100644
index 00000000..6bc18959
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/Entity.xml
@@ -0,0 +1,951 @@
+
+
+ kk_Example
+
+
+
+
+
+
+
+
+
+
+
+
+
+ lookup
+ createdby
+ createdby
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ single
+
+
+
+
+
+
+
+
+
+ datetime
+ createdon
+ createdon
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ inactive
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 1
+ 1
+ 0
+ datetime
+ 0
+ 1
+
+
+
+
+
+
+
+
+ lookup
+ createdonbehalfby
+ createdonbehalfby
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ single
+
+
+
+
+
+
+
+
+
+ int
+ importsequencenumber
+ importsequencenumber
+ none
+ ValidForAdvancedFind
+ disabled
+ 0
+ 1
+ 1
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+
+ -2147483648
+ 2147483647
+
+
+
+
+
+
+
+
+ picklist
+ kk_country1
+ kk_country1
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1.0.0.1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ -1
+ kk_countries
+
+
+
+
+
+
+
+
+ picklist
+ kk_country2
+ kk_country2
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1.0.0.1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ -1
+ kk_countries
+
+
+
+
+
+
+
+
+ primarykey
+ kk_exampleid
+ kk_exampleid
+ systemrequired
+ ValidForAdvancedFind|RequiredForGrid
+ auto
+ 0
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 1
+ 1
+ 0
+
+
+
+
+
+
+
+
+ nvarchar
+ kk_name
+ kk_name
+ required
+ PrimaryName|ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForForm
+ auto
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 1
+ 0
+ 1
+ 0
+ text
+ 850
+ 1700
+
+
+
+
+
+
+
+
+ picklist
+ kk_targetgroup
+ kk_targetgroup
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1.0.0.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ -1
+ kk_targetgroup
+
+
+
+
+
+
+
+
+ lookup
+ modifiedby
+ modifiedby
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ single
+
+
+
+
+
+
+
+
+
+ datetime
+ modifiedon
+ modifiedon
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ inactive
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 1
+ 1
+ 0
+ datetime
+ 0
+ 1
+
+
+
+
+
+
+
+
+ lookup
+ modifiedonbehalfby
+ modifiedonbehalfby
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ single
+
+
+
+
+
+
+
+
+
+ datetime
+ overriddencreatedon
+ overriddencreatedon
+ none
+ ValidForAdvancedFind|ValidForGrid
+ inactive
+ 0
+ 1
+ 1
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ date
+ 0
+ 1
+
+
+
+
+
+
+
+
+ owner
+ ownerid
+ ownerid
+ systemrequired
+ ValidForAdvancedFind|ValidForForm|ValidForGrid|RequiredForForm
+ auto
+ 1
+ 1
+ 1
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 1
+ 0
+ 0
+ single
+
+ 8
+ 9
+
+
+
+
+
+
+
+
+
+ lookup
+ owningbusinessunit
+ owningbusinessunit
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 0
+ 1
+ 0
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 1
+ 0
+ 0
+ single
+
+
+
+
+
+
+
+
+
+ lookup
+ owningteam
+ owningteam
+ none
+ auto
+ 0
+ 1
+ 0
+ 0
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ single
+
+
+
+
+
+
+
+
+
+ lookup
+ owninguser
+ owninguser
+ none
+ auto
+ 0
+ 1
+ 0
+ 0
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+ single
+
+
+
+
+
+
+
+
+
+ state
+ statecode
+ statecode
+ systemrequired
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 1
+ 1
+ 0
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 1
+ 0
+ 0
+
+ state
+ 1.0
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ status
+ statuscode
+ statuscode
+ none
+ ValidForAdvancedFind|ValidForForm|ValidForGrid
+ auto
+ 1
+ 1
+ 1
+ 0
+ 1
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+
+ status
+ 1.0
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ int
+ timezoneruleversionnumber
+ timezoneruleversionnumber
+ none
+ auto
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+
+ -1
+ 2147483647
+
+
+
+
+
+
+
+
+ int
+ utcconversiontimezonecode
+ utcconversiontimezonecode
+ none
+ auto
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+
+ 0
+ 0
+ 0
+ 0
+
+ -1
+ 2147483647
+
+
+
+
+
+
+
+
+ kk_examples
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ UserOwned
+ 0
+ 0
+ 0
+ 0
+
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+
+ 1
+ 1
+ 0
+ 0
+ 1.0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/card/{33400fae-cc9b-453e-adb4-fd1f66471042}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/card/{33400fae-cc9b-453e-adb4-fd1f66471042}.xml
new file mode 100644
index 00000000..2f17345c
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/card/{33400fae-cc9b-453e-adb4-fd1f66471042}.xml
@@ -0,0 +1,112 @@
+
+
+
+ {33400fae-cc9b-453e-adb4-fd1f66471042}
+ 1.0
+ 1
+ 1
+
+ 1
+ 1
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/card/{33400fae-cc9b-453e-adb4-fd1f66471042}_managed.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/card/{33400fae-cc9b-453e-adb4-fd1f66471042}_managed.xml
new file mode 100644
index 00000000..c39cc286
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/card/{33400fae-cc9b-453e-adb4-fd1f66471042}_managed.xml
@@ -0,0 +1,112 @@
+
+
+
+ {33400fae-cc9b-453e-adb4-fd1f66471042}
+ 1.0
+ 1
+ 1
+
+ 1
+ 1
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/main/{1d34ccca-43a1-470f-89c5-f43670d029c9}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/main/{1d34ccca-43a1-470f-89c5-f43670d029c9}.xml
new file mode 100644
index 00000000..8280a40d
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/main/{1d34ccca-43a1-470f-89c5-f43670d029c9}.xml
@@ -0,0 +1,55 @@
+
+
+
+ {1d34ccca-43a1-470f-89c5-f43670d029c9}
+ 1.0
+ 1
+ 1
+
+ 1
+ 1
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/main/{1d34ccca-43a1-470f-89c5-f43670d029c9}_managed.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/main/{1d34ccca-43a1-470f-89c5-f43670d029c9}_managed.xml
new file mode 100644
index 00000000..1214ff6b
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/main/{1d34ccca-43a1-470f-89c5-f43670d029c9}_managed.xml
@@ -0,0 +1,55 @@
+
+
+
+ {1d34ccca-43a1-470f-89c5-f43670d029c9}
+ 1.0
+ 1
+ 1
+
+ 1
+ 1
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/quick/{d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/quick/{d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}.xml
new file mode 100644
index 00000000..c60678ec
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/quick/{d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}.xml
@@ -0,0 +1,52 @@
+
+
+
+ {d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}
+ 1.0
+ 1
+ 1
+
+ 1
+ 1
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/quick/{d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}_managed.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/quick/{d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}_managed.xml
new file mode 100644
index 00000000..1dbf5025
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/FormXml/quick/{d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}_managed.xml
@@ -0,0 +1,52 @@
+
+
+
+ {d7ad3e8b-dcc6-4542-8aba-be10ef4ad32a}
+ 1.0
+ 1
+ 1
+
+ 1
+ 1
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/RibbonDiff.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/RibbonDiff.xml
new file mode 100644
index 00000000..6b56f485
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/RibbonDiff.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{106445c8-eb62-452c-97af-edb40a2e7aa5}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{106445c8-eb62-452c-97af-edb40a2e7aa5}.xml
new file mode 100644
index 00000000..76c94488
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{106445c8-eb62-452c-97af-edb40a2e7aa5}.xml
@@ -0,0 +1,37 @@
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 1
+ {106445c8-eb62-452c-97af-edb40a2e7aa5}
+
+
+
+ |
+ |
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.0
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{1890496f-5190-4eb8-ba76-2b56e0a99975}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{1890496f-5190-4eb8-ba76-2b56e0a99975}.xml
new file mode 100644
index 00000000..17aeff77
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{1890496f-5190-4eb8-ba76-2b56e0a99975}.xml
@@ -0,0 +1,34 @@
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 1
+ {1890496f-5190-4eb8-ba76-2b56e0a99975}
+
+
+
+ |
+ |
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+ 1.0
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{2c2ae9f1-75d6-ef11-8ee9-002248db2204}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{2c2ae9f1-75d6-ef11-8ee9-002248db2204}.xml
new file mode 100644
index 00000000..06d46822
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{2c2ae9f1-75d6-ef11-8ee9-002248db2204}.xml
@@ -0,0 +1,30 @@
+
+
+
+ 1
+ 1
+ 0
+ 0
+ 1
+ {2c2ae9f1-75d6-ef11-8ee9-002248db2204}
+ 8192
+
+
+
+
+
+
+
+
+
+
+
+ 1.0
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{62606937-0c9b-49d5-b030-a2658ed144c6}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{62606937-0c9b-49d5-b030-a2658ed144c6}.xml
new file mode 100644
index 00000000..7f8f553c
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{62606937-0c9b-49d5-b030-a2658ed144c6}.xml
@@ -0,0 +1,37 @@
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 1
+ {62606937-0c9b-49d5-b030-a2658ed144c6}
+
+
+
+ |
+ |
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.0
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{658ebc67-f2aa-4f81-9b27-c348e43c136f}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{658ebc67-f2aa-4f81-9b27-c348e43c136f}.xml
new file mode 100644
index 00000000..ac4afcd5
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{658ebc67-f2aa-4f81-9b27-c348e43c136f}.xml
@@ -0,0 +1,37 @@
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 0
+ {658ebc67-f2aa-4f81-9b27-c348e43c136f}
+
+
+
+ |
+ |
+
+
+
+ 0
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.0
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{751e39cc-9565-48b0-bd59-36954e1407bb}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{751e39cc-9565-48b0-bd59-36954e1407bb}.xml
new file mode 100644
index 00000000..8cba068b
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{751e39cc-9565-48b0-bd59-36954e1407bb}.xml
@@ -0,0 +1,40 @@
+
+
+
+ 1
+ 0
+ 1
+ 0
+ 1
+ {751e39cc-9565-48b0-bd59-36954e1407bb}
+
+
+
+ |
+ |
+
+
+
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.0
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{9ee105b5-0af1-42dd-8990-3c3e2b2f0afa}.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{9ee105b5-0af1-42dd-8990-3c3e2b2f0afa}.xml
new file mode 100644
index 00000000..246c6dd3
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Entities/kk_Example/SavedQueries/{9ee105b5-0af1-42dd-8990-3c3e2b2f0afa}.xml
@@ -0,0 +1,36 @@
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 1
+ {9ee105b5-0af1-42dd-8990-3c3e2b2f0afa}
+
+
+
+ |
+ |
+
+
+
+ 64
+
+
+
+
+
+
+
+
+
+
+
+
+ 1.0
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/OptionSets/kk_countries.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/OptionSets/kk_countries.xml
new file mode 100644
index 00000000..98c317f7
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/OptionSets/kk_countries.xml
@@ -0,0 +1,1511 @@
+
+
+ picklist
+ 1
+ 1.0.1.2
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/OptionSets/kk_targetgroup.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/OptionSets/kk_targetgroup.xml
new file mode 100644
index 00000000..a0abb1dd
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/OptionSets/kk_targetgroup.xml
@@ -0,0 +1,79 @@
+
+
+ picklist
+ 1
+ 1.0.0.1
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Customizations.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Customizations.xml
new file mode 100644
index 00000000..7a8252ca
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Customizations.xml
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ HTTP with Microsoft Entra ID (preauthorized) ExternalCloudService-f5993
+ /providers/Microsoft.PowerApps/apis/shared_webcontents
+ When creating connection, use the url of your Power Platform Environment
+ 1
+ 0
+ 0
+ 1
+
+
+
+ 1033
+ 1031
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships.xml
new file mode 100644
index 00000000..47ed342a
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/BusinessUnit.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/BusinessUnit.xml
new file mode 100644
index 00000000..cdc5f8b5
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/BusinessUnit.xml
@@ -0,0 +1,23 @@
+
+
+
+ OneToMany
+ 1
+ 1.0
+ 0
+ kk_Example
+ BusinessUnit
+ NoCascade
+ Restrict
+ Restrict
+ NoCascade
+ NoCascade
+ NoCascade
+ OwningBusinessUnit
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/Owner.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/Owner.xml
new file mode 100644
index 00000000..9af8edb2
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/Owner.xml
@@ -0,0 +1,23 @@
+
+
+
+ OneToMany
+ 1
+ 1.0
+ 0
+ kk_Example
+ Owner
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ OwnerId
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/SystemUser.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/SystemUser.xml
new file mode 100644
index 00000000..b366d6e4
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/SystemUser.xml
@@ -0,0 +1,63 @@
+
+
+
+ OneToMany
+ 1
+ 1.0
+ 0
+ kk_Example
+ SystemUser
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ CreatedBy
+
+
+
+
+
+
+
+ OneToMany
+ 1
+ 1.0
+ 0
+ kk_Example
+ SystemUser
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ ModifiedBy
+
+
+
+
+
+
+
+ OneToMany
+ 1
+ 1.0
+ 0
+ kk_Example
+ SystemUser
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ OwningUser
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/Team.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/Team.xml
new file mode 100644
index 00000000..a15e2f31
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Relationships/Team.xml
@@ -0,0 +1,23 @@
+
+
+
+ OneToMany
+ 1
+ 1.0
+ 0
+ kk_Example
+ Team
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ NoCascade
+ OwningTeam
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Solution.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Solution.xml
new file mode 100644
index 00000000..f6169c4b
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Other/Solution.xml
@@ -0,0 +1,94 @@
+
+
+
+ UtilsGetLocalizedchoicevaluesforrecord
+
+
+
+
+ 1.0.0.0
+ 2
+
+ KingaK
+
+
+
+
+
+
+ kk
+ 33987
+
+
+ 1
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+ 2
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedChoiceValues-07CA3022-6FD9-EF11-A730-6045BD2A5498.json b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedChoiceValues-07CA3022-6FD9-EF11-A730-6045BD2A5498.json
new file mode 100644
index 00000000..140bd083
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedChoiceValues-07CA3022-6FD9-EF11-A730-6045BD2A5498.json
@@ -0,0 +1,965 @@
+{
+ "properties": {
+ "connectionReferences": {
+ "shared_webcontents": {
+ "runtimeSource": "embedded",
+ "connection": {
+ "connectionReferenceLogicalName": "kk_sharedwebcontents_f5993"
+ },
+ "api": {
+ "name": "shared_webcontents"
+ }
+ }
+ },
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "$connections": {
+ "defaultValue": {},
+ "type": "Object"
+ },
+ "$authentication": {
+ "defaultValue": {},
+ "type": "SecureObject"
+ }
+ },
+ "triggers": {
+ "manual": {
+ "metadata": {
+ "operationMetadataId": "2e337155-aba5-4813-bfa4-1620e262a0ca"
+ },
+ "type": "Request",
+ "kind": "PowerAppV2",
+ "inputs": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "text": {
+ "title": "Table name",
+ "type": "string",
+ "x-ms-dynamically-added": true,
+ "description": "Table logical name (Properties / Advanced options / Logical name)",
+ "x-ms-content-hint": "TEXT"
+ },
+ "text_1": {
+ "title": "lcid",
+ "type": "string",
+ "x-ms-dynamically-added": true,
+ "description": "LCID code, e.g. 1033 for English",
+ "x-ms-content-hint": "TEXT"
+ },
+ "text_2": {
+ "title": "lcid fallback",
+ "type": "string",
+ "x-ms-dynamically-added": true,
+ "description": "LCID code for the default language of your environment",
+ "x-ms-content-hint": "TEXT"
+ }
+ },
+ "required": [
+ "text",
+ "text_1",
+ "text_2"
+ ]
+ }
+ }
+ }
+ },
+ "actions": {
+ "Scope:_retrieve_Attribute_Metadata_for_Choice_fields": {
+ "actions": {
+ "Compose_:_branching": {
+ "runAfter": {},
+ "metadata": {
+ "operationMetadataId": "8b8558f6-8493-4119-a96e-ba90cbcd08ad"
+ },
+ "type": "Compose",
+ "inputs": ":)",
+ "description": "There must be a single starting step, to use parallel branches"
+ },
+ "Invoke_an_HTTP_request:_Get_Entity_Attributes_SingleChoice": {
+ "runAfter": {
+ "Compose_:_branching": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "ba906205-6f44-48c2-a823-282090fe94d6"
+ },
+ "type": "OpenApiConnection",
+ "inputs": {
+ "host": {
+ "connectionName": "shared_webcontents",
+ "operationId": "InvokeHttp",
+ "apiId": "/providers/Microsoft.PowerApps/apis/shared_webcontents"
+ },
+ "parameters": {
+ "request/method": "GET",
+ "request/url": "/api/data/v9.2/EntityDefinitions(LogicalName='@{triggerBody()['text']}')/Attributes/Microsoft.Dynamics.CRM.PicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet,GlobalOptionSet",
+ "request/headers": {
+ "Accept": "application/json",
+ "OData-MaxVersion": "4.0",
+ "OData-Version": "4.0"
+ }
+ },
+ "authentication": "@parameters('$authentication')"
+ }
+ },
+ "Invoke_an_HTTP_request:_Get_Entity_Attributes_MultiChoice": {
+ "runAfter": {
+ "Compose_:_branching": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "ba906205-6f44-48c2-a823-282090fe94d6"
+ },
+ "type": "OpenApiConnection",
+ "inputs": {
+ "host": {
+ "connectionName": "shared_webcontents",
+ "operationId": "InvokeHttp",
+ "apiId": "/providers/Microsoft.PowerApps/apis/shared_webcontents"
+ },
+ "parameters": {
+ "request/method": "GET",
+ "request/url": "/api/data/v9.2/EntityDefinitions(LogicalName='@{triggerBody()['text']}')/Attributes/Microsoft.Dynamics.CRM.MultiSelectPicklistAttributeMetadata?$select=LogicalName&$expand=OptionSet,GlobalOptionSet",
+ "request/headers": {
+ "Accept": "application/json",
+ "OData-MaxVersion": "4.0",
+ "OData-Version": "4.0"
+ }
+ },
+ "authentication": "@parameters('$authentication')"
+ }
+ },
+ "Set_variable:_bSuccess_=_true": {
+ "runAfter": {
+ "Set_variable:_arrResultsSingleChoice": [
+ "Succeeded"
+ ],
+ "Set_variable:_arrResultsMultiChoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "b1b240e3-62e4-4683-ba0e-11ad1b6b30ce"
+ },
+ "type": "SetVariable",
+ "inputs": {
+ "name": "bSuccess",
+ "value": "@true"
+ }
+ },
+ "Parse_JSON:_single_choice:_Attributes_Metadata": {
+ "runAfter": {
+ "Invoke_an_HTTP_request:_Get_Entity_Attributes_SingleChoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "be688538-797c-4e5e-9e93-2d3d716e2f5e"
+ },
+ "type": "ParseJson",
+ "inputs": {
+ "content": "@body('Invoke_an_HTTP_request:_Get_Entity_Attributes_SingleChoice')",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "LogicalName": {
+ "type": "string"
+ },
+ "OptionSet": {
+ "type": "object",
+ "properties": {
+ "Name": {
+ "type": "string"
+ },
+ "OptionSetType": {
+ "type": "string"
+ },
+ "ParentOptionSetName": {},
+ "Description": {
+ "type": "object",
+ "properties": {
+ "LocalizedLabels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Label": {
+ "type": "string"
+ },
+ "LanguageCode": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "Label",
+ "LanguageCode"
+ ]
+ }
+ }
+ }
+ },
+ "DisplayName": {
+ "type": "object",
+ "properties": {
+ "LocalizedLabels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Label": {
+ "type": "string"
+ },
+ "LanguageCode": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "Label",
+ "LanguageCode"
+ ]
+ }
+ }
+ }
+ },
+ "Options": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Value": {
+ "type": "integer"
+ },
+ "Color": {},
+ "Label": {
+ "type": "object",
+ "properties": {
+ "LocalizedLabels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Label": {
+ "type": "string"
+ },
+ "LanguageCode": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "Label",
+ "LanguageCode"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "Value",
+ "Label"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "LogicalName",
+ "OptionSet"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "Select:_single_choice:_get_OptionSetNames": {
+ "runAfter": {
+ "Parse_JSON:_single_choice:_Attributes_Metadata": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "7520e8e4-5929-4ac5-8a6c-d5a13dc506c5"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@body('Parse_JSON:_single_choice:_Attributes_Metadata')?['value']",
+ "select": "@item()?['OptionSet']?['Name']"
+ }
+ },
+ "Set_variable:_arrOptionSetNamesSingleChoice_(unique)": {
+ "runAfter": {
+ "Select:_single_choice:_get_OptionSetNames": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "2cfe8486-b513-4463-9fa5-325b313d5bbb"
+ },
+ "type": "SetVariable",
+ "inputs": {
+ "name": "arrOptionSetNames_SingleChoice",
+ "value": "@union(body('Select:_single_choice:_get_OptionSetNames'),body('Select:_single_choice:_get_OptionSetNames'))"
+ }
+ },
+ "Select:_single_choice:_flatten_object": {
+ "runAfter": {
+ "Set_variable:_arrOptionSetNamesSingleChoice_(unique)": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "14c99bcc-505e-42d7-8219-ecbbf00777c7"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@body('Parse_JSON:_single_choice:_Attributes_Metadata')?['value']",
+ "select": {
+ "@{item()?['OptionSet']?['Name']}": "@item()?['OptionSet']?['Options']"
+ }
+ }
+ },
+ "Compose:_single_choice:_json_to_xml": {
+ "runAfter": {
+ "Select:_single_choice:_flatten_object": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "441f0c7c-a108-4847-88ab-edd8b338d923"
+ },
+ "type": "Compose",
+ "inputs": "@xml(json(concat('{ \"root\": { \"arr\": ',union(body('Select:_single_choice:_flatten_object'),body('Select:_single_choice:_flatten_object')), '}}')))"
+ },
+ "Select:_single_choice:_get_label_for_language": {
+ "runAfter": {
+ "Compose:_single_choice:_json_to_xml": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "c308c20f-63f4-4004-b116-5be973f721f9"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@xpath(outputs('Compose:_single_choice:_json_to_xml'), '//arr/*')",
+ "select": {
+ "@{xpath(item(), 'name(/*)')}": "@concat(\r\n'{\"Value\":',\r\nxpath(item(), 'string(//Value)'),\r\n',\"Label\":\"',\r\ncoalesce(xpath(item(), variables('sXpathFilterLanguageCode')), xpath(item(), variables('sXpathFilterLanguageCodeFallback'))),\r\n'\"}')"
+ }
+ }
+ },
+ "Compose:_single_choice:_xml": {
+ "runAfter": {
+ "Select:_single_choice:_get_label_for_language": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "86664864-7bcd-43aa-b760-a16b7284f76b"
+ },
+ "type": "Compose",
+ "inputs": "@xml(json(concat('{ \"root\": { \"arr\": ', body('Select:_single_choice:_get_label_for_language'), '}}')))"
+ },
+ "Select:_single_choice:_labels_for_a_field": {
+ "runAfter": {
+ "Compose:_single_choice:_xml": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "d0d0b2b3-1fea-4ddb-a843-515a367c8248"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@body('Parse_JSON:_single_choice:_Attributes_Metadata')?['value']",
+ "select": {
+ "LogicalName": "@item()?['LogicalName']",
+ "Options": "@json(concat('[', join(xpath( outputs('Compose:_single_choice:_xml') ,concat('//',item()?['OptionSet']?['Name'],'/text()')),','),']'))"
+ }
+ }
+ },
+ "Parse_JSON:_Attributes_Metadata_multichoice": {
+ "runAfter": {
+ "Invoke_an_HTTP_request:_Get_Entity_Attributes_MultiChoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "be688538-797c-4e5e-9e93-2d3d716e2f5e"
+ },
+ "type": "ParseJson",
+ "inputs": {
+ "content": "@body('Invoke_an_HTTP_request:_Get_Entity_Attributes_MultiChoice')",
+ "schema": {
+ "type": "object",
+ "properties": {
+ "value": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "LogicalName": {
+ "type": "string"
+ },
+ "OptionSet": {
+ "type": "object",
+ "properties": {
+ "Name": {
+ "type": "string"
+ },
+ "OptionSetType": {
+ "type": "string"
+ },
+ "ParentOptionSetName": {},
+ "Description": {
+ "type": "object",
+ "properties": {
+ "LocalizedLabels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Label": {
+ "type": "string"
+ },
+ "LanguageCode": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "Label",
+ "LanguageCode"
+ ]
+ }
+ }
+ }
+ },
+ "DisplayName": {
+ "type": "object",
+ "properties": {
+ "LocalizedLabels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Label": {
+ "type": "string"
+ },
+ "LanguageCode": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "Label",
+ "LanguageCode"
+ ]
+ }
+ }
+ }
+ },
+ "Options": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Value": {
+ "type": "integer"
+ },
+ "Color": {},
+ "Label": {
+ "type": "object",
+ "properties": {
+ "LocalizedLabels": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Label": {
+ "type": "string"
+ },
+ "LanguageCode": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "Label",
+ "LanguageCode"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "Value",
+ "Label"
+ ]
+ }
+ }
+ }
+ }
+ },
+ "required": [
+ "LogicalName",
+ "OptionSet"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "Select:_multi_choice:_get_OptionSetNames": {
+ "runAfter": {
+ "Parse_JSON:_Attributes_Metadata_multichoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "2d2029bf-0fa4-4ae2-a1e0-6e6c6d3a0704"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@body('Parse_JSON:_Attributes_Metadata_multichoice')?['value']",
+ "select": "@item()?['OptionSet']?['Name']"
+ }
+ },
+ "Set_variable:_arrOptionSetNamesMultiChoice_(unique)": {
+ "runAfter": {
+ "Select:_multi_choice:_get_OptionSetNames": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "591b6d89-cc52-41a1-be35-4c40577cf028"
+ },
+ "type": "SetVariable",
+ "inputs": {
+ "name": "arrOptionSetNames_MultiChoice",
+ "value": "@body('Select:_multi_choice:_get_OptionSetNames')"
+ }
+ },
+ "Select:_multi_choice:_flatten_object": {
+ "runAfter": {
+ "Set_variable:_arrOptionSetNamesMultiChoice_(unique)": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "6357d096-8d14-4b0f-b131-dc080662f415"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@body('Parse_JSON:_Attributes_Metadata_multichoice')?['value']",
+ "select": {
+ "@{item()?['OptionSet']?['Name']}": "@item()?['OptionSet']?['Options']"
+ }
+ }
+ },
+ "Compose:_multi_choice:_json_to_xml": {
+ "runAfter": {
+ "Select:_multi_choice:_flatten_object": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "0fa57442-b5fc-4004-b31d-523c095f914a"
+ },
+ "type": "Compose",
+ "inputs": "@xml(json(concat('{ \"root\": { \"arr\": ',union(body('Select:_multi_choice:_flatten_object'),body('Select:_multi_choice:_flatten_object')), '}}')))"
+ },
+ "Select:_multi_choice:_get_label_for_language": {
+ "runAfter": {
+ "Compose:_multi_choice:_json_to_xml": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "afa83005-9133-47c4-9168-0023ba07234c"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@xpath( outputs('Compose:_multi_choice:_json_to_xml'), '//arr/*')",
+ "select": {
+ "@{xpath(item(), 'name(/*)')}": "@concat(\r\n'{\"Value\":',\r\nxpath(item(), 'string(//Value)'),\r\n',\"Label\":\"',\r\ncoalesce(xpath(item(), variables('sXpathFilterLanguageCode')), xpath(item(), variables('sXpathFilterLanguageCodeFallback'))),\r\n'\"}')"
+ }
+ }
+ },
+ "Compose:_multi_choice:_xml": {
+ "runAfter": {
+ "Select:_multi_choice:_get_label_for_language": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "5339bc7b-8278-4ecd-8149-da92311cec29"
+ },
+ "type": "Compose",
+ "inputs": "@xml(json(concat('{ \"root\": { \"arr\": ', body('Select:_multi_choice:_get_label_for_language') , '}}')))"
+ },
+ "Select:_multi_choice:_labels_for_a_field": {
+ "runAfter": {
+ "Compose:_multi_choice:_xml": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "b6fb90d1-58b2-496c-8656-51d8877d48b0"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@body('Parse_JSON:_Attributes_Metadata_multichoice')?['value']",
+ "select": {
+ "LogicalName": "@item()?['LogicalName']",
+ "Options": "@json(concat('[', join(xpath( outputs('Compose:_multi_choice:_xml') ,concat('//',item()?['OptionSet']?['Name'],'/text()')),','),']'))"
+ }
+ }
+ },
+ "Set_variable:_arrResultsSingleChoice": {
+ "runAfter": {
+ "Select:_single_choice:_labels_for_a_field": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "7f55a1cc-1945-493a-970d-2ef39361cb48"
+ },
+ "type": "SetVariable",
+ "inputs": {
+ "name": "arrResultsSingleChoice",
+ "value": "@body('Select:_single_choice:_labels_for_a_field')"
+ }
+ },
+ "Set_variable:_arrResultsMultiChoice": {
+ "runAfter": {
+ "Select:_multi_choice:_labels_for_a_field": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "35acb821-8aad-4776-8b9f-014853ac27fb"
+ },
+ "type": "SetVariable",
+ "inputs": {
+ "name": "arrResultsMultiChoice",
+ "value": "@body('Select:_multi_choice:_labels_for_a_field')"
+ }
+ },
+ "Set_variable:_arrResults": {
+ "runAfter": {
+ "Set_variable:_bSuccess_=_true": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "efccdec6-457d-420b-a8c9-2e30503355af"
+ },
+ "type": "SetVariable",
+ "inputs": {
+ "name": "arrResults",
+ "value": "@union(variables('arrResultsSingleChoice'),variables('arrResultsMultiChoice'))"
+ }
+ }
+ },
+ "runAfter": {
+ "Initialize_variable:_arrResultsMultiChoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "49664d1a-dfa2-49ee-8e01-eee8029c18b2"
+ },
+ "type": "Scope"
+ },
+ "Scope:_Error_Handling": {
+ "actions": {
+ "Filter_array:_get_Errors": {
+ "runAfter": {},
+ "metadata": {
+ "operationMetadataId": "f9ed3e5d-bc09-45a2-ac2c-5f24789521fc"
+ },
+ "type": "Query",
+ "inputs": {
+ "from": "@result('Scope:_retrieve_Attribute_Metadata_for_Choice_fields')",
+ "where": "@equals(item()?['Status'], 'Failed')"
+ }
+ },
+ "Select:_get_actions_and_errors": {
+ "runAfter": {
+ "Filter_array:_get_Errors": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "4f6269cb-bfed-4a4a-abc6-20d685df3312"
+ },
+ "type": "Select",
+ "inputs": {
+ "from": "@body('Filter_array:_get_Errors')",
+ "select": {
+ "Error": "@{item()?['name']}: \" @{item()?['outputs']?['body']?['message']}\""
+ }
+ }
+ },
+ "Set_variable:_sError_Message": {
+ "runAfter": {
+ "Select:_get_actions_and_errors": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "6d62052b-7e3c-4d58-9df9-6ebd5e4cdb61"
+ },
+ "type": "SetVariable",
+ "inputs": {
+ "name": "sErrorMessage",
+ "value": "@{join(body('Select:_get_actions_and_errors'), ',')}"
+ }
+ }
+ },
+ "runAfter": {
+ "Scope:_retrieve_Attribute_Metadata_for_Choice_fields": [
+ "Failed",
+ "TimedOut"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "afdee7da-1027-400b-b760-86147d8a3d56"
+ },
+ "type": "Scope"
+ },
+ "Initialize_variable:_sErrorMessage": {
+ "runAfter": {
+ "Initialize_variable:_bSuccess": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "b993950a-531c-4231-b5e0-2cfcdc477d99"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "sErrorMessage",
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "Initialize_variable:_bSuccess": {
+ "runAfter": {
+ "Initialize_variable:_arrResults": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "cf3e4e0b-dec0-4765-9a4d-9502369f34f9"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "bSuccess",
+ "type": "boolean",
+ "value": "@false"
+ }
+ ]
+ }
+ },
+ "Initialize_variable:_arrResults": {
+ "runAfter": {},
+ "metadata": {
+ "operationMetadataId": "aa444ab2-55c9-4a64-949c-832d1a3b856d"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "arrResults",
+ "type": "array",
+ "value": []
+ }
+ ]
+ }
+ },
+ "Initialize_variable:_sXpathFilterLanguageCode": {
+ "runAfter": {
+ "Initialize_variable:_sErrorMessage": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "71b4fbff-d0ef-422f-8aa2-1bcc8f05ced3"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "sXpathFilterLanguageCode",
+ "type": "string",
+ "value": "@{concat('string(//LocalizedLabels[LanguageCode=', triggerBody()['text_1'], ']/Label)')}"
+ }
+ ]
+ }
+ },
+ "Respond_to_a_Power_App_or_flow": {
+ "runAfter": {
+ "Scope:_Error_Handling": [
+ "Succeeded",
+ "Failed",
+ "Skipped",
+ "TimedOut"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "efa7d617-b4da-4047-bad0-97988eade3b5"
+ },
+ "type": "Response",
+ "kind": "PowerApp",
+ "inputs": {
+ "statusCode": 200,
+ "body": {
+ "results": "@{variables('arrResults')}",
+ "error_message": "@variables('sErrorMessage')",
+ "success": "@{variables('bSuccess')}"
+ },
+ "schema": {
+ "type": "object",
+ "properties": {
+ "results": {
+ "title": "results",
+ "x-ms-dynamically-added": true,
+ "type": "string"
+ },
+ "error_message": {
+ "title": "error_message",
+ "x-ms-dynamically-added": true,
+ "type": "string"
+ },
+ "success": {
+ "title": "success",
+ "x-ms-dynamically-added": true,
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "Initialize_variable:_arrOptionSetNamesSingleChoice": {
+ "runAfter": {
+ "Initialize_variable:_sXpathFilterLanguageCodeFallback": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "54d63f17-be14-49a9-b920-dce46e20d00e"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "arrOptionSetNames_SingleChoice",
+ "type": "array",
+ "value": []
+ }
+ ]
+ }
+ },
+ "Initialize_variable:_arrOptionSetNames_arrOptionSetNames_MultiChoice": {
+ "runAfter": {
+ "Initialize_variable:_arrOptionSetNamesSingleChoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "18f19c71-1bfd-42d0-a853-5056568e9523"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "arrOptionSetNames_MultiChoice",
+ "type": "array",
+ "value": []
+ }
+ ]
+ }
+ },
+ "Initialize_variable:_sXpathFilterLanguageCodeFallback": {
+ "runAfter": {
+ "Initialize_variable:_sXpathFilterLanguageCode": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "71b4fbff-d0ef-422f-8aa2-1bcc8f05ced3"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "sXpathFilterLanguageCodeFallback",
+ "type": "string",
+ "value": "@{concat('string(//LocalizedLabels[LanguageCode=', triggerBody()['text_2'], ']/Label)')}"
+ }
+ ]
+ }
+ },
+ "Initialize_variable:_arrResultsSingleChoice": {
+ "runAfter": {
+ "Initialize_variable:_arrOptionSetNames_arrOptionSetNames_MultiChoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "fd194124-a136-4210-a1e3-d55c9a77ece0"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "arrResultsSingleChoice",
+ "type": "array",
+ "value": []
+ }
+ ]
+ }
+ },
+ "Initialize_variable:_arrResultsMultiChoice": {
+ "runAfter": {
+ "Initialize_variable:_arrResultsSingleChoice": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "f1aa7a3a-7a0d-4da2-a7ff-75d69efa9787"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "arrResultsMultiChoice",
+ "type": "array",
+ "value": []
+ }
+ ]
+ }
+ }
+ }
+ },
+ "templateName": ""
+ },
+ "schemaVersion": "1.0.0.0"
+}
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedChoiceValues-07CA3022-6FD9-EF11-A730-6045BD2A5498.json.data.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedChoiceValues-07CA3022-6FD9-EF11-A730-6045BD2A5498.json.data.xml
new file mode 100644
index 00000000..ec4cdf41
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedChoiceValues-07CA3022-6FD9-EF11-A730-6045BD2A5498.json.data.xml
@@ -0,0 +1,25 @@
+
+
+ /Workflows/GetLocalizedChoiceValues-07CA3022-6FD9-EF11-A730-6045BD2A5498.json
+ 1
+ 0
+ 5
+ 0
+ 4
+ 0
+ 0
+ 0
+ 0
+ 0
+ 1
+ 2
+ 1
+ 1
+ 1.0.3.0
+ 1
+ 1
+ none
+
+
+
+
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedchoicevalues-test-8ED5AFC9-99F2-EF11-BE20-002248748335.json b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedchoicevalues-test-8ED5AFC9-99F2-EF11-BE20-002248748335.json
new file mode 100644
index 00000000..9c827497
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedchoicevalues-test-8ED5AFC9-99F2-EF11-BE20-002248748335.json
@@ -0,0 +1,170 @@
+{
+ "properties": {
+ "connectionReferences": {},
+ "definition": {
+ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ "$authentication": {
+ "defaultValue": {},
+ "type": "SecureObject"
+ }
+ },
+ "triggers": {
+ "manual": {
+ "metadata": {
+ "operationMetadataId": "1220fa36-0d3e-4725-a59f-7f8102f73412"
+ },
+ "type": "Request",
+ "kind": "Button",
+ "inputs": {
+ "schema": {
+ "type": "object",
+ "properties": {},
+ "required": []
+ }
+ }
+ }
+ },
+ "actions": {
+ "Run_a_Child_Flow:_Get_Localized_Choice_Values": {
+ "runAfter": {
+ "Initialize_variable:_sxPathQuery": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "03549bac-e562-4730-a58a-d2d69ab3ee8a"
+ },
+ "type": "Workflow",
+ "inputs": {
+ "host": {
+ "workflowReferenceName": "07ca3022-6fd9-ef11-a730-6045bd2a5498"
+ },
+ "body": {
+ "text": "kk_example",
+ "text_1": "1031",
+ "text_2": "1033"
+ }
+ }
+ },
+ "Condition": {
+ "actions": {
+ "Parse_JSON:_attributes_metadata": {
+ "runAfter": {},
+ "metadata": {
+ "operationMetadataId": "e2ba6fd6-0650-466c-8203-0daf60074b10"
+ },
+ "type": "ParseJson",
+ "inputs": {
+ "content": "@body('Run_a_Child_Flow:_Get_Localized_Choice_Values')?['results']",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "LogicalName": {
+ "type": "string"
+ },
+ "Options": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "Value": {
+ "type": "integer"
+ },
+ "Label": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "Value",
+ "Label"
+ ]
+ }
+ }
+ },
+ "required": [
+ "LogicalName",
+ "Options"
+ ]
+ }
+ }
+ }
+ },
+ "Compose:_Json_to_Xml": {
+ "runAfter": {
+ "Parse_JSON:_attributes_metadata": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "61f4628d-a248-46f2-a26d-63c018075d0a"
+ },
+ "type": "Compose",
+ "inputs": "@xml(json(concat('{ \"root\": { \"arr\": ', body('Parse_JSON:_attributes_metadata'), '}}')))"
+ },
+ "Compose:_targetgroup[339870000]=Interne_Mitarbeiter": {
+ "runAfter": {
+ "Compose:_Json_to_Xml": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "9900ec3e-3241-4424-8802-d96778a1ce69"
+ },
+ "type": "Compose",
+ "inputs": "@xpath(outputs('Compose:_Json_to_Xml'), concat('string(', replace(replace(variables('sxPathQuery'), '{fieldName}', 'kk_targetgroup'), '{fieldValue}', '339870000'), ')'))"
+ },
+ "Compose:_kk_country1[756]=Schweiz": {
+ "runAfter": {
+ "Compose:_targetgroup[339870000]=Interne_Mitarbeiter": [
+ "Succeeded"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "ca234dd3-a440-4630-828f-dc058c383510"
+ },
+ "type": "Compose",
+ "inputs": "@xpath(outputs('Compose:_Json_to_Xml'), concat('string(', replace(replace(variables('sxPathQuery'), '{fieldName}', 'kk_country1'), '{fieldValue}', '756'), ')'))"
+ }
+ },
+ "runAfter": {
+ "Run_a_Child_Flow:_Get_Localized_Choice_Values": [
+ "Succeeded"
+ ]
+ },
+ "expression": {
+ "equals": [
+ "@bool(outputs('Run_a_Child_Flow:_Get_Localized_Choice_Values')?['Body']?['success'])",
+ "@true"
+ ]
+ },
+ "metadata": {
+ "operationMetadataId": "bfad896d-22fa-4b98-a8bc-2e5f26b6ea10"
+ },
+ "type": "If"
+ },
+ "Initialize_variable:_sxPathQuery": {
+ "runAfter": {},
+ "metadata": {
+ "operationMetadataId": "661a1995-e6d1-4d7c-a462-73d60e353bdc"
+ },
+ "type": "InitializeVariable",
+ "inputs": {
+ "variables": [
+ {
+ "name": "sxPathQuery",
+ "type": "string",
+ "value": "//arr[LogicalName=\"{fieldName}\"]/Options[Value={fieldValue}]/Label"
+ }
+ ]
+ }
+ }
+ }
+ },
+ "templateName": null
+ },
+ "schemaVersion": "1.0.0.0"
+}
\ No newline at end of file
diff --git a/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedchoicevalues-test-8ED5AFC9-99F2-EF11-BE20-002248748335.json.data.xml b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedchoicevalues-test-8ED5AFC9-99F2-EF11-BE20-002248748335.json.data.xml
new file mode 100644
index 00000000..27174628
--- /dev/null
+++ b/samples/utility_flow_get_localized_choice_options_for_dataverse/sourcecode/UtilsGetLocalizedchoicevaluesforrecord/src/Workflows/GetLocalizedchoicevalues-test-8ED5AFC9-99F2-EF11-BE20-002248748335.json.data.xml
@@ -0,0 +1,27 @@
+
+
+ /Workflows/GetLocalizedchoicevalues-test-8ED5AFC9-99F2-EF11-BE20-002248748335.json
+ 1
+ 0
+ 5
+ 0
+ 4
+ 0
+ 0
+ 0
+ 0
+ 0
+ 1
+ 2
+ 1
+ 1
+ 1.0.0.0
+ 1
+ 0
+ 1
+ 0
+ none
+
+
+
+
\ No newline at end of file