Skip to main content
October 21, 2020

Dashboard object with conditional formatting. To hide or make grey the object on the dashboard depends on conditions?

  • October 21, 2020
  • 1 reply
  • 0 views
Originally posted by Evgeniy Galanzovskyi

3/11/2020

Example, make the Button not visible if WFPeriod is Jan.

1 reply

October 21, 2020
Originally posted by Jon Golembiewski

This is possible through an XFBR rule. Something like this should work:
Else If args.FunctionName.XFEqualsIgnoreCase(""ButtonVisible"") Then
'Pull in the workflow time
Dim wfTime As String = args.SubstVarSourceInfo.WFTime
'Check the condition and return the format value
If wfTime.XFContainsgnoreCase(""Jan"") Then
Return ""IsVisible = False""
Else
Return ""IsVisible = True""
Then, you call the rule in the Button Component format property:
End If