locked
Updating Parent Entity field On Click of button from associated view Subgrid RRS feed

  • Question

  • I have two entity A and B. I have a custom button X on the subgrid form of entity B.

    On entity A and B  have a 1 : N relationship.

    My requirement is From  the Subgrid associated view of entity B on entity A when i click on button X it should update a field in Parent Entity A.

    i tried using window.parent.opener it didnt work.

    Please Suggest how can i achieve this ? We are using CRM 2011.

    Tuesday, March 17, 2015 3:04 PM

All replies

  • Hi BajiraoMastani,

    Lets say your A and B entities are Accounts and Contacts. You're on Account's form and you click on Contact's navigation link (Your associated view).

    If you then click on a specific Contact, you can press the Run Workflow button (which can trigger on-demand Workflows, where you can implement the logic to update fields from the Contact or it's parent Account).

    Hope that was helpful,



    Wednesday, March 18, 2015 2:33 PM