Hi Fabian,
The simple solution would be to have button A inside the data view and button B outside the data view.
Then use some css to only show one button, e.g. by using first-of-type or something similar.
-Andrej
Fabian,
Because there is no entity to display when the microflow source returns no object, the UI has no 'place' to display the button. In other words, the dataview doesn't have an object, so the button inside the dataview can't be placed on the page.
An idea to accomplish this: return a 'parent' entity with an association to your original entity. If the association is empty, display one button, if it is not empty, display another.
Mike
Hi Fabian,
What works (but is not that pretty) is to do conditional visibility using a random boolean attribute of the object. If you put everything in a container with visibility based on attribute (for example) isActive and check both True and False, the object will not be shown if its empty, and show up if it exists.