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
Answered

Search edit form

(0) ShareShare
ReportReport
Posted on by 294

Hi guys,

 

In Canvas app, if I put an Edit Form, and then I have a Data table, can I display the 1st item of the Data Table ?

and can Data Table be selected, then my Edit Form will change its records to the selected one ?

 

Any guidance is appreciated.

Thanks

Categories:
  • Verified answer
    Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Voltes 

    You have to have the same datasource for both the edit form and the datatable and for the edit form it cannot be a collection or a variable.  It has to be an actual datasource.   The Item property of the edit form should be Lookup(datasource, ID = Datatable1.Selected.ID).

  • Voltes Profile Picture
    294 on at

    Hi @Drrickryp ,

     

    Forgive me for a quick question, can I use the standard "Unique Identifier" column for the search key ? As this is CDS table, each table has a column (usually with the same column name as the table name) which the data type is "Unique Identifier".

     

    Reason is I don't have a unique column that I created for this table, but even so, when I'm in the formula editor, could not see the "unique identifier" column in options that usually appeared as we type, unless because it is same as the table, I actually had choose it, but there is an error saying I should revise like this :

    Voltes_0-1626106664907.png

     

    Please let me know if I should create new topic for this ? 

     

    Many thanks in advance.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Voltes 

    That should work. You could also just use Datatable1.Selected as long as you don't reshape the datasource in the gallery.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard