How to configure a button on an "Input Form" or Nav "nodeModel" that can be clicked even when there are no records displayed? | Community
Skip to main content
Level 2
October 5, 2024
Question

How to configure a button on an "Input Form" or Nav "nodeModel" that can be clicked even when there are no records displayed?

  • October 5, 2024
  • 0 replies
  • 362 views

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!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.