String Template

Modified on Wed, 22 Jun 2022 at 10:29 AM

String Template

The String Template allows you to interpolate strings with variables using this format: ${variable}.

The String Template will take in at least one string, which will be named in the Config section under Properties in the Inspector. You can then use that input's Name to create a template which can fit the Name in a preset dialog.
In the example above, on the successful response from a Request, we are taking the parameter "name" from the object we got as a response, and then putting it in the String Template to set our Text label as "Hello, ${name}". So if the response had a name that was "Riley", our template would say "Hello, Riley".

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article