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 / Can't Get Image Collec...
Power Apps
Answered

Can't Get Image Collection Meta Data to Load

(1) ShareShare
ReportReport
Posted on by 5,331 Moderator

I am trying to save image meta data to a Collection.

If I use the following formula in the camera control the image save to the collection, populating the DisplayName, Id, and Value.

Collect(
    Job_Images_Collection,
    {
        DisplayName: Photo_Screen_Image_Dropdown.Selected.Value,
        Id: Photo_Screen_Image_Dropdown.Selected.Value & ".jpg",
        Value: Photo_Screen_Control.Photo   
    }
);


I want to include additional meta data. However, If I use the following formula in the camera control I get and error that says "Incompatible type. The collection can't contain values of this type."

All of the column headings I am using in the formula match those in the gallery. What am I missing? Is it not possible to include the additional meta data?

Collect(
    Job_Images_Collection,
    {
        DisplayName: Photo_Screen_Image_Dropdown.Selected.Value,
        Id: Photo_Screen_Image_Dropdown.Selected.Value & ".jpg",
        Value: Photo_Screen_Control.Photo,
        Image_Description: Photo_Screen_Image_Dropdown.Selected.Value,
        Invoice_Type: Photo_Screen_Invoice_Type_Fld.Text,
        Location: Photo_Screen_Location_Fld.Text,
        Title: Photo_Screen_Location_Fld.Text & " - " & Photo_Screen_Invoice_Type_Fld.Text & " - " & 
                Photo_Screen_Image_Dropdown.Selected.Value & " - " & Photo_Screen_WO_Number_Fld.Text & " - " &
                Photo_Screen_Work_Date_Fld.Text,
        Work_Date:
Photo_Screen_Work_Date_Fld.Text,
        Work_Order_Number: Photo_Screen_WO_Number_Fld.Text
       
    }
);
Categories:
I have the same question (0)
  • Verified answer
    Phineas Profile Picture
    5,331 Moderator on at

    I figured it out.

    I needed to reference a DatePicker for the 'Work_Date' content.

    The following worked.

    Collect(
        Job_Images_Collection,
        {
            DisplayName: Photo_Screen_Image_Dropdown.Selected.Value,
            Id: Photo_Screen_Image_Dropdown.Selected.Value & ".jpg",
            Value: Photo_Screen_Control.Photo,
            Image_Description: Photo_Screen_Image_Dropdown.Selected.Value,
            Invoice_Type: Photo_Screen_Invoice_Type_Fld.Text,
            Location: Photo_Screen_Location_Fld.Text,
            Title: Photo_Screen_Location_Fld.Text & " - " & Photo_Screen_Invoice_Type_Fld.Text & " - " & 
                    Photo_Screen_Image_Dropdown.Selected.Value & " - " & Photo_Screen_WO_Number_Fld.Text & " - " &
                    Photo_Screen_Work_Date_Fld.Text,
            Work_Date:
    Photo_Screen_Work_Date.SelectedDate,
            Work_Order_Number: Photo_Screen_WO_Number_Fld.Text
           
        }
    );

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard