Skip to main content
1-Visitor
January 24, 2020
Solved

Button label/display name as output

  • January 24, 2020
  • 3 replies
  • 1365 views

Hi,

Is it possible to fetch the button label or display name as a output in runtime. We know that the button doesn't have input/output arrows option to bind any service for its name. But we wanted to take the display name or label of button in the runtime. So, is there any other possible way to achieve this?

 

Thanks in advance,

Shalini V.

Best answer by Rick-Stanley

You could also bind the ContextID to both the button's `Label` property, and to another service at the same time. You would then set the value displayed on the button by setting the ContextID. This configuration would let you use the value that is displayed on the button as the input into another service

buttonContextBinding.PNG

 

3 replies

22-Sapphire I
January 24, 2020

Buttons have 'context id' that you can use to provide information from the button.

then together with the event router you can track a multi-set of buttons that are being used.

Another way would be the 'option button / button bar' that uses a state based definition.

5-Regular Member
January 24, 2020

You could also bind the ContextID to both the button's `Label` property, and to another service at the same time. You would then set the value displayed on the button by setting the ContextID. This configuration would let you use the value that is displayed on the button as the input into another service

buttonContextBinding.PNG

 

Support
February 3, 2020

Hi @svisveswaraiya_285988.

 

If one of the previous replies answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon