cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Button label/display name as output

svisveswaraiya
17-Peridot

Button label/display name as output

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

View solution in original post

3 REPLIES 3

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.

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

 

Hi @svisveswaraiya.

 

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

Top Tags