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
There are many scenarios where we need to generate unique GUID whenever user performs certain action. One of the main scenarios is to link child records with parent records when app is in offline mode. In relationship model, child is linked to parent through Lookup which is complex object and combination of ID and Text fields.
When app is online and connected, this ID is automatically generated by platform (CDS or Dynamics 365). However, in offline mode, we need to generate this ID, or we can say unique GUID for each new parent record created.
Currently within PowerApps there is no inbuilt function to generate Unique GUID. Maybe it will be included in future releases. In this blog we will see how we can use Azure function API to generate unique GUID and consume in PowerApps through custom connector.
Create Azure Function:
return req.CreateResponse(HttpStatusCode.OK, Guid.NewGuid());
Create Custom Connector:
Consume API in PowerApp:
Business Applications communities