I have a form contains multiple views. One List A Item List View and another List A Item List View. Once new row item added in List A, I would like to know how to pass List A new item ID to List B List View. Basically List A is parent list and List B is child list. I have tried to Out Mapping the ID to List A View parameter after new list item added and transfer this parameter value to List B but all is empty from List A parameter. Please help and thank you!
It sounds like what you are trying to do is what is commonly called a header/detail form. This is pretty common and I think there's even an exercise example in the help files. Here is a quick rundown of the steps. Since you must work across 2 different views, these rules will be in your form.
1. Use a rule commit the row to the datasource in the first view using the SmartObject.
2. You should get back some sort of unique identifier. Map this return to the SmartObject property holding the identifier.
3. Use this returned ID as input to the SmartObject for the 2nd view to return the updated result list.
You could put the output ID in list B's parameter, but I think you will have to use an explicit Transfer Data rule instead of just relying on mapping the output of the SmartObject to the view.
Hi David,
How do I perform the 2nd step since Output Mappings onlny limits to its SmartObject, I cannot map the new ID to different SO. Please advise.
Thanks!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.