How to get images from Sharepoint

  • 31 August 2020
  • 3 replies
  • 9 views

Hi,

 

I want to get image files from sharepoint and use them in File attachment in the K2 Views. What is the way to do this in K2 and do we need a specific sharepoint library for this?


3 replies

Hi  @chaa 


 


The sharepoint library to use for this would be the SharePoint Picture Library.


 


The following K2 Appit Article may be useful:


https://community.k2.com/t5/K2-Appit-Articles/Showing-Images-in-a-List-View/ta-p/81862


 


Regards


HulisaniN

Userlevel 4
Badge +13

Hi  @chaa ,


 


You could create a SmartObject based on that SharePoint list/library and use the Get Document method to retrieve the image file and display it on your View/Form. More information on this can be found here: 


https://help.k2.com/onlinehelp/classic/userguide/5.4/default.htm#Create/K2ForSharePoint/Create/CreateData.htm


 


Regards,


Kimberly 


K2 will not accept any liability for any issues arising from actions taken in respect of information provided by any forum member.

Hi  @lkimberly ,

 

Can we also use the Get document method in the K2 workflow if I want to send image file as attachment to an email ?

Reply