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 / Canvas PowerApps Form ...
Power Apps
Answered

Canvas PowerApps Form Not Allowing Editing of Lookup Column in Dataverse

(1) ShareShare
ReportReport
Posted on by 18
I've got a powerapps setup for certain requests that our team wants tracked and handled in the application, so I set up a canvas app for input that temporarily has another screen for editing.
 
Using the built in powerapps templates, the request screen is a pretty simple form using powerapps forms that I added data cards to, and the editing screen is similarly relatively simple, with a table getting data from dataverse and a form for editing. The table are set up as one main table for requests, and then a table of US States (this has two columns, name and abbreviation) that I use a lookup column for in the main table. 
 
Our issues come in when using the lookup column, it seems I can submit things just fine and they show up in the main table with the proper US state, but another individual whom I gave full security access to the main table, and read security access to the lookup table, cannot submit using the form without the lookup combobox clearing  and it throwing an error. I'm unsure if this is a permissions error, the app didn't refresh properly, or perhaps something else.
 
The same data card doesn't show any data in it when trying to use the editing form, nor does it save any changes. It is set to a default of ThisItem.State (the column is called state) with the datafield being the lookup column, the update is set to StateDataCardValue.Selected. The combobox doesn't show anything for the item even though it does have a value in the dataverse table and I have no idea why. I've tried using a patch function similar to how this: Solved: Save Lookup column in submit form powerapps pos set it up, but it doesn't seem to apply anything no matter what I do. I have a similar issue of the 'Created On' column also not showing any value despite being populated in dataverse, and I've tried many changes to how that data is passed (converting it to text, reformatting the datetime object) but it doesn't seem to show up in powerapps at all. 
 
My workaround for the lookup column is just creating a choice column instead, but I figured I'd ask for other workarounds before going that route.
Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    Have you tried giving Append permissions on the lookup table to the relevant user - I believe it needs this to bind the relationship,
     
    Also Created On is a system read-only field - is the control you are displayng it in a Label or something that can be updated ?
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
     
     
  • JR-12081713-0 Profile Picture
    18 on at
    At first, I had Created On in a regular editable DataCard. Thinking that editing a read-only could be the issue, then I tried moving it to a view-only DataCard and still nothing, I then tried just putting it in a text field and it still showed nothing (after several iterations of converting it between forms). And the Lookup column still shows no data when in a DataCard, and takes no edits.
  • Verified answer
    WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    Did you give the other users the permissions I suggested ?
     
    Also all you need to display to 'Created On' is a Text Label inside any Data Card in a Form (which needs to be displayng a record) with 
    ThisItem.'Created On'
    or 
    Text(
        ThisItem.'Created On',
        DateTimeFormat.ShortDate
    )
     
    Please ✅ Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn  
  • JR-12081713-0 Profile Picture
    18 on at
    I gave them the other permissions and that at least solved the submission issue. 'Created On' still does not display after your instructions, though other fields are populated with data.
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    There is something else wrong here as either piece of code should display that field (it is one of the most basic references). Below is a test app I have - I simply added the 'Created On' field and it added a Text Label with the value automatically.
     
    Please âœ… Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider answering Yes to Was this reply helpful? or give it a Like â™¥
    Visit my blog 
    Practical Power Apps    LinkedIn  
     
     
     
  • JR-12081713-0 Profile Picture
    18 on at
    It may be due to the premade templates I used since they are in preview, I might spin up a fresh app and do more from scratch to see how it works since I'm not sure what other issue it could be, I've made no other customizations. It isn't incredibly necessary for the current application, and the permissions issue solved my other problem, so I appreciate the help in that regard
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    So this can now be closed as solved ?
  • JR-12081713-0 Profile Picture
    18 on at
    Yes, thank you.
  • WarrenBelz Profile Picture
    155,838 Most Valuable Professional on at
    Can you please mark the first part (user permissions) as solved.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard