cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
k1ng
Helper I
Helper I

Display image from SharePoint on my bot

I am having issues with the flow, "SharePoint:  Get file contact using path"... I guess don't know how to port back to PVA.  The flow goes through however it's an URL to get the picture not the picture?  The "image" var is not even loaded after the flow is completed...  What I am missing to display the image not download?  
1.PNG

2021-03-23_21-50-47.png

2.PNG3.PNG

Thanks!

-n

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @k1ng  ,

 

Unfortunately, you will not able to use the Sharepoint image on the chatbot.

Why? Because Sharepoint has a security and you only can show public images on the chat for the user.

 

Also, you need to use a markdown to show images on the chatbot, like [label](image_path) like this: Returning an image as a message - Power Platform Community (microsoft.com)


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

View solution in original post

3 REPLIES 3
renatoromao
Super User
Super User

Hi @k1ng  ,

 

Unfortunately, you will not able to use the Sharepoint image on the chatbot.

Why? Because Sharepoint has a security and you only can show public images on the chat for the user.

 

Also, you need to use a markdown to show images on the chatbot, like [label](image_path) like this: Returning an image as a message - Power Platform Community (microsoft.com)


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Thanks for the insight @renatoromao.  Even if I make the user log into the chat through SSO or something?  That sounds weird that we can't use sharepoint 365, everyone has approval to access the site..

 

Let me know!

-n

renatoromao
Super User
Super User

@k1ng ,

 

I never tried using SSO, but I don't think so that will work.

Basically, the context of the bot conversation is public (if you publish in a custom website channel, everyone has access to use it) and SharePoint is a private system, that you need to use your credentials. 

In theory, the context is different and the public cannot access private data.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Solution Authors
Users online (2,181)