Page 1 of 1

Folder and File notes using SDK for .NET 1.2.2

PostPosted:Mon Apr 15, 2019 3:28 pm
by chrwei
I'm testing out OpenKM Community 6.3.7, new install, and have added some notes to a folder and a file, I see all the notes in the web desktop.

when using the SDK in a C# winforms app in vs2017, set for Framework 4.5.2, I can get the folder and the files, and getFolderProperties() has a nodes list, but all the properties of the notes are null.

the listNotes() method does work as expected, but should that extra API call really be required?

Re: Folder and File notes using SDK for .NET 1.2.2

PostPosted:Wed Apr 17, 2019 11:45 am
by jllort
Seems there's a bug with the SDK we will check it.

From scripting you can check ( :
Code: Select all
import com.openkm.api.*;
OKMDocument.getInstance().getProperties(null,"/okm:root/doc-with-notes.txt");
In the output are shown the notes.