Get FileName from FileAttachment into a label

  • 19 October 2016
  • 1 reply
  • 8 views

Badge +2

Hello, 

 

I have a K2 view with a File attachment bind to a SMO wich write file in DB. 

I would like to retrieve his filename with extension in a label.

 

The solution that i found is to make XML treatment into DB with SQL  to retrieve fileName.. DO you know a better solution ?

 

Thanks in advance,

 


1 reply

Badge +2

Hi Scoignet,

 

You may refer to the site link below. This guide will allow you to retrieve the file attachment filename using Expression and store it to Label.

 

https://help.k2.com/kb001430

 

Regards,

Peter Busto

Reply