Notifications
Announcements
No record found.
Hi experts,I have a requirement of creating an inquiry form which shows no of items and no of warehouses against those items which are purchased. I need to add dynamicControl for warehouses because the no of warehouse changes with legal entities. I need to display how many items are being purchased from these warehouses. For example: Item: 001 is purchased from warehouse no: WH-01 3 times. So, I have added multiple dynamic formBuildStringControl. I now want to change the text of these dynamic controls on modify of a control but it's not working on front-end. Can you please suggest me anything? Your suggestions would be a great help to me. Thanks in advance.Here is my code of modified on a control textbox:Here is my code of dynamically adding controls to a grid:Here is my form design:
Here is my form init method where I am calling the addDynamicsControl method where controls are dynamically added.My addDynamicControls is working perfectly but controls.text is not reflecting in front-end. I did debug my code and I found out that the controls.text stores the text however, it is not reflecting in front-end. Please ask any further information you need.
Hi Arif, Are you getting buffer in controls (Line# 84).
Yes, I am getting the buffer.
Hi Mohit Rampal ,
I have debugged the code and as you can see in the below picture, the text is working fine in the backend and I am also getting the buffer.
Hi sir (Mohit Rampal , goshoom ),
Can you please help me.
You'll be a better off if you create a report rather than a form. Both SSRS and Power BI have a matrix control for this purpose.
Please check this old thread to go through challenges in creating form controls dynamically at runtime.
community.dynamics.com/.../dynamically-add-fields-to-a-from-grid-control
As Martin mentioned, reports will be best fit, if still you need form then you can explore usage of temporary tables in this case.
Have you checked this?
community.dynamics.com/.../524007
Yes Bharani Preetham Peraka ,
I have gone through it, I am getting the buffer as well and the text is reflecting in backend using debugging but it is not reflecting in frontend.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 449 Super User 2025 Season 2
Martin Dráb 422 Most Valuable Professional
BillurSamdancioglu 239 Most Valuable Professional