Skip to main content
Solved

Conditionally display button

  • July 21, 2021
  • 1 reply
  • 277 views

Forum|alt.badge.img+3

In Aurena 10 I have a custom Commandgroups button (ExecuteAction), on the Change Request page, linked to an API.

How can make it so that this button will only show when certain conditions on a Change Request are met?

An example of this is the out of the box “Create CO” button that will only show when the EcoNo is null and the Objstate is Active (Not Cancelled or Preliminary). It uses this script in the Enabled configuration of the button.

{"and":[{"==":[{"var":"record.EcoNo"},null]},{"!=":[{"var":"record.Objstate"},"Cancelled"]},{"!=":[{"var":"record.Objstate"},"Preliminary"]}]}

When I grab this and enter it for my button under the Enabled configuration it does not work. The button always shows on the page all the time.

Thanks.

Best answer by LakmaliRD

Hi @ChaFerrellC ,

This functionality is not available at the moment. We are looking forward to implement this on IFS Cloud.

Cheers!

This topic has been closed for replies.

1 reply

LakmaliRD
Hero (Employee)
Forum|alt.badge.img+15
  • Hero (Employee)
  • Answer
  • August 4, 2021

Hi @ChaFerrellC ,

This functionality is not available at the moment. We are looking forward to implement this on IFS Cloud.

Cheers!