Hi! I have a button configured on an Input Form:
<input enabledIf="" label="Refresh Paths" type="button">
<enter>
<!-- Run the workflow to find any missing paths -->
<soapCall name="RefreshPaths" service="ssg:fileSystemCleanupConfig">
<param type="boolean" xpathOut="/tmp/@dummy"/>
</soapCall>
<reload/>
</enter>
</input>
Similarily, I have a command configured on a Nav nodeModel:
<command desc="Refresh Paths" label="Refresh Paths" name="refreshPaths">
<soapCall name="RefreshPaths" service="ssg:fileSystemCleanupConfig">
<param type="boolean" xpathOut="/tmp/@dummy"/>
</soapCall>
</command>
Both call the same SOAP service method, and that method does not require a record context. The method implements functionality that is not related to any selected record.
In both cases, the button / Action command menu item is not cilckable / selectable if there are no records in the UI.
Is there a way to make by buttons clickable / call their SOAP methods, even when the there are no records displayed? I only want the button and menu items available for that particular form, which I think rules out Global Commands as a solution?
Thanks!