cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

Rich Text - pasting image (and saving to SharePoint list)

We finally have SharePoint Online integrated with Power Apps. 🙂

SharePoint list has an enhanced rich text column, when customizing in Power Apps, the field does not have an editor so I bound a Rich Text Editor to the field (i.e. changed Default settings to RichTextField_DataCard.Default.

How would I save and apply the Rich Text Editor  contents back to my enhanced rich text column? Simply clicking save did not save the image I just inserted in the editor. I also found out, pasting an image to the editor only works in IE (not Chrome). I have yet to try on Edge.

2020-03-25_1542.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Rich Text - pasting image (and saving to SharePoint list)

Hi @Sei ,

Do you want to update with pic to an enhanced rich text column in sharepoint list?

I' m afraid it's not supported to do this.

You could only update with text  or html text to  an enhanced rich text column in sharepoint list.

If you want to update images from powerapps to sharepoint, you have these options:
1)update to Attachments

You could only use attachments control inside a form to update, and could only use SubmitForm() function to update.

3269.PNG

 

2)update to hyderlink column

If you update with a pic's url, you could directly use patch funtion to update.

Like this: Patch(...,....,{hyderlink column:pic url})

If you update with a local pic(use addpicture button), you need to use flow.

Create a flow triggered by powerapps.

Actions: create file in sharepoint doc, create a sharelink for this pic, update/create your sharepoint list hyderlink column with this sharelink.

Here's my flow for your reference:

3260.PNG

 

 

 

Please notice that pic type is also not supported. It is read-only in powerapps.

 

 

Best regards,

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

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Rich Text - pasting image (and saving to SharePoint list)

Hi @Sei ,

Do you want to update with pic to an enhanced rich text column in sharepoint list?

I' m afraid it's not supported to do this.

You could only update with text  or html text to  an enhanced rich text column in sharepoint list.

If you want to update images from powerapps to sharepoint, you have these options:
1)update to Attachments

You could only use attachments control inside a form to update, and could only use SubmitForm() function to update.

3269.PNG

 

2)update to hyderlink column

If you update with a pic's url, you could directly use patch funtion to update.

Like this: Patch(...,....,{hyderlink column:pic url})

If you update with a local pic(use addpicture button), you need to use flow.

Create a flow triggered by powerapps.

Actions: create file in sharepoint doc, create a sharelink for this pic, update/create your sharepoint list hyderlink column with this sharelink.

Here's my flow for your reference:

3260.PNG

 

 

 

Please notice that pic type is also not supported. It is read-only in powerapps.

 

 

Best regards,

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

View solution in original post

Highlighted
Microsoft
Microsoft

Re: Rich Text - pasting image (and saving to SharePoint list)

@Sei @v-yutliu-msft I dont know how rich text editor allowed you to insert/paste a image into the message body ( as i see it your screenshot) . To me it doesnt allow to insert a image.. 

Can you help me know how does it work for you?

Helpful resources

Announcements
secondImage

New Return to Workplace

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

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,440)