Search found 112 matches

by mamad
Sat May 25, 2019 5:13 am
Forum: Configuration
Topic: Enable/disable my extension by profiles
Replies: 6
Views: 497

Re: Enable/disable my extension by profiles

That was exactly what i want :wink:
Thank you so much
by mamad
Thu May 23, 2019 7:30 am
Forum: Configuration
Topic: Update a lots of files with their history automatically
Replies: 5
Views: 532

Update a lots of files with their history automatically

hi guys, Consider the case i have a lots of files (1000 for example) and also have their history (other versions) How can i upload all of these files with their history ? I try import/export but it only imports one version of each file and wont add their history ! Is there any way to do this operati...
by mamad
Wed May 22, 2019 8:57 am
Forum: Configuration
Topic: Enable/disable my extension by profiles
Replies: 6
Views: 497

Re: Enable/disable my extension by profiles

Please also tell me how to find the role of user in my extension. I want to show some part of my extension(for example some buttons) only to users with specific role(maybe just admin role). Please tell me how to find this ? for example i can find the document using this line of code : TabDocumentCom...
by mamad
Wed May 22, 2019 8:40 am
Forum: Configuration
Topic: Enable/disable my extension by profiles
Replies: 6
Views: 497

Re: Enable/disable my extension by profiles

well , but how to do this ?
In Customization.java class , I add my extension to extensions list using :

Code: Select all

extensions.add(new MyTab()); // MyTab is my custom tab
but no option added to profiles menu to set visibility of my extension based on that profile
by mamad
Thu May 16, 2019 6:59 am
Forum: Configuration
Topic: Path not exist error when login by a custom role
Replies: 3
Views: 412

Re: Path not exist error when login by a custom role

Thank you, i solved the problem
I should specify access to root folder for all of profiles i defined.
by mamad
Sat May 11, 2019 8:35 am
Forum: Configuration
Topic: Path not exist error when login by a custom role
Replies: 3
Views: 412

Re: Path not exist error when login by a custom role

also for some user this error appears with a differnet style !!! :
Capture2.PNG
by mamad
Sat May 11, 2019 7:54 am
Forum: Configuration
Topic: Path not exist error when login by a custom role
Replies: 3
Views: 412

Path not exist error when login by a custom role

Hi guys,
i made some roles and when i try to login by a user with that roles,the following error occurred :
Capture.PNG
Capture.PNG (11.22 KiB) Viewed 412 times
But when i change role of them to OKM_ADMIN or OKM_USER i will login correctly.
How fix this ?
Thanks in advance
by mamad
Sun May 05, 2019 6:01 am
Forum: Configuration
Topic: Enable/disable my extension by profiles
Replies: 6
Views: 497

Re: Enable/disable my extension by profiles

I guess i can do this by adding my extension to OKM_EXTENSION table some thing like : INSERT INTO OKM_EXTENSION (EXT_UUID,EXT_NAME) VALUES('Extension UUID','Extension Name'); But whats extension uuid ? how i set an uuid for my extension ? How generate it ? does it has a special format or just a stri...
by mamad
Sun May 05, 2019 5:54 am
Forum: Configuration
Topic: Enable/disable my extension by profiles
Replies: 6
Views: 497

Enable/disable my extension by profiles

Hi dear Jllort, Based on openkm documentations from here :https://docs.openkm.com/kcenter/view/okm-6.3-com/extending-frontend-ui.html , i created an extension and successfully add it to the Tab Document. The extensions will show correctly for each document in tab document panel but i don't want this...
by mamad
Sat May 04, 2019 8:14 pm
Forum: Configuration
Topic: Problem displaying the preview of MS Office files
Replies: 3
Views: 390

Re: Problem displaying the preview of MS Office files

restarting tomcat solved my problem
thank you
by mamad
Tue Apr 23, 2019 11:10 am
Forum: Configuration
Topic: Problem displaying the preview of MS Office files
Replies: 3
Views: 390

Re: Problem displaying the preview of MS Office files

this is the log created by this problem : 2019-04-23 06:02:12,861 [http-nio-0.0.0.0-8080-exec-20] [] ERROR c.o.s.frontend.ConverterServlet - Error in application/vnd.openxmlformats-officedocument.spreadsheetml.sheet to PDF conversion com.openkm.core.ConversionException: Error in application/vnd.open...
by mamad
Tue Apr 23, 2019 11:03 am
Forum: Configuration
Topic: Problem displaying the preview of MS Office files
Replies: 3
Views: 390

Problem displaying the preview of MS Office files

Hi guys, when i try to see the preview of Microsoft office files (.xlsx,.docx,etc) the following error appears instead of showing the preview of file : There was a problem with the conversion generation.please contact your OpenKM administrator. The preview works for .pdf files. Also when i try downl...
by mamad
Sun Apr 07, 2019 5:07 am
Forum: Configuration
Topic: Where Log data saved in database ?
Replies: 1
Views: 225

Where Log data saved in database ?

Hi guys,
I want to clear some log data of openkm but i cant find the table which hold log data.
Where this item saved in database ?
I'm using openkm 6.3 CE
Thanks in advance
by mamad
Mon Mar 25, 2019 8:10 am
Forum: Configuration
Topic: Make Version start from 0 ?
Replies: 3
Views: 345

Re: Make Version start from 0 ?

Thanks for your hint.
I simply change the starting version from 1.0 to 0.0 by changing getInitialVersionNumber() method inside MajorMinorReleaseVersionNumerationAdapter class :

Code: Select all

@Override
public String getInitialVersionNumber() {
        return "0.0";
	}
}
it was easy right ?:D
by mamad
Wed Mar 13, 2019 12:30 pm
Forum: Configuration
Topic: Make Version start from 0 ?
Replies: 3
Views: 345

Make Version start from 0 ?

Hi guys, I'm using openkm6.3.7-DEV community edition I want to know is it possible to make versions of a document starting from 0 not 1? It means when i upload a document the first version become 0.0 I have the openkm development environment and there is no problem to change source code if it need a...