GenericActions

The GenericActions component uses a Telerik Menu to display a list of Commands, Events, Wizards, and Actions that are available to the user based on the user’s Roles, the current status of the instance and any other custom rules defined by the business. These are defined by the FormDefinition associated with the display instance data returned by the FormBuilder service.

When a command/event is selected from the list, any changes to the instance data are saved, the REST-WebAPI-Core is called to execute the command/event and then the latest version of the instance is displayed.

Any command/event/wizard that is available on the drop-down list can also be included directly on the page as a button control in a field. This enables a smoother user experience.

IMPORTANT NOTE: If there are no items in the generic actions list then the generic actions dropdown will not be shown.

When viewing a Form Definition of type concept, there will be an additional action displayed called Preview Form. This action will clear the current form cache and generate a preview of the current form, allowing you to visually see what the form looks like in practice and validate any functionality such as state changes are functional.

IMPORTANT NOTE: Over time preview instances can build up and it makes sense to have something in place to periodically clear out all those instances from the Database. To easily identify a preview instance in the database, the ParentGUID, ConceptGUID, and CorrelationGUID will all be the same. Alternatively, you can periodically execute the Purge Preview Instances command available on the UX Creator application, this command will delete all existing preview instances.

Updated on February 13, 2024

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Leave a Comment