Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PolyLookup: Dropdown values disappear when FetchXML passed in Lookup View #173

Open
shaharyar-z-ali opened this issue Sep 19, 2024 Discussed in #172 · 3 comments
Open
Assignees
Labels
component: PolyLookup status: info needed ℹ️ More information or details are required to address the issue or problem

Comments

@shaharyar-z-ali
Copy link

I'm passing a FetchXML in the lookup view box to make search enabled on name rather than the primary name column. When I'm doing this, the dropdown list becomes empty and nothing is shown when I search.

Please correct me if I’m doing something wrong

FetchXML:
<fetch> <entity name="crcbd_EmployerContactRepository"> <attribute name="crcbd_ContactID"/> <attribute name="crcbd_Name"/> <attribute name="crcbd_ContactNumber"/> <attribute name="crcbd_ContactPosition"/> <attribute name="crcbd_Email"/> <order attribute="crcbd_ContactID" descending="false"/> <filter type="and"> <condition attribute="statecode" operator="eq" value="0"/> <condition attribute="crcbd_Name" operator="like" value="%{{PolyLookupSearch}}%"/> </filter> </entity> </fetch>

Screenshot component:
image

Screenshot output:
image

@khoait
Copy link
Owner

khoait commented Sep 21, 2024

@shaharyar-z-ali thanks for reporting! I'll look into this!

@khoait
Copy link
Owner

khoait commented Sep 25, 2024

@shaharyar-z-ali it's working ok for me. can you check which version of the polylookup you're using? can you also validate the fetchxml is working correctly?

@khoait khoait added the status: info needed ℹ️ More information or details are required to address the issue or problem label Oct 28, 2024
@khoait
Copy link
Owner

khoait commented Dec 6, 2024

@shaharyar-z-ali can you try again with the new release v1.1.1.0 and let me know? please have a look at the new lookup view configuration here: https://github.com/khoait/DCE.PCF/wiki/PolyLookup#lookup-view

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: PolyLookup status: info needed ℹ️ More information or details are required to address the issue or problem
Projects
None yet
Development

No branches or pull requests

2 participants