PCF-Controls icon indicating copy to clipboard operation
PCF-Controls copied to clipboard

Lookup to dropdown control

Open Szaboot opened this issue 1 year ago • 2 comments

Hello, At first I would like to really thank You for this controller, it is really nice and it works really nicely. I have just one problem - with the display mask. I created two fields same as You new_name1036 and new_name1033, when I put the static field in a mask like this new_name{lcid} it does not change the language of the dropdown. Of course, I'm using the logical names of my fields. Fields are in entity where the lookup is aiming. Value is added to bot columns - new_name1033 and new_name1036. Maybe You know why it is not working correctly? ?

Szaboot avatar Jul 24 '23 14:07 Szaboot

Here is what I have and it's working image

Base language is french so I don't have to create a prefix_field1036

image

And the control settings

image

What I have noticed once is sometimes the need to hard refresh the browser (Ctrl+F5) so that the appropriate language is used

MscrmTools avatar Jul 25 '23 14:07 MscrmTools

ah ah! I just got a similar requirement and it was not working 😄

The localized attributes must be added to the view used by the lookup column

MscrmTools avatar Jul 25 '23 15:07 MscrmTools