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 Platform Community / Forums / Power Apps / Text field with intell...
Power Apps
Unanswered

Text field with intellisense feature and lookup function - Please help

(0) ShareShare
ReportReport
Posted on by

I want to create a text field where it has two functions:

1st function: I can add a new record by typing in a project name and submit

2nd function: I can add a new record by typing in a project name, then it does an IntelliSense function where it will do a lookup based on the keywords you type. Then if that record (Project name) exists in a table, I can select that record and submit it. How can I achieve this?

Categories:
  • jkic Profile Picture
    150 on at

    You can use a TextInput box to type Search text, then a Gallery below to show records which match the search terms, e.g. Search(TableProjects,TextInput1.Text,"project_name").  If project (search text) exists select desired project in the Gallery, if not, use another button alongside the Text Input box to 'Create New' project.  Not sure exactly what you mean by 'Submit' in each scenario, so I'm assuming you want to View existing record or Add new one.

  • teach20 Profile Picture
    on at

    I want to view the existing record and, at the same time, select it and add it as a record. I found an example on YouTube - https://youtu.be/_75W64G4j_g?t=426 . This one was on SharePoint as a data source and I don't know how to do it in a Dataverse database.

  • jkic Profile Picture
    150 on at

    If you 'view the existing record', you can't 'add it as a record', unless you mean duplicate it, or add it to a different data source.  Perhaps you can clarify.  If you are adding a new record you can use Patch() function, e.g. Patch(Projects,Defaults(Projects),{project_name:TextInput1.Text})  There shouldn't be any difference doing this with SharePoint or Dataverse.

  • Dai_Xin Profile Picture
    41 on at

    Hi @teach20 ,

     

    According these needs that you mentioned, I think the ComboBox control may be the first option for you. 

     

    I assume that you have created a Projects Table in your Dataverse, and it contains Project Name column (SingleLine Text), you could consider add a ComboBox control in your canvas app, and then connect the ComboBox to your Projects Table. Edit the field you want to display in your ComboBox as below:

    Screenshot 2023-01-18 153051.png

    On your side, your need to replace the Full Name field with Project Name field in your table. After that, you could type some keywords to search existing project name if it exists. You could type the new project name within the ComboBox manually (it would not show any option because it does not exist in your Project table)

    Screenshot 2023-01-18 153051.pngIf you want to reference the typed text within the ComboBox when you click submit button, you could use the following formula:

    Screenshot 2023-01-18 153051.png

    ComboBox1.SearchText

     

    Hopes above solution could achieve your needs. 

     

    Best Regards,

    Kris

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard