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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Field mapping on portal

(0) ShareShare
ReportReport
Posted on by

Hello there, i wanna ask a question. Is field mapping work at portal? I wanna copy field value from other entitiy, but at portal the field mapping doesn't work.

Are you have other solution to copy field value from other entity at portal?

Thankyou.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi Aulia,

    You can create a real time workflow to update teh field value. This will work in both CRM & portals.

    Hope this will help.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi Aulia,

    It depends on what type of user experience you are looking for.

    If you want users to see the other entity fields data on Portal form as soon as they open the form, you can go with the below two approaches that I have mentioned below.

    or

    If you want to map the data after record creation from portal, then you can write workflow or plugin on create of that record.

    1. If you want to autopopulate contact fields (like firstname, lastname, email, phone etc) data on any other entity form fields on portal. you can go with Entity Form Metadata.

    2. But, if you want to autopopulate some other entity field data, you can write either liquid template or Odata query on load of Entity Form to pull the data from any of the entity and can autopopupate it.

    Hope it helps.

    Cheers

    Arpit

  • Khanza Profile Picture
    on at

    Hi Arpit, thank you for your answer. I want copy email contact at Profile page to contact us page. And when i use entity form metadata, the entity form must at edit mode?

  • Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi Aulia,

    Entity Form Metadata works for all Insert/Readonly/Edit mode. You can autopopulate any of the portal user's contact fields in Contact Us page.

    Cheers

    Arpit

  • Khanza Profile Picture
    on at

    Hi Arpit, but i want to copy from profile page at portal, the profile web page dont have entity form. How should i do?

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi Aulia,

    Profile Page is nothing but a Contact record of Portal logged In user. Whatever information you see on portal profile page comes from logged In user contact's record.

    So if you want to autopopulate it's data on other Entity Form like Contact Us form, you can create a new Entity Form Metadata on that Entity Form like below, I have autopopulated emailaddress1. In place of 'emailaddress1' you can select your contact field that you want to autopopulate in Contact us page :

    8203.Capture.JPG

    Cheers

    Arpit

  • Khanza Profile Picture
    on at

    i was try it

    6560.Capture5.PNG

    but it doesn't work

    6560.Capture5.PNG

  • Khanza Profile Picture
    on at

    Hi Ravi, i was try it but it doesn't work. Because i want field mapping from profile page to contact us. I want to get who user login at here.

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at

    Hi Aulia,

    It should have work.

    Assuming you are choosing the correct email field in entity form metadata under Attribute part. Because in screenshot I am seeing one lookup Email field also.

    Although if it does not help, try using below syntax in custom javascript:

    $(document).ready(function(){

    var loggedInUserEmail = {{user.emailaddress1}};

    S('#emailfieldid').val(loggedInUserEmail);

    });

  • Khanza Profile Picture
    on at

    Arpit, the if i use entity metadata, am i get attribute from email at contact us page?

    example :

    5822.Capture6.PNG

    And Arpit, Is your code is true? Doesn't have wrong typing at there?

    $(document).ready(function(){

    var loggedInUserEmail = {{user.emailaddress1}}; (Is that true?)

    S('#emailfieldid').val(loggedInUserEmail);

    });

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans