Regarding {activity name}.xaml.json files for custom Library projects

I recently stumbled across a very helpful feature: I found that there is a “Widget” property in the JSON files for my custom Library’s activity arguments. By default, this property is set to null, but if you change it to “Toggle” (for an argument that is a Boolean data type), it replaces the default value textbox for your argument with an ON/OFF switch!

Example JSON using the “Widget” property:

How the custom Activity card’s argument looks before/after editing the “Widget” property:

I also discovered the “Tooltip” property, which lets you provide helpful text for your argument, explaining to your users what type of data is expected for that argument.

My question is this: Where can I find more detailed documentation for this? I’ve searched for it to no avail. For example, I would love to read about other available “Widget” values that might be used for an associated argument (if any exist), or perhaps other properties that could enhance our users’ experience in the accompanying *.xaml.json file for our custom libraries.

Thanks in advance!

Ron Turrentine

There’s an interface for doing all this. Right-click the XAML file and click Activity Layout.

Thank you, postwick! I appreciate your quick & helpful reply. I never knew about the Activity Layout interface. This answers all of my questions.

Kind regards,

Ron

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.