How can i create an object during the creation of an other object (not committed yet)?
0
Hi guys. I know that the question may seems strange! I have this domain model: I create the the object “SecurityCheck” through a data view. It is important to associate a “Passenger” in this creation, so i added a selector picker that select a “Passenger” saved in the database. How can i dynamically create a “Passenger” by clicking a button that opens the NewEdit passenger page?
asked
Matteo Shermadhi
1 answers
2
I would approach it as follows;
add a microflow button on the location where user triggers the action.
create a microflow
first activity creates a passenger object
second activity creates a SecurityCheck object
change member: SecurityCheck_Passenger
Value: $NewPassenger
Show page
Dataview
datasource: context
entity: SecurityCheck
required input widgets for attributes SecurityCheck