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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PCF - set field values...
Power Apps
Unanswered

PCF - set field values on Account form

(0) ShareShare
ReportReport
Posted on by

Hi! 

I am developing PCF that calls webservice method, retrieves accounts from a database and displays them in a dropdown - search as you type functionality. 

 

When user selects account in a dropdown, I would like to display the value of selected option in Account Name Field.

For example - user choose account "Euro Start d.o.o.", so I would like to ONLY display string "Euro Start d.o.o." in field Account Name. User then decides if he would like to save new account with account name "Euro Start d.o.o." or no.

 

Is it possible to achieve that and how? 😄

 

Kind regards, 

 

TjaÅ¡a 

 

tzalar91_2-1598478439005.png

 

 

 

I have the same question (0)
  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @tzalar91 ,

     

    If I get it right, you would need to make your PCF type "field", and register it on your "Account Name" field. So actually you don't need the "Search" control on the form ; you could use autocomplete or a search icon/button inside your PCF). The PCF would have a functionality to retrieve the accounts from the webservice, and show them when you search. When the account is chosen, the PCF just reports the name back to the runtime, and will be automatically saved together with the form.

     

    Hope it helps.

    Kind regards,

    Diana

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard