Suppress Messagebox in C# SDK

Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Schaufel
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Nov 24, 2015 12:20 pm

Suppress Messagebox in C# SDK

Post by Schaufel » Tue Nov 24, 2015 12:35 pm

Hi,

I'm using the OpenKM cummunity edition and develop in C#. I want to use the C# REST 2.1 DLL, but most methods in this DLL implements Messageboxes at the end like

Code: Select all

MessageBox.Show("Operation completed succesfully...");
I don't want to show this in my programm. Is there a way to suppress these Messeges in OpenKM?

jllort
Moderator
Moderator
Posts: 9379
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Suppress Messagebox in C# SDK

Post by jllort » Wed Nov 25, 2015 8:53 am

If you are using community version you must use SDK for net 1.0 http://docs.openkm.com/kcenter/view/sdk4net-1.1.0/
I will raise the issue to the developer to remove this code and we will release a new version.

jllort
Moderator
Moderator
Posts: 9379
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Suppress Messagebox in C# SDK

Post by jllort » Sat Nov 28, 2015 10:13 am

We have released a new version of the SDK what corrects the issues you have found ( sorry for the inconvenience ). You can download from here.
http://docs.openkm.com/kcenter/view/sdk4net-1.1.1/

Schaufel
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: Tue Nov 24, 2015 12:20 pm

Re: Suppress Messagebox in C# SDK

Post by Schaufel » Thu Dec 03, 2015 9:03 am

Thanks for the fast response. The new methods look good :)

But in the old Version of the SDK there were some methodes (createUser, updateUser, deleteUser, createRole, updateRole, deleteRole, assignRole, removeRole) which I miss (and probably need) in the new Version. Are these methodes deleted or renamed? I can't find them anymore :(

jllort
Moderator
Moderator
Posts: 9379
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Suppress Messagebox in C# SDK

Post by jllort » Thu Dec 03, 2015 12:07 pm

While these methods will not be present in SDK4j should not be available in SDK for net and only will be available in professional editon ( not in community because these rest methods are not implemented in community version). By mistake in previous version possibly has been included, but in next version has been corrected that mistake.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest