
Posted on
Get Localized choice values for Dataverse record
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 (seeLanguages tab options).
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.
Get Localized choice values for record
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 followingparameters:
Parameter name | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
Table name | The logical name of dataverse entity, as defined inProperties / 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 #"Invoke an HTTP request" action, calling the following endpoints:
The flowreturns the following values:
Importing solutionWhen 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. Using the flowTheGet Localized choice values - test flow provides an example on how to use the results returned by theGet Localized choice values flow. To speed up the retrieval of the localized label, the results from the child flow are converted into an The
The
When building real-life solution, you would define the You may download the solution with Power Automate workflow including the above examples fromPower Automate Utils GitHub repo. Top comments(0)Subscribe For further actions, you may consider blocking this person and/orreporting abuse „Simplicity is the ultimate sophistication”- Leonardo da Vinci
[8]ページ先頭 ©2009-2025 Movatter.jp
|