Updating a Form depending on fields of another form RRS feed

  • Question

  • I have a form in entity A that connects to another entity, Entity B, through the regarding connection.

    When I add records to entity B I want the fields in entity A to be updated depending on what has been put into the fields in entity B.

    Anyone know how I could achieve this?

    Tuesday, September 29, 2015 1:02 PM

All replies

  • Hi,

    You can retrieve entity A record when entity B record is updated. You can use lookup field for entity A present on entity B form. You can use OData or FetchXml to retrieve the parent record.

    • Proposed as answer by P H S Wednesday, September 30, 2015 7:33 AM
    Wednesday, September 30, 2015 7:33 AM
  • Thanks for the reply Purva.

    There is going to be multiple entity B records. When field B in Entity contains certain data then the corresponding field in entity A needs to be updated.

    Have you any example code for doing what you say?

    Wednesday, September 30, 2015 8:43 AM