uriComponent function. Conversion.(Power Automate Cloud flows)

Japanese version.

URL encode the specified text.

Spec

uriComponent('<value>')
ArgumentDefaultDescription
valueRequired fieldText to convert.

How to use

In most cases, it is used in the "value" when initializing or setting variables of type "String".

Click on the "Expression" tab, uriComponent, and the function name and () will be set in the expression field.

Specify the value to be converted as an argument.

When dynamic content or variables are used in expressions, special specifications are required.

(How to get dynamic content with expressions.)

Click on the button, and if the display looks like the following, the setting is complete.

You can change the function by clicking this purple icon.

For example, uriComponent('https://www.samurai-emblem.com/?test=abc') results in 'https%3A%2F%2Fwww.samurai-emblem.com%2F%3Ftest%3Dabc'.

---

Links

Conversion Functions(Power Automate Cloud flows)