cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shazna
Frequent Visitor

Save collections and common data in canvas app

Hi,

 

I creating a form that is designed to save files into SharePoint using image attachment. I am using a collection to get the specific data of the file attached through a gallery. Also, there are some fields that are common for all the files attached. I wanted to combine these two types of data to be stored in SharePoint when the save button is hit. Can someone help me with this, please?

 

Following is the code I am using to combine both- but it throws some errors

ClearCollect(
GalleryCollection,
ForAll(
contractCollectionGallery.AllItems,
{
FileName: Title,
ContentTypeID: ContentType.SelectedText,
DataStream: DataStream,
ContractName:ContentType.Selected.Id

}
)
);
(
ContractDatePicker.SelectedDate
ContractTypeDropdown.Selected.Value;
DepartmentDropdown.SelectedText

 

 

0 REPLIES 0

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,741)