How to find the form to edit?

In the emulator, the bottom of the screen shows the view name and the data table/slice for that view.

In this view, shown, it simply says FORM. Normally, you can click on the name and it will open the form or the table/slice referenced.

I canโ€™t find it anywhere. In this case, I click on a record in a deck view based on the slice shown and it opens this form. I need to attach an action to this form but canโ€™t since I canโ€™t find it. Where can I find it? Thanks.

2X_4_4bab2c0b9dcf0a7ecf3ac93796966c960cb87569.png

Solved Solved
0 12 820
  • UX
1 ACCEPTED SOLUTION

To explain whatโ€™s happening here:
When you make a change to any view in the editor, the emulator automatically switches to the view being changed, so you can see the changes in real-time (for the most part).

For Detail views, it automatically picks the very first record of the table/slice to show, for Form views it automatically picks the form for a new record to show. So since you just made a Form view for a ADD-not-allowed slice, and the Emulator is showing a Form view for adding a new record, you see the error.

It doesnโ€™t really mean anything, since that slice doesnโ€™t allow adds, the user would never be able to open the form as the emulator is currently showing it. You can still create the form, and if it is the only form for that slice, then it will be the form that opens when you click the edit button.

View solution in original post

12 REPLIES 12

I tried to create my own form based on the slice used above but get an error because the slice ONLY ALLOWS EDITS, not adds. 2X_0_0fe6bfd8a5d910a15473848c16273644f63508c8.png

To explain whatโ€™s happening here:
When you make a change to any view in the editor, the emulator automatically switches to the view being changed, so you can see the changes in real-time (for the most part).

For Detail views, it automatically picks the very first record of the table/slice to show, for Form views it automatically picks the form for a new record to show. So since you just made a Form view for a ADD-not-allowed slice, and the Emulator is showing a Form view for adding a new record, you see the error.

It doesnโ€™t really mean anything, since that slice doesnโ€™t allow adds, the user would never be able to open the form as the emulator is currently showing it. You can still create the form, and if it is the only form for that slice, then it will be the form that opens when you click the edit button.

When it says View:Form, this is a auto generated view that does not actually exist as far as I have found. It means there is no system generated view for that table.


Does your UX tab look like this when you find that table/slice?

YES! If it only virtually exists, where can I put an action that Changes Data, when you click save, based on the value of a certain drop down box? I got the action to work on the data entry forms based on a different slice but this โ€˜formโ€™ only allows updates in very select cases.

If you create a view that uses that table/slice, that is not a reference view, appsheet will generate the system views for you. This might be what you need. Not 100% following your case but this system generated view should let you satisfy your needs. I donโ€™t know if this not generating system views until a view that is not a reference is created is a bug or not, @Steve.

Austin, thanks for the tip of making it a NON REF view. That did force AppSheet to create a form view. Unfortunately I get the same error I did before that the slice does not allow new entries.

@Steve How can you create a form that is exclusively for UDPATES? I guess that is what this boils down to. Obviously, AppSheet can do that but then you canโ€™t reach it to add actions.

Looks like youโ€™re making good headway with @Austin_Lambeth. If you two run into a roadblock, gimme another shout. What youโ€™re trying for is definitely doable.

Custom forms should do the trick for that. I have one for my HR app.
Are you using link to form or link to row when trying to edit values?
LINKTOROW([ApplicationMatchID],โ€œMVEFormโ€)
This is how I force my users to update all the necessary fields before submitting their changes.

Iโ€™m using a deck view to select the record to edit. Then Iโ€™m using the default Event Action, Row Selected, Edit. So I guess there is where I need to do what you did? I think that may be beyond my brain capacity, at least right now. Iโ€™ll have to dig into that over the weekend. I really appreciate your help.

Is your โ€œMVEFormโ€ for edits/updates only? If so, how did you create it?

The slice that I use in my MVEForm is update only. This is very odd since I just fired up one of my test apps, made a deck view and set the row selected action to Edit and it worked just as intended. I suggest re-selecting the row selected action because I have noticed โ€œoldโ€ actions being selected ie. Iโ€™ve deleted an action created a new one with the same name and the old action is the one still being used on row select. If it still does not work at that point, I would suggest making a form view and an action that links to that form view to be used as your row select.

@Austin_Lambeth I have no idea what I changed to make it work but it is working now. I left it alone all weekend, made multiple table level column changes today and IT WORKS! I certainly donโ€™t think I changed anything related to this issue but it IS working. Thanks for all your help.

It be like that sometimes. I knew that should have worked so I was kinda concerned that it didnโ€™t at first lol

Top Labels in this Space