Finally we can stick buttons to items declaratively

published on

In my current project, there was a requirement to place a button on the TextItem itself. Previously, i.e. before APEX 22.2, this had to be done in the PostText-Item area. Here you had to insert the Html-code for a button and include a possibly existing action via DynamicActions, which was then bound to a corresponding selector.

Today, with the current APEX version (22.2) we can implement the entire functionality declaratively. For this purpose, the text item to be extended is placed in a new region of the type Item Container. This region offers slots to place one or more buttons at the beginning or at the end of the item. These are then configured as usual in the Property Inspector.

Great, thanks to the APEX team!