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

Upload images to Flow

Hi

 

Prior to creating a flow. I wanted to confirm my code was functioning as expected. I used the below code.

Collect(PictureList,
	{Image:UploadedImage1.Image,
	ID:Concatenate(AuditNumber.Text, " - ", Text(Today(),
	"[$-en-US]dd/mm/yy")," - ",
	Text(CountRows(PictureList)),
	".jpg")
	};
    UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } )
)

I was expecting to see the following

  • Gallery displaying the image.
  • Collection showing ID and image.
  • Variables displaying a text string.

Checker.pngCollections.pngVariables.png

As you can see from above nothing yet the code shows no errors and I'm perplexed as to why.

 

Can you help.?

 

Thank you.

 

P.S. Remove the code below and ID and image are shown in the Gallery and Collection displays ID and Image.

UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } )
1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Upload images to Flow

Hi @CABIRD ,

 

I test with the formula expression as next, and get the FinalData as the screenshot shwows:

Collect(PictureList,
{Image:UploadedImage1.Image,
ID:Concatenate(AuditNumber.Text, " - ", Text(Today(),
"[$-en-US]dd/mm/yy")," - ",
Text(CountRows(PictureList)),
".jpg")
}
);UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } );ClearCollect(test,{FinalData:FinalData})

 

20190419finalData.PNG

 

Best Regards.

Yumia

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Upload images to Flow

Hi @CABIRD ,

 

I test with the formula expression as next, and get the FinalData as the screenshot shwows:

Collect(PictureList,
{Image:UploadedImage1.Image,
ID:Concatenate(AuditNumber.Text, " - ", Text(Today(),
"[$-en-US]dd/mm/yy")," - ",
Text(CountRows(PictureList)),
".jpg")
}
);UpdateContext( { FinalData: Concat(PictureList, ID & "|" & Image & "#") } );ClearCollect(test,{FinalData:FinalData})

 

20190419finalData.PNG

 

Best Regards.

Yumia

View solution in original post

CABIRD
Level: Powered On

Re: Upload images to Flow

Hello  @v-yuxima-msft 

 

Thanks so much I spent many hours yesterday trying to comprehend the error. 

 

Best wishes

Christopher

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 63 members 3,472 guests
Recent signins:
Please welcome our newest community members: