Search found 37 matches

by ofstab
Tue Sep 26, 2017 9:42 am
Forum: Usage
Topic: FindPaginated Search Error: Multi Domain Searches
Replies: 3
Views: 953

Re: FindPaginated Search Error: Multi Domain Searches

Thank you for your reply. I have an upgrade to the latest version on my to-do list! I was trying to do something clever with my application to speed up the time it takes to load all files from a folder in OpenKM. I can have a delay of several seconds while both documents and folders were loaded. My ...
by ofstab
Fri Sep 22, 2017 8:12 am
Forum: Usage
Topic: FindPaginated Search Error: Multi Domain Searches
Replies: 3
Views: 953

FindPaginated Search Error: Multi Domain Searches

I have having problems using the findpaginated search function, either through the UI, or through the Rest service. The errors are the same. I am doing a wildcard search on name (i.e. return all objects found) in a particular folder. I am using community 6.3.1, so recursive search is on by default. ...
by ofstab
Mon Jun 12, 2017 1:34 pm
Forum: Web Services
Topic: REST API - rest/auth/updateUser - Change Password
Replies: 1
Views: 1752

REST API - rest/auth/updateUser - Change Password

Hi there,

Community 6.3.1

I am trying to allow users to change their own passwords in a custom application. I am trying to use the updateuser REST call, but this only works if the user has an admin role. Is there any way for users to change their own passwords using the REST API?

Thanks,
by ofstab
Mon Mar 06, 2017 9:41 am
Forum: Usage
Topic: Remote OpenKM repository incremental backup for windows
Replies: 5
Views: 1073

Re: Remote OpenKM repository incremental backup for windows

No problem. The result from the last full backup was: 1:02:27.22 03/02/2017 ### Backing up your OpenKM Files... 7-Zip [64] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31 Scanning the drive: 131694 folders, 20173 files, 14536712955 bytes (14 GiB) Creating archive: [location]\Full_Backup\ope...
by ofstab
Thu Mar 02, 2017 1:57 pm
Forum: Usage
Topic: Remote OpenKM repository incremental backup for windows
Replies: 5
Views: 1073

Re: Remote OpenKM repository incremental backup for windows

I don't have a working script for a incremental backup working, but I am happy to share my differential backup batch file. You need 7zip installed. :: @echo off :: variables set location="[backup location]" set serverlocation=[root of server] set openkmlocation=%serverlocation%\tomcat set pathto7zip...
by ofstab
Mon Jan 23, 2017 1:08 pm
Forum: Usage
Topic: REST API - OpenKM/services/rest/mail/create
Replies: 6
Views: 2241

Re: REST API - OpenKM/services/rest/mail/create

2017-01-13 16:34:29,366 [http-nio-0.0.0.0-8080-exec-10] WARN org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor- No message body writer has been found for response class Mail. The email IS there, so it has worked, and I presume this error just means that for some XML related reason it cannot prop...
by ofstab
Sat Jan 14, 2017 9:38 am
Forum: Customization & Improvements
Topic: OpenKM-dev - Download Document
Replies: 11
Views: 2793

Re: OpenKM-dev - Download Document

2- Modify create client source code for taking in consideration the case of eml, msg files ( piece of code from FileUploadServlet ). ( I do not like much this solution, because in this scenario you are not able to save an eml file as is ). Having looked at the code, you are right. I tried to simply...
by ofstab
Fri Jan 13, 2017 5:11 pm
Forum: Usage
Topic: REST API - OpenKM/services/rest/mail/create
Replies: 6
Views: 2241

Re: REST API - OpenKM/services/rest/mail/create

I have now spent the time looking into this and have got it working! For anyone else that may be following being, here is how to use the rest api from within vb.net. I am going to assume that you have the restsharp library, make sure to get the right version - see the openkm dev docs for details on ...
by ofstab
Wed Jan 11, 2017 10:53 am
Forum: Customization & Improvements
Topic: OpenKM-dev - Download Document
Replies: 11
Views: 2793

Re: OpenKM-dev - Download Document

Ah, thanks for the clarification. I will look into that. I am guessing the answer is to add some createsimple code to com.openkm.api.OKMMAIL.java using the FileUploadServlet code as a base?
by ofstab
Fri Jan 06, 2017 3:35 pm
Forum: Customization & Improvements
Topic: OpenKM-dev - Download Document
Replies: 11
Views: 2793

Re: OpenKM-dev - Download Document

If you upload the msg file from the UI then is detected as mail ? please check this point. Sorry about the delay in replying. Been too busy to be coding recently. Yes, you are right that uploading a .msg file from the UI does detect it as an email and creates it as an email in OpenKM. This is not t...
by ofstab
Mon Nov 28, 2016 2:18 pm
Forum: Customization & Improvements
Topic: OpenKM-dev - Download Document
Replies: 11
Views: 2793

Re: OpenKM-dev - Download Document

Ah, right. No using createsimple from the SDK (1.1.1) does not work with .msg files. It loads them into the system as document objects, not as mail objects. I have code that scans the file and extracts the text as metadata which I can display as a custom property group, but it is not as slick as the...
by ofstab
Fri Nov 25, 2016 9:16 am
Forum: Customization & Improvements
Topic: OpenKM-dev - Download Document
Replies: 11
Views: 2793

Re: OpenKM-dev - Download Document

Is that with 6.3.2? It does not behave like that with 6.3.1, but I have not upgraded yet.
by ofstab
Wed Nov 23, 2016 4:47 pm
Forum: Customization & Improvements
Topic: OpenKM-dev - Download Document
Replies: 11
Views: 2793

OpenKM-dev - Download Document

Hi there, In my post history you might be able to see that i have been trying different approaches to getting OpenKM working better with emails sourced from outlook/exchange. My latest attempt has been to bypass the REST API altogether and to just covert an interop.outlook.mailitem into a custom obj...
by ofstab
Tue Nov 22, 2016 2:50 pm
Forum: Usage
Topic: REST API - OpenKM/services/rest/mail/create
Replies: 6
Views: 2241

Re: REST API - OpenKM/services/rest/mail/create

Thanks for your reply. Actually I am interested in information flowing the other way. I seem to have tracked this down to the way that I am encoding the XML to attach to the POST body with the object I am trying to load into OpenKM through the API. In your code below were does xmlToObj come from? Ho...
by ofstab
Fri Nov 18, 2016 3:29 pm
Forum: Usage
Topic: REST API - OpenKM/services/rest/mail/create
Replies: 6
Views: 2241

REST API - OpenKM/services/rest/mail/create

I am working in vb.net, and have a fairly good understanding of the sdk4csharp API. One of the things that that does not do is allow for the creation of mail items in the repository (using community 6.3.1). I have been experimenting with developing my own interface with the REST API. So far, I am ab...