cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

collecting data not working properly

1. I have made an app for field testing using sharepoint excell list

On the front page i have sorterd my values with a serch box

 

SortByColumns(Filter([@Medarbetare]; StartsWith(ID1; TextSearchBox1.Text) || StartsWith(Djup; TextSearchBox1.Text) ||StartsWith(Jordartsklassning; TextSearchBox1.Text)||StartsWith(Provtagningsmetod; TextSearchBox1.Text)||StartsWith(Anmärkning; TextSearchBox1.Text)); "Title"; If(SortDescending1; Descending; Ascending))

 

this workes fine but i would like to save collection and have it be emaild to the user.

So i have made a new screen and a button to collectekt the data from my detailscreen 

 

Collect(Data; {Id: ID_Value.Text;Djup: Djup_Value.Text;Jordartsklassning: Jordartsklasning_Value.Text; Provtagningsmetod:Provtagningsmetod_Value.Text;Anmärkning: Anmärkning_Value.Text;Latitude: Latitude_Value.Text; Longtitude: Longtitude_Value.Text})

 

But it only collects one data, id like to put in sevral findings and have them show in my collection tabel to then email. and is it possible to have the attached picture sent in the tabel?

 

here is my tabel 

"<h3>Översikt Av Sparad Provtagnings data</h3>" &

"<table width='100%'> " &


"</table> <br>" &

"<strong> Provtagningsdata: </strong>" &
"<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" &
"<tr style='background-color:#efefef'>
<th>Id</th> <th> Djup </th> <th> Jordartsklassning <th> Provtagningsmetod </th><th> Anmärkning </th></th><th> Latitude</th><th>Longtitude</th>

<tr>" &
Concat(Data;
"<td>" & ID_Value & " </td> <td>" & Djup_Value & " <td>" & Jordartsklasning_Value & " <td>" & Provtagningsmetod_Value & "<td>" & Anmärkning_Value & " <td>" & Latitude_Value & " <td>" & Longtitude_Value & " </td>";"</tr><tr>") &
"</table>"

 

Thank you!

1 REPLY 1
Highlighted
Community Support
Community Support

Re: collecting data not working properly

Hi @MelisaG92 ,

 

By "tabel", I suppose that you mean "table".

Did you mean that you want to send this attached image as the attachment of email in PowerApps, or did you mean that you want to send a table as the email body?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,274)