Skip to main content
I'm using K2DocAttachment to upload multiple files into SPS. I'm also creating a aspx page to allow my approval user to view the list of uploaded documents for his approval. I'm trying to use K2Datagrid to list out the files.
Can somebody guide me how to do that step by step.. I'm searching high and low for some codes in the forum as well as the help but couldn't find anything related..... 😢
When using the K2DocAttachment control there is a XMLField that is used to store the attached documents it is by default called AttachedDocuments(Your name might be different). Bind this XMLField to the K2DataGrid control and select the /spsdocuments/documents/document as the DataXPath property for the datagrid. You will now be able to see all the details that K2 stores for the documents as columns in the K2Datagrid. Just make the columns that you dont want to see invisible on the grid.

Hope this helps
Jaco

Reply