web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to map dynamics 36...
Power Automate
Unanswered

How to map dynamics 365 value with Share point list?

(0) ShareShare
ReportReport
Posted on by 25

Trying to create list item on create of dynamics entity record. I am able to map text and Date fields but not 

lookup,optionset and two option fields in dynamics 365, which I want to map with sharepoint list.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi @MahakJain ,

     

    What’s the column types for corresponding Lookup, OptionSet and two options field in SharePoint list?

     

    Per my certain test, I found that Lookup value from Dynamics could not be saved to a Lookup column in SharePoint list, however, they could be saved to Choices, and Yes/No fields without issues.

     

    Please take a try with Choice type of column on your side.

     

    Hope this could be helpful.

     

    Best regards,

    Mabel

     

  • MahakJain Profile Picture
    25 on at

    @v-yamao-msft  thanks for quick response!!

     

    I am new to share point and Microsoft flows. We have look up, Choice type of fields in sharepoint but I have doubt regarding mapping. for example I have Revenue Type in Dynamics 365 as well as in Sharepoint. Now the fields are different so based on expression like IF(D365(Revenue Type == Existing Customer, New Buisness)) Set Revenue Type in sharepoint as EC, NB. How can I achieve this in Microsoft flows? I know about Condition but I have so many fields where I need to set Sharepoint value based on Dynamics 365 field's value. 

     

    Is there any way we can set sharepoint field value based on some dynamics value?

  • Verified answer
    v-yamao-msft Profile Picture
    on at

    Hi @MahakJain ,

     

    You could consider using WDL functions in the flow.

     

    I have made a simple scenario for your reference.

     

    If the button input is Existing customer, returns EC, otherwise, returns NB.

     

    The function I am using is:

    if(equals(triggerBody()['text'],'Existing customer'),'EC','NB')

     

    Then you could use the output of the compose action in the following actions.

    1.PNG2.PNG

     

    More details about WDL functions for your reference:

    https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference

     

    Best regards,

    Mabel

     

  • MahakJain Profile Picture
    25 on at

    Thanks, It worked!! I am using below expression for dynamics 365 option set value comparision

    if(equals(triggerBody()['new_revenuetype'],100000000),'ECNB',if(equals(triggerBody()['new_revenuetype'],100000001),'ECEB','NCNB'))

     

    new_revenuetype is the schema name of the dynamics field and '100000000 and 100000001' are the optionset values. ECEB and NCNB are the sharepoint picklist values.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard