Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
we have a requirement in which 2 entity forms from different entities to be rendered on same web Template. Both entity forms will have multiple tabs to fill. We are hiding the OOB Submit buttons of both entity forms and using a custom Button to submit the data from both forms to CRM. For this, we are using a method to call the click event of both entity forms on Custom button click. We are facing some problem here. Data is not saving to CRM every time we click the Custom button. Sometimes it saves and sometimes it does not.
Did you customize a plug-in on server to execute the operation after clicking the button?
You can debug your code step by step and check for program issues or logical conflicts.
Hope it helps.
It may be the steps you are trying to do is not executing in similar manner all the time, did you try to put alert using js and see when you click on the button it display them correctly and you can debug you js code to see if it's executing steps correctly.
Entity forms is not designed to allow multiple instances on the same page.
I suggest create another empty page (page template without header/footer) with only second entity form and include it into first web-template as iframe.
And on submit trying to submit both forms. (inner and than original).
In your custom button, trigger the submit of the forms like below
//you can insert additional logic here prior to calling below actions
I am new to development. How to get Form1_id and Form2_id here.
Business Applications communities