Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

How to enable lookup field display local languge on Portal aligned with portal user's language preference

Posted on by 92

Hi friends,

I would like to show the local language of the lookup field on the portal. Here is the context:

  1. Language entity(adx_portallanguage):
    1. Name (= English Name+ French Name)
    2. English Name
    3. French Name
  2. Contact entity
    1. language lookup field (adx_portallanguageid) to language entity
  3. Portal
    1. entity forms pointing to the contact entity form

The expectation is to show the right language of CRM content according to the language is selected on the contact's profile page. Then the language pack is enabled in CRM. After contact's language  (adx_portallanguageid) is set as French on its profile web page, the user navigates to another web page using another contact form.  All fields on the entity form using the portal language lookup are switched to French, except the language lookup is still showing the primacy name field which is concatenated with EN name and FR name.

2772.Capture1.PNG

I tried to follow this: https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/web-controls/crmentityformview/language-localization/lookup-language-localization/

But it looks like "LanguageCode" is not available on CrmEntityFormView any more. 

 

Please help if anyone has done this before. Thanks!

  • Charlie Chen Profile Picture
    Charlie Chen 92 on at
    RE: How to enable lookup field display local languge on Portal aligned with portal user's language preference

    Thanks Steve.

    I've read the article before. I don't find anywhere to apply the setting on current version of portal on cloud. It looks like the VS project is not required and the CRMEntityFormView is not exposed anymore.

    I think the right guidance should be this one: https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/web-controls/crmentityformview/language-localization/lookup-language-localization/

  • Steve Yao Profile Picture
    Steve Yao on at
    RE: How to enable lookup field display local languge on Portal aligned with portal user's language preference

    Hi Charlie Chen

    Please refer to the below document for how to use LanguageCode. Thanks

    https://community.adxstudio.com/products/adxstudio-portals/documentation/developers-guide/web-controls/crmentityformview/

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans