10-21-2020 11:38 AM
3/11/2020
Example, make the Button not visible if WFPeriod is Jan.
10-21-2020 11:52 AM
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