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. Missing user
    Missing user avatar
    28 Mar 2021
    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. Missing user
    Missing user avatar
    29 Mar 2021 in reply to Missing user
    Link to this post
    Did you add the arabicname as an attribute in the fetch? 
  3. Missing user
    Missing user avatar
    29 Mar 2021 in reply to Missing user
    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. Missing user
    Missing user avatar
    30 Mar 2021 in reply to Missing user
    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. Missing user
    Missing user avatar
    Answered
    05 Apr 2021
    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