Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Answered

Getting Customer dynamically to Create Case record from SharePoint

Posted on by 465

Hi All,

I am using Sharepoint List and Microsoft flow to create a Case record in CRM

Currently I have hard coded Customer field with known Guid. How can I get it dynamically or how to map SharePoint Customer to Flow Customer

Here is my existing screen shot.

pastedimage1591071433608v1.png

Thanks in Advance

Regards,

Babu

  • Suggested answer
    Nikhil Ummagani Profile Picture
    Nikhil Ummagani 5 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Babu,

    could you please let me know what are the lists you created and items in that,please post here

    Thanks

    Nikhil

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Hao,

    I have changed Customer value to D365 contact and removed the Loop. My problem has been solved.

    Regards,

    Babu

  • Verified answer
    LuHao Profile Picture
    LuHao 40,866 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Babu,

    This is because you chose Contact in "List contacts" instead of in "Create a new contact record" for Case Customer.

    "Create a new contact record" is a action belonging to D365 (the icon is D365), and the value of Customer in Case is the CDS icon, so you should select the Contact of "Create a new contact record".

    pastedimage1591253557873v2.png        pastedimage1591253542126v1.png

    In addition, I don't think you need to use "Aply to each 6" because only one contact and case will be created each time, which is not a loop. This should be added automatically by using the value of "List contacts" for Case's Customer, so don't forget to remove "Aply to each 6".

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Hao,

    I could able to manage to add following steps to create a customer and case record. But this newly created customer is not showing in newly created Case. 

    Can you please check what went wrong. Here are my steps : 

    pastedimage1591243416275v1.png

    pastedimage1591243516381v2.png

    pastedimage1591243599677v3.png

    Regards,

    Babu

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Hao,

    Thanks for your reply.

    It worked for me. Now I need to add other logic in the Flow.

    Whenever I am not able to find the Customer from Sharepoint in CRM Contacts or Accounts, I need to create a Customer and use that Customer to create the Case record. Please help me with this.

    Regards,

    Babu

  • Suggested answer
    LuHao Profile Picture
    LuHao 40,866 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Babu,

    Change the Filter Query of List contacts and List accounts form Customer to Customer Display Name.

    pastedimage1591170972983v1.png

    pastedimage1591171008682v2.png

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Hao,

    Thanks for your reply

    Yeah I would like to continue to use same type and proceed, Please provide me solution

    Regards,

    Babu

  • LuHao Profile Picture
    LuHao 40,866 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Babu,

    Person or Group generally refers to the internal users of the organization, and is the Active users in Microsoft 365 admin center.

    pastedimage1591168112530v1.png

    That's why I used a single-line text column.

    Are you sure you would continue to use the Person or Group column? If yes, I will find a solution for you.

    So please tell me your idea.

  • Narendra Sunkara Profile Picture
    Narendra Sunkara 465 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Hao,

    Here is screen shot, it looks different type

    pastedimage1591167219438v1.png

    Regards

    Babu

  • LuHao Profile Picture
    LuHao 40,866 on at
    RE: Getting Customer dynamically to Create Case record from SharePoint

    Hi Babu,

    Could you provide a screenshot of the attributes of the Customer column in SharePoint?

    In my demo, it is a single line of text.

    pastedimage1591165732225v1.png

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,572 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,706 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans