cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jeanshak
Level: Powered On

Problem: Add record to List works, but not with a Foto/Image

PowerApps: Add records sharepoint list with an Image 
 
 

hello 

my problem is if I add a foto to the list it doesnt work:

This DO NOT work:

Collect(TestFirstList; { Title: BLDropDown.Selected.BLNR; Gewerk: ThisItem.GEWERKNR; k7ps:ThisItem.BVNR; FOTO:ThisItem.FOTO})

FOTO is a ImageObject in the list TestFirstList
ThisItem is from an actual collection.
The Image ThisItem.FOTO I can see in an Image-View on the App Screen.

This works:
Collect(TestFirstList; { Title: BLDropDown.Selected.BLNR; Gewerk: ThisItem.GEWERKNR; k7ps:ThisItem.BVNR})

 

Any Idea?
Thanks for Reply / Help

Jens Rogge
3 REPLIES 3
Community Support Team
Community Support Team

Re: Problem: Add record to List works, but not with a Foto/Image

Hi @jeanshak,

 

Could you please share more details about the FOTO field?

When the formula not working, could you please share the error messages?

 

I just tested the collect command, it works without issue. The image field from my testing is the HyperLink or Picture type from SharePoint list

 

Collect(PictureData,{Title:ThisItem.Title,Picture:ThisItem.Picture,HyperLink:ThisItem.HyperLink})

Results:

 46.PNG

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
jeanshak
Level: Powered On

Re: Problem: Add record to List works, but not with a Foto/Image

Hello Michael

 

the Foto Object is the in a collection/gallery an image-Object.
the Foto Object is local stored on the device (for offline inspection work of the users).

there is no message; no data will be transfered, with object image.
If I only transfer textfields it works.

Collect(TestFirstList; {Title:BLDropDown.Selected.BLNR; PICTURE:ThisItem.FOTO ; Gewerk:ThisItem.GEWERKNR; k7ps:ThisItem.BVNR})
PICTURE is object in the list, object Picture/not the link, just an image

What kind of object is on your side: ThisItem ? (my is Image)


Collect(PictureData,{Title:ThisItem.Title,Picture:ThisItem.Picture,HyperLink:ThisItem.HyperLink})

best regards 
Jens

PS: is it possible to use from powerapps a onedrive (xlsx-files & images) shared folder for different users?
OR is OneDrive only for "one" user ????

Jens Rogge
jeanshak
Level: Powered On

Re: Problem: Add record to List works, but not with a Foto/Image

Hello Michael,

 

please comment my request:

Collect(PictureData,{Title:ThisItem.Title,Picture:ThisItem.Picture,HyperLink:ThisItem.HyperLink})

What exactly is 

ThisItem.Picture

??? >> Image.Object in a gallery?


here my new request:

https://powerusers.microsoft.com/t5/PowerApps-Forum/Support-Problem-Add-record-to-Sharepoint-works-b...

 

 

Jens Rogge

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,670)