how to set string data inside of an edit box in the dashboard?

how to set string data inside of an edit box in the dashboard?

laura_vasquez1
Not applicable
43 Views
6 Replies
Message 1 of 7

how to set string data inside of an edit box in the dashboard?

laura_vasquez1
Not applicable
 
0 Likes
Accepted solutions (1)
44 Views
6 Replies
Replies (6)
Message 2 of 7

kari_payton
Not applicable

Do you mean how to link it to a variable or text from a global table or another part of the model? @Laura Vasquez

Message 3 of 7

laura_vasquez1
Not applicable

I want to display num data inside the edit box or dynamic box from a calculation inside of one buttom

0 Likes
Message 4 of 7

kari_payton
Not applicable

@Laura Vasquez I'm still not sure how to help. If you can, attach your model. There was also a past post here with an example model that may answer your question.

0 Likes
Message 5 of 7

matt_long
Not applicable
Accepted solution

Dashboard model input widgets can be linked to nodes in the model. If an edit field or dynamic text field is tied to a node that has number data, the number will be displayed. If the node has string data, the string will be displayed. This can be done by creating the desired model input widget and then using the eye dropper to the right of the Link box to sample the desired node or table cell.

If you need the field to show some mathematical calculation, you'll need to either set the value of the calculation to a node in the tree or a table cell, or you can set it to an int or double global variable (the model input widgets can also be tied to global variables).

Message 6 of 7

asb_praneeth
Not applicable

@Matt Long

Can we use dashboard widgets to change the value of variable in the model? for example value of global table?

0 Likes
Message 7 of 7

matt_long
Not applicable

Yes. If you use an Edit or a Table and tie those to a cell in a global table (or an entire global table for the Table), then changing it in the dashboard will change it in the global table. This works for any nodes in the tree and for global variables as well.

0 Likes