I created a custom EDIT form in PowerApps for my company's phone list (which was created by my predecessor from the default SPO Contacts app). One of the columns (fields) is the Contact Photo, which is type "HyperLink or Picture".
If I edit an employee in QuickEdit mode, I can paste a URL of the photo into that column and it will save and display the photo. But when I edit that specific employee (calling the custom EDIT form), it only display the link, but I cannot select the field nor paste into it.
I've checked the DisplayMode on the DataCard and it is set to EDIT, but I still can't click into the field when I run the app. What am I running into here?
Hi @gpence ,
Do you mean that you can not edit Contact Photo field in sharepoint custom form?
I've made a similar test but not met the same problem like your description.
Here's my test:
1)field's data type
3)run the custom form, could edit this field
Yes, that is what I mean.
In compairson to your test:
1) The content type in the list settings is showing as "Hyperlink or Picture" on the summary page, (shown in my OP above) and if I click into that column (to edit it), it is showing as "Picture". If I change that to "Hyperlink", it will only show the URL in our Phone List and not the actual photo (and I tested using that, but I still can't click into the Contact Photo field (DataCard) on the SP custom form).
2) I do note that my DataCard is showing as Label instead of Input Text (as shown in your example)...
and 3) I still can't select the Contact Photo column (field) when the Custom Edit form is called (shown in my OP above).
I'm not sure why my DataCard for the Contact Photo is showing as a Label (which I am now fairly certain is the problem). Why would it be showing as a Label when my other DataCardValues are Input Text?
Update: I've deleted my original DataCard and added a new Contact Photo and it is also configured as a Label instead of an Input Text... wth? What am I doing wrong here?
Can anyone help me figure out why my DataCardValue is coming up as a Label instead of an Input Text? I've tried removing that field and re-adding it, but I still am finding that I can't select the field (column) on my PowerApp custom EDIT form when I try to edit the list record. The field is showing as a Label instead of an Input Text field containing the URL of the employee's Contact Photo.
Well, I'm not sure where that column is getting its information from - the appres:/ links are for internal app resources.. If you insert an image into a powerapp while designing, it embeds that within the App and stores it locally within the .msapp file - this appres link then points to an internal file within the PowerApp, not an external resource.
I tried replicating your issue multiple ways but was unable to get it to do the same.
Have you tried creating a new column (Hyperlink, not Picture) - and then try to use that within the form?
Hi @gpence ,
After I made a lot of tests and I think I've found the reason why you met this problem.
Do you use sharepoint custom form?
The reason why you met this problem is that picture field is read-only in PowerApps.
|Column type||Support||Default cards|
|Picture||Yes (read-only)||View image
Here's a doc about sharepoint list in PowerApps for your reference:
So there are two solutions:
1)use classic form, not custom form.
In classic form, the picture column could be edit.
You could change back to classic form here:
choose list setting:
choose form setting:
choose "use sharepoint default form"
2)insist in using custom form, change this form's data type to hyperlink.
In powerapps, this data type supports read and write.
I really appreciate the feedback. Unfortunately, I can't change back to the default forms because we are hiding several fields (with personal info) which were being exposed using the default forms, and I can't easily change to just a URL in that column because that wouldn't display the employee photo on the contact list (which is a requirement for our use). I decided to just display the label (I hid the DataCard Value) and changed the label to read "Use quickedit mode to paste the URL" I saved and published and now when in the SP list I get nothing when I click on the +New link, or when I select a user and click on the Edit link. I've checked my SP Integration and it looks correct to me... what did I do?? I even restore to a version 3 days ago and republished and it still doesn't work. I've refreshed my data connection. Restarted my browser and rebooted my machine and I can't get those functions to work in IE or Chrome.
Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.
Fill out a quick form to claim your user group badge now!
Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities
Features releasing from October 2019 through March 2020
Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.
Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications