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

How to insert an image into the HelpDesk template

Hello everyone, I am using the mobile help desk template, and I can add the power so that the user can insert an image, if I can say what to do or what steps to take. Thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft v-siky-msft
Microsoft

Re: How to insert an image into the HelpDesk template

Hi @Francis2811 ,

 

I have made a test, please see this GIF.

StoG_6.gif

The steps:

1. Add Image field in the ClearCollect() in OnStart property of App. (App's example data)

Snipaste_2019-11-22_12-05-30.png

2. CreateTicketScreen:

        Add AddPicture control at bottom of 

        Add 'Image: AddMediaButton1.Media' formula to the Patch function of Create button

        Set Reset(AddMediaButton1) to OnHidden property of CreateTicketScreen

3. EditTicketScreen:

        Add AddPicture control at bottom of EditTicketScreenCanvas

        Set Image property of UploadedImage2 : If(IsBlank(AddMediaButton2.Media), SelectedTicket.Image, AddMediaButton2.Media)

        Set Reset(AddMediaButton2) to OnHidden property of EditTicketScreen

        Add 'Image: AddMediaButton1.Media' formula to the two Patch functions of Update button

4. ViewTicketScreen:

        Add Image control at bottom of ViewTicketScreen

        Set Image property: SelectedTicket.Image

Best regards,

Sik

 

 

View solution in original post

2 REPLIES 2
Microsoft v-siky-msft
Microsoft

Re: How to insert an image into the HelpDesk template

Hi @Francis2811 ,

 

I have made a test, please see this GIF.

StoG_6.gif

The steps:

1. Add Image field in the ClearCollect() in OnStart property of App. (App's example data)

Snipaste_2019-11-22_12-05-30.png

2. CreateTicketScreen:

        Add AddPicture control at bottom of 

        Add 'Image: AddMediaButton1.Media' formula to the Patch function of Create button

        Set Reset(AddMediaButton1) to OnHidden property of CreateTicketScreen

3. EditTicketScreen:

        Add AddPicture control at bottom of EditTicketScreenCanvas

        Set Image property of UploadedImage2 : If(IsBlank(AddMediaButton2.Media), SelectedTicket.Image, AddMediaButton2.Media)

        Set Reset(AddMediaButton2) to OnHidden property of EditTicketScreen

        Add 'Image: AddMediaButton1.Media' formula to the two Patch functions of Update button

4. ViewTicketScreen:

        Add Image control at bottom of ViewTicketScreen

        Set Image property: SelectedTicket.Image

Best regards,

Sik

 

 

View solution in original post

Francis2811
Level: Powered On

Re: How to insert an image into the HelpDesk template

A query in the sharepoint list I don't have to add any Image field anymore? And when the email is sent, the image chosen by the user will also be sent?

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,022)