Is "New" Data master action broken in the new version??

Jesse Cotari shared this problem 5 years ago
Solved

I'm losing my mind! I've been finishing up a prototype which was working (mostly) before I updated JustInMind. Now, for the life of me, I can't get a new field created in a data master.


Procedure:


Create new data master, give it two fields


Drag the data master to the canvas to make entry boxes


Create a data grid, link it to the data master


Create a button, add an event:


On click


DataMaster Actions


Select the data master's radio button.


Click "New"


Link the entry boxes to the appropriate fields on the data master.


440fbeb9000ecc8728ac9b3612b6f126


Everything looks good. Test things out. Nothing.


I even set up a control event to be sure the button was working:


Create text label. Set text to "Seems broken," set it hidden by default.


Add new action to the button to Hide/Show the text label.


Simulate. Click the button. Only thing that happens is that "Seems broken" shows up. Which was my conclusion as well.


It's entirely possible this is a user error thing, but I'm following the tutorial video EXACTLY and not getting a damn thing. Frustrated is definitely the descriptor here.

Comments (12)

photo
1

Update: I can make this work in a test prototype if I have the data entry form and the data grid on separate pages. In the prototype I care about, though, I need them on the same page.

photo
1

Take a look at this other tutorial. You're just missing an event to refresh your data grid:


http://www.justinmind.com/usernote/te...

photo
1

Could you be more specific? It's not clear which part of that tutorial is the "refresh" event. It seems like this is the section:


Select 'set value' and then select the 'variables' tab. There, create a new variable and select it. Push the 'calculator' button and drag the row to the expression. Press the ok button twice. Click on the arrow icon next to the word 'do' and select 'add action'. Select 'set value', select the text that will display the attribute 'first name', push the 'calculator' button and build this expression...


I'm following those steps exactly, but that isn't updating the grid.


I'm trying to start from an empty data table, then have the user add rows using an on-page field and button. It seems that the above set of steps might only apply in the case where there's an extant field that will be updated by the button. Is that true?


(As a side note, it seems that refreshing a grid is a pretty important function for simulating data, and that instead of needing to add three different interactions to make that happen, there could be a self-contained "refresh" action.)

photo
1

wwwwooooops sorry, wrong tutorial. I meant this one:


http://www.justinmind.com/usernote/te...


The refresh is just a set value action on the data grid and, as the value, you have to create an expression with just the data master

photo
1

Aha! This could be just the thing. I'll give it a shot and let you know.

photo
1

Yes! That works!


Thanks for solving the problem!

photo
1

I followed exactly


http://www.justinmind.com/usernote/te...


but it did not work for me. when pressing the button, nothing happened later. Please let me know how to figure it out. thanks

photo
1

Hi,


could you send me some screenshots of your prototype? I need to see how you created the event.


Best regards

photo
1

the picture of the prototype after adding all stuffs.


21e2c29672d0069efe2748c6e8946221


add new data master item


reassign the samples by data master 'record action save'


running simulate


Hope you could figure out the problem. Thank you in advance.

photo
1

It seems that all is ok. Would you mind sending us your prototype in order to check it? send it to jim.support@justinmind.com


thanks

photo
1

Just sent the prototype to your email. Please take a look it. I'm kinda rush to finish my class. Cheers

photo
1

hey, have you received the email and figured it out ?