17 Feb 2023
Link to this post
I have a related form that is created in the form that launches from the grid. This works fine when creating (I have to disable passing only the first created ID), but when editing, it doesn't pass the related form's primary id field. If I put the related field on a form and try to pass it, creating no longer works as it won't send the newly generated id, it's overwritten by the form field which isn't set yet.
I tried using alternate key to pull back the information using the primary from the main form, but that didn't work either.
What is the standard way to retrieve related form data using the form to create or edit? Please be very specific as the documentation provided did not work when editing.
https://www.crmportalconnector.com/developer-network/documentation/how-tos/mvc-based-widgets/how-to-configure-multiple-entities-on-form