Hi everyone, I have Dynamics 365 Online.
I have an entity called TrialEntity that has two field on the main form, let's call them A and B.
An onchange event is triggered on A, and a webresource opens. The webresource allows users to choose a value from a drop down list and to press a Submit button. On that button click the chosen value must be inserted in the B filed on TrialEntity.
I can't figure out how to do this except from using code shown below
parent.Xrm.Page.getAttribute("B").setValue("*value retrived goes here*");
Unluckilly the previous line of code is not working since the GetAttribute gives me a null object as return. Can someone give me a piece of advice on how to update?