A Create Page for an associated object

0
Hello, I'm dealing with a little problem at the moment. I want to create a "Create_Commissie" page for my associated objects: "Commissie" and "Vrijwilliger", but i only get errors of my reference set selector when I try to add this to my App. I have added an image of my Domain model and an image of what I want to make it look like. I have also added an image of what I have currently. I hope somebody could help me with this issue. Domain model: How it needs to look: What is cuurently have: (PS. page button goes to the New_Create page)    
asked
2 answers
0

I think you should split two things:

  1. How do I create new vrijwilligers?
  2. How to add vrijwilligers to a commissie?

So create a new button to create a new vrijwilliger. I would use a microflow for that to create the new vrijwilliger object and then show the Vrijwilliger_NewEdit form.

Now how to add that vrijwilliger to the commission. If you place the create new button when you are already in the dataview of a commissie it could be solved by setting the reference directly in the microflow for part 1. Otherwise you need the reference set selector. With this selector you can add vrijwilligers to the current set.

Edit your question if you get stuck somewhere and we will help you further.

Regards,

Ronald

 

answered
0

Hi atze de groot, you can solve this by right clicking on the input reference set selector
 and select generate select page, where a page get generated for selecting the volunteers
for mapping to a particular commission. If there are no volunteers showing in that page then you may add a
create button for creating volunteers in that newly generated page and then select that volunteer .

answered