Saving referenced records

Is there a way of saving referenced records automatically.

To create a job I have to
Create a customer
create a bike(to be repaired)
create a job
add items
then press save, save, save, save.

Can the saving process be streamlined?

1 15 793
15 REPLIES 15

You could look at reducing the number of subtables if you donโ€™t need a one-to-many relationship

Other than that the only other thing to look art might be a detailed view with editable columns.; But that would only benefit updates to records.

The KPI that I measure my apps against is this - Do I have to enter the same information any more than once, anywhere? If so then that needs imporving.

Hope this helps

Simon@1minManager.com

They are almost all new records and I am only entering the same info once - but customers own multiple bikes and bikes have multiple jobs.

Something to considerโ€ฆ
Sometimes if itโ€™s a workflow thing you can get pretty craftyโ€ฆ So you just spelled out your workflow for a new customerโ€ฆ So execute that with actionsโ€ฆ Conditionally change the save button to โ€œnextโ€ or even better โ€œadd bikeโ€ โ€œadd jobโ€ then use navigation actions set to on save of the formโ€ฆ Something like a LINKTOFORM can go miles hereโ€ฆ Then you have a special starting view, on probably itโ€™s own sliceโ€ฆ Titled โ€œNew Customerโ€

Then basically, after youโ€™ve put in the customer details, you would be hitting next, which makes more sense, and kills the inception, also you can cancel the workflow at anytime to bail, while still having had added the customer and their first bikeโ€ฆ I would setup the initial add assuming 1 customer, 1 bike, 1 job w/ multiple itemsโ€ฆ Then you could always go back and add more bikes and jobs after the initial add workflow

That perfect cos its like real life, but its going to challenge my basic skills. I am already stuck on the first bit - [quote=โ€œGrant_Stead, post:4, topic:12170โ€]
Conditionally change the save button to โ€œnextโ€ or even better โ€œadd bikeโ€
[/quote] How?

CONTEXT(VIEW) tells you the view nameโ€ฆ
Then in the localization tab, add in your expression. IF context then โ€œadd bikeโ€ else โ€œsaveโ€โ€ฆ If you have quite a few then use SWITCH

Sorry you have to be more basic. How do I change the โ€œsaveโ€ button? Where do I put the expression?

@sales_bikefix Hereโ€™s a video of me muddling it all upโ€ฆ
2X_2_25414a0fbbf7e4386ffddc0722a84afa169ce38a.png

Thats really the last thing you should doโ€ฆ
The first is to create a set of custom views position REF for that business process, BPโ€ฆ You can create those form views Customer_BP_Form, Bike_BP_Form, Job_BP_Form, etcโ€ฆ
Customer_BP_Form might be a menu view cause that kicks off your business process, and give it cool display name, โ€œNew Customer w/ Jobโ€ So then when a user clicks that in the menu it will start them out on Customer_BP_Form. That can apply to the localization for the save button.
For the next layer, when you โ€œsaveโ€ that Customer_BP_Form it actually needs to kick off a navigate action, LINKTOFORM, to Bike_BP_Form, pre-populated with the customer ID in the bike_REF_customer fieldโ€ฆ

Phew! Do you have to do all that in a slice? Is that so you can limit the fields in the input forms? Where do you put the LINKTOFORM? Are these in the actions or the workflow?

Slices are an effective way of controlling various aspects of the app. So, you canโ€ฆ But depending on your situation, you might not need to. Made you another video. Now I need to get back to work.
2X_7_750765de60caffa17ff0f87ae66060b76e0dd3f5.png

You nailed the process. This is exactly what I have to do.

The final link in the chain is the items - When I add an item to the job details form I need to be presented with a drop down for โ€œcategoriesโ€ which then filters the items in the next drop down, as there are hundreds of them. I have been trying to do it with a VC that reads all the category fields but it doesnโ€™t work or I just donโ€™t know the syntax.

Have you got more videos out there?

I am also thinking a whole new BP for existing customers which takes you from finding the customer, straight to create a new job for the existing bike.

Had a frustrating time with this until I read โ€œForm Saved action is only applied in top level formsโ€.

Its OK I can still use the process but not with a slice, which means I have to have all the default fields in the form.

Well, with this new method you shouldnโ€™t have any nested forms that need a form save navigate action.
Youโ€™re statement is misunderstood I think. When you mark a record as IsAPartOf, and then while youโ€™re filling out a form, you can jump right into child records to add themโ€ฆ Thatโ€™s what you WERE doing. We blew that up, and now youโ€™re doing navigate actions, so you need to recycle and kill those so that you donโ€™t even see themโ€ฆ

Also, you could have an initial view that is actually a gallery view of your business processโ€™ that when that you can apply an โ€œOn Record Selectโ€ action to navigate to the kick off form. Pretty cool way of doing it.

Of course all of this is some pretty advanced stuff. Also you can use that context function to show/hide various columns, etcโ€ฆ

Top Labels in this Space