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

E-mailing creator of an item with specific subject

Hi all,

 

I'm building a "E-bay like" app where people can try to sell stuff.

There are 2 screens: a input screen and a overview screen that shows all current items.

The problem is in the overview screen:

This screen has 2 gallery's, one is a overview of all items and the second shows all the details of the, in gallery one selected item. 

When people click the button to place their bid or send a reaction a popup message pops up with a couple textfields.

Label1: their own name - defined by User().FullName

Label2: their bid 

Label 3: their message to the creator

When pressing the send button I would like them to send the info that they've filled in to the original creator of the item that their interested in.

The current syntax is like this:

Launch("mailto:" & glryOverzicht.Selected.created by.email & "?subject=Reactie op advertentie " & Text(DataCardValue39.Text)&"&body=Reactie door: " & txtReactieNaam & "%0D%0A" & "Bod: " & txtReactieBod & "%0D%0A" & "Bericht: " & txtReactieBericht & "%0D%0A" & "%0D%0A" & "%0D%0A");
Reset(txtReactieBericht);
//Reset(txtReactieNaam);
Reset(txtReactieBod);
Set(FormattedNum1,"");
Set(varShowMsgReageer, false)

 

I would also like to have the subject to reference to the title of the selected item. Right now it referres to a DataCardValue, but that one doesn't exist anymore and needs to be replaced with that title.

 

Can anyone help me out with this these issues?

 

Kind regards.

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @stefanhems ,

 

I am thinking you have only 1 Gallery to list all the items and a Form to display detail of the selected item.

 

So, OnSelect of the button which could open the popup need to use Set function to store all the info from the Form's data card values first. 

 

Second, OnSelect of the send button you could store other info that in the popup labels using Set functions as well.

 

At last, use all the variables to replace the parameters in your syntax.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

1 REPLY 1
v-jefferni
Community Support
Community Support

Hi @stefanhems ,

 

I am thinking you have only 1 Gallery to list all the items and a Form to display detail of the selected item.

 

So, OnSelect of the button which could open the popup need to use Set function to store all the info from the Form's data card values first. 

 

Second, OnSelect of the send button you could store other info that in the popup labels using Set functions as well.

 

At last, use all the variables to replace the parameters in your syntax.

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Community Support Team _ Jeffer Ni

If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,639)