cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
MelisaG92
Level: Power Up

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
Community Support Team
Community Support Team

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
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

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
Users online (5,540)