Forums

Forums / General Discussions / TPC Form - Lookup - Display Attribute other than name

TPC Form - Lookup - Display Attribute other than name

5 posts, 1 answered
  1. Diana Diana Correa (MiddleEast)
    Diana Diana Correa (MiddleEast) avatar
    10 posts
    Registered:
    10 Feb 2021
    28 Mar
    Link to this post
    We have lookup entity on the form and we have two cultures enabled for our site. If we are in english we want to display "name" field values and if we are in arabic we want to display "arabicname" field values. The dropdown is working absolutely fine on English but when we change the display attribute to "arabicname" we are getting values as "undefined". We are using Portal connector version6.
  2. Eric Mann
    Eric Mann avatar
    9 posts
    Registered:
    16 Oct 2020
    29 Mar in reply to Diana Diana Correa (MiddleEast)
    Link to this post
    Did you add the arabicname as an attribute in the fetch? 
  3. Diana Diana Correa (MiddleEast)
    Diana Diana Correa (MiddleEast) avatar
    10 posts
    Registered:
    10 Feb 2021
    29 Mar in reply to Eric Mann
    Link to this post
    Yes Eric. We did add the arabic name in fetch XML. We tested the fetchXML through XRMToolbox and it works fine there. We get the values needed.
  4. Eric Mann
    Eric Mann avatar
    9 posts
    Registered:
    16 Oct 2020
    30 Mar in reply to Diana Diana Correa (MiddleEast)
    Link to this post
    I wonder if it's due to the characters in Arabic language. Have you tried to display another field on same entity, lookup and form without those characters, assuming 'name' field is primary field?
  5. Diana Diana Correa (MiddleEast)
    Diana Diana Correa (MiddleEast) avatar
    10 posts
    Registered:
    10 Feb 2021
    Answered
    05 Apr
    Link to this post
    The issue got resolved when we used the same fetch xml both in english and arabic form which contains both name and namearabic attributes. Somehow, the TPC Form takes up the fetch xml for English version when we are on arabic form when the sync is enabled.
5 posts, 1 answered