Announcements
Will we see support to bind to lookup fields before GA?
@HemantG For option 1, could you be more specific? What is clientAPI? Do we have access to the page context? How can we set the value on the lookup field?
Thanks,
For clientAPI check out the recording from my last business app summit -
For lookup set Value API please refer to docs here.
Also see - How to Get and Set a Lookup Field Using JavaScript in Dynamics 365
WebAPI can also be used to retrive and set the lookup value.
chech this recording from MBAS summit last year for client API - https://www.microsoft.com/en-us/businessapplicationssummit/video/BAS2018-111126
Documenatation for the setValue - https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/clientapi/reference/attributes/setvalue
If I understand this issue correctly there is atm no way to bind a lookup field to a property declared in the manifest? I just encountered this issue and still thinking about a non-hackish way to solve this. Is there a better way than having a hidden field which triggers a workflow when data has been changed and copies it to the lookup field? I'm building an autocomplete and have to retrieve the lookup country id linked to the received iso code.
Update: Creating a duplicate field and adding an addOnChange method in the client-side form did the trick.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 1,045
Valantis 675
11manish 592