Display File Attchement on Smartforms

  • 27 January 2015
  • 5 replies
  • 0 views

Badge +5

Hi Mates

I had Sharepoint list. I have created the SO for Sharepoint list from K2 Seetings.

Now i want to dispaly the File attached to perticular List Item.

I had check and select the GetList method on List view.I can able to see related data but in attchement columns i cant able to see the file attched to that method.

 

Please let me know how i can see the file attcheed to perticular list item.

If any examble or code is there to help me.


5 replies

Userlevel 5
Badge +18

Is this Sharepoint 2010?


 


11964iA02188CA9E3CD41F.png


 


1.  Create a Sharepoint Content Service instance against that site


 


11163i1127356971E8E6F6.png


 


2.  Create a Smartobject from the service object for that list that is now available


 


12893i77099C39057BA650.png


 


3.  Execute the "Get Attachments" method to return attachments of that list item, or any other methods available

Badge +3

Hi,

Thanks for your reply.

 

I had create the Sharepoint Content instance and then create Smartobject.

When i select GetAttchments and enter ID i am getting attched error message.

Could you please let me know what was the issue?

It give attched error only for Attachments related methods. i can able to execute GetListItem Method.

 

Thanks for your help


12879i975AEFC3FFFE649C.png
Userlevel 5
Badge +18

Is this:


1.  Sharepoint 2010?


2.  Sharepoint 2013 in 2010 Mode?


3.  Sharepoint 2013 Native mode (apps)

Badge +3

Hi Tin,

 

Its sharepoint 2010. i had execute that from Smartobject tested and its giving me error.

 

Badge +3

Hi,

 

Issue has been resloved. in my list item Title column value is blank which cause an issue. Once i update the value in Title column its works for me.

Thanks for your help.

 

 

Reply