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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

PCF lookup control

Posted on by
Hi,
 
I created a pcf control to show my lookup field as a dropdown list, the pcf work fine except for one thing it cannot get the view id of the lookup field (if it can't find the view id it simply fetch the whole table). 
I'm using the context.parameter.lookup.getViewId() method to get the view id but it's always null. I then tried to check the form in Classic Mode, saved and publish from there and now the getViewId() method work fine and return the id but the lookup control aren't showing up in the UIC mode now...
 
Anyone knows what could cause this weird behaviour ? Is it the version of some librairie in the package.json file in the PCF?
 
Thanks in advance!

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 893

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 482

Last 30 days Overall leaderboard

Featured topics