Logo Power Platform Tips & Tricks
  • Home
  • About
  • Posts
  • Tags
  • Glossary
  • Speaking
  • Videos
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo Inverted Logo
  • Categories
  • Adaptive Cards
  • Blogging
  • BPF
  • Canvas App
  • Canvas Apps
  • CanvasApp
  • Command Bar
  • Conferences
  • Copilot Studio
  • Dataverse
  • Dynamics365
  • Generative Answers
  • Github
  • Javascript
  • Microsoft Exams
  • Microsoft Teams
  • Microsoft User Groups
  • Model Driven App
  • Model Driven Apps
  • MSWord
  • Power Automate
  • Power BI
  • Power FX
  • Power Pages
  • Powerapps
  • PowerBI
  • SharePoint
  • Virtual Tables
  • Vouchers
Hero Image
How do I automatically have a GUID in my field?

Usecase I am creating a Model driven app, with a Virtual Table connected to SQL. In my SQL DB I have an external primary key field. How do I get an automatic GUID? The PowerFX code GUID() is not supported on the form. So I tried to do something on the ribbon, set the field, With({I:Last(Werknems).TransactionID},Notify( I, NotificationType.Information)); Patch( Werknems, Defaults(Werknems), //Row, {TransactionID:GUID() } ) However, since my field is mandatory, and it tries to save before it runs this (of course) it was saying the field wasnt filled in. So this didnt work.

  • Virtual Tables
  • Dataverse
  • Javascript
Monday, November 27, 2023 | 3 minutes Read
Hero Image
Dataverse Choices to SQL backend- Update!

  • SQL
  • Virtual Tables
Tuesday, February 14, 2023 | 3 minutes Read
Navigation
  • About
  • Tags
  • Glossary
  • Speaking
  • Videos
Contact me:
  • Bluesky: nathleenders.bsky.social
  • info@nathalieleenders.com
  • Nathalie-Leenders
  • Nathalie Leenders

Toha Theme Logo Toha
© 2025 Copyright Nathalie Leenders. All Rights Reserved.
Powered by Hugo Logo