Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Populate custom field with GUId

(0) ShareShare
ReportReport
Posted on by 5

Hi all

i want to populate a custom field I add to a contact with the auto generated GUID, this is so I can sync it with a third party tool that won’t sync the GUId but will sync custom fields

can anyone help?

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Populate custom field with GUId

    Hi,

    I don't have exact same example but you can do something like this

    1. After you have imported that workflow utility, Create Workflow on Contact

    2. You can select On Create event

    3. Under Workflow designer following this step

    workflow1.jpg

    4. Add a Update Step from Add Step and click on Set Properties and follow below steps (Instead of the descript field selected here you need to first select your custom field where you want to set the GUID and then follow right hand side steps

    workflow2.jpg

    Let me know if you are facing any issue.

  • Ian uk Profile Picture
    Ian uk 5 on at
    RE: Populate custom field with GUId

    HI Mehan

    I have tried to follow the instructions but i seem to miss the part where I can use this to populate a custom field. do you have an example?

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: Populate custom field with GUId

    Hi,

    You can write your onw code to do this thing, you can have script which will only trigger if record is created from the GUID, or you can have workflow/plugin which will trigger in every case (record created from UI or using any other application).

    If you don't want to write code you can use this workflow utility

    Dynamics-365-Workflow-Tools (github.com/.../Dynamics-365-Workflow-Tools)

    This utility provides different options one of them is get record id

    github.com/.../GetRecordID.md

    Which you can use to set your custom field.

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.

Helpful resources

Quick Links

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans