Set control value using button action

I would like to have a button that will assign a value to a control outside the table (a select box for example).

My use case is this: I have a tasks table in one page, and a “task details” page in the other, which gives a very detailed task page with lots of related information and lots of tables (this offers me something more flexible than using a customized layout of detail view).

I want to push a button in a task row, that will put a reference to that task in a control.
The control is then used as a filter for the entire detail page.

Here’s an example for what I wished I could do:

And here’s a workaround I have right now:

1 Like

Hye…

I put a solution direktly in your doc.

With a filter, you can select the first Row in your Filter Table to change the value in this row:
image

Hope this helps you

Thank you!

That’s what I’m already doing in the “workaround” section. I was hoping for something more elegant, as this feels very “hacky”. I think that an action to change a value in a control would be useful for many scenarios and eliminate the use of single row tables.

ok, maybe i didn’t quite understand the goal.

I use such a filter table for everything. This is then located separately on an admin page. So it is also possible that each user gets his own filtered view. Look at this tip from @Paul_Danyliuk… this helped me a lot.

Greez

2 Likes

Thank you!
That is indeed a nice solution for multi-user cases.
However, I was talking about exactly what he says is impossible here at around 19:20:

This is not a “how to” request - I understand the how to. This is rather a feature request - I think it would be beneficial and less cumbersome to be able to populate a canvas control via an action than having to go through the long setup of what he’s describing.

It’s a quality of life improvement, not a game changer.

1 Like

Another use for this? A “Clear” button for canvas controls (reset a lookup to “blank”, for instance).

3 Likes

Yeah, this would be useful.

I think in general a nice solution to this problem would be some kind of lightweight Store object. I often find that there are times when I want to add a new lookup table to my system, but I don’t need a full blown table. I need something much more lightweight (basically a nested list).

Similarly, in new pages I find that I don’t really want to make a full table to store the contents of a list, I just want a small nested list.

Adding formulaic control over controls would certainly be nice, but I think tables give us a decent workaround for now.

Hi Oded! Hopefully this is a bit easier than your amazing workaround moving forward :slight_smile:

Hi Andrew, where can I find instructions on how to implement this button? I know how to insert a button, I got that far, but how do I add more than one control and how do I make it reset the values? Thank you

1 Like