Inserting an ActionResult variable into a Group Box Label

Kinetic UX 2025.2
I don’t know if I am doing this correctly. Please let me know if there is a better way. I am trying to recreate a dialog from our classic customization. We are importing and creating new sales lines from an XML file. If there are existing sales lines this dialog is displayed and the user can choose to append new lines, replace existing sales line or cancel the import. I have created a slide out panel with three buttons and trying to create the message with a group box and a couple of labels. The button logic is working. I want to use the number of rows in the label of the group box, this is stored in an ActionResult variable from a previous function call. How can I do this? Is there a better way?

Original Dialog

New Slide Out Panel

You can put a dynamic value in your message-handler… if that’s what you’re using:

EDIT: ohhh… except, its not :man_facepalming:

sorry. I’ll read more better next time.

No, I am not using a message handler. I have created a custom slide out panel so that I could add my own custom buttons.

To change the label, you need to use property-set. Pass your actionResult value into the labelText property.

But you COULD… just sayin’

I see, it is just like the original dialog used in classic. I was hoping to use more meaningful button names instead of the yes, no and cancel that we have in the classic customization. This gives me an option to fall back on if I don’t get what I wanted working. Thanks

Yeah, they seem pre-defined:

and those correspond with the behavior branches you would build out on your event from the message-handler:

Not sure if you could change the button text somehow via property-set? Never dug that deep.

If the slide out is working, it’d be easier to property-set the label than hack those buttons (as fun a project as that might be).

TIL <br> works in the message though, never thought to try.

I have tried to use the property-set, but it is not working. What event would I use to trigger this? I used

Could you place it before slider-open?

Tried that, it runs without error, but the label doesn’t change.

Can you share how the property-set looks? You can try putting a temporary button that sets the property to determine if property-set needs fixed or if it’s just not being called at the right time.

For now just setting it to “XXXXXX” to see if it works.

Prop would be labelText not LabelTest

starts with lowercase

Oops, corrected it, but still nothing.

Thanks, I went with your solution. I could not get the other solution working 100% and it was too much effort.