web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Building PCF control but need native loop up selection

(0) ShareShare
ReportReport
Posted on by 15

Hi,

We are building a PCF control to display an entire form so we can have complete control over look and feel. However this means we lose the benefit of the look up selection features in the native forms, e.g. select an owner. This is a problem.

I found the lookupObjects function that would allow the user to do this, but management is unhappy with the UX (docked to the right etc.). They would prefer something closer to the lookup type ahead you get OOB.
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-utility/lookupobjects 

We are investigating rolling our own component to essentially replicate the functionality, but it is a big deal and I wanted to explore alternatives. 

Qestions:

  1. I have been on the PCF gallery but don't really see anything that would do this. Does anyone know of a control?  
  2. Might there be a way of controlling where or how the lookupObjects dialog appears, so it could be used as a type ahead search (long-shot I know!)
  3. Are the alternatives other than the above anyone can think of?

Thanks in advance.

Seamus

I have the same question (0)
  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    I am not aware of an alternative to Xrm.Utility.lookupObjects, and also I don't recall a PCF control in the gallery doing something similar but custom (the Quick Edit Form by Clément Olivier uses Xrm.Utility.lookupObjects for the lookups)

    No way to change how Xrm.Utility.lookupObjects appears

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 41

#2
Martin Dráb Profile Picture

Martin Dráb 38 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans