Skip to main content


Do we have an example of how you can use IPC (if possible) to simulate the following scenario?



One form Library FormLib1 with an InfoPath form that contains 2 views:


View1:


2 single fields


     (field1, field2)


And repeating table with 3 columns


      (Table1:field4, field5, field6)


 


 View2:


All the fields in view 1 plus:


1 single field


      (field3)


And repeating table with 3 columns


      (Table2:field7, field8, field9)


 


User fills in the information in the form in FormLib1.View1 and submits it. 


 


A task should be created for another User in the second form library FormLib2 with a form with one view that has:


3 single fields :


      (fieldA, fieldB, fieldC)


and one repeating table


      (TableA:fieldD, fieldE, fieldF)


 


After the user submits the form in formlib1, a task should be created in FormLib2 and when the user open the task in formlib2 they should see information the first user entered in Field1 and Field2 of the first form in FieldA and FieldB of the second form and the repeating TableA should look exactly like Table1 in the first form :


 


Using 'F' = Form, 'V' = view, 'f' = field, 't' = repeating table, the mapping should be:


 


F1.V1:f1 -> F2:fA


F1.V1:f2 -> F2:fB


F1.V1:t1 -> F2:tA


 


After modifying and filling the rest of the fields (fieldC) and submitting the form in Formlib2,


the next task should be back in FirmLib1.View2 and


field3 should have the value the second user entered in FieldC. 


 


F2:fC -> F1.V2:f3



So I was thinking IPC event might be the solution but again I can not find enough literature on the event.


Is there any ways that you can walk me through a possible solution for the scenario?


Please let me know if you have any questions.


Be the first to reply!

Reply