Filter on launch?

He we will discuss about how to make customization and improvement to the OpenKM source code.
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
YogevL
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Sun Jun 24, 2018 12:46 pm

Filter on launch?

Post by YogevL » Sun Jun 24, 2018 1:02 pm

Hi!
Sorry if this was asked in a different way, not sure if there's a specific name for this feature.

I want the option to allow users to to login directly into a filtered view - it could be specific folder (not the okm:root), it could be file type and so on (basically, every filter option possible in the advance search).
But, I want it to be dynamic - it could be different link/url to each filter type, or an option to be changed by the user in the User Configuration screen.
Is it possible now somehow? Do you think it'll be hard to implement (more then 1-2 weeks of work of a single programmer)?


Thanks a lot,
Yogev

lnovoa
Expert Boarder
Expert Boarder
Posts: 97
Joined: Tue Mar 27, 2018 8:00 am

Re: Filter on launch?

Post by lnovoa » Tue Jun 26, 2018 9:12 am

Hi!,
You can do it in several ways.
As I would do it would be with permissions, so that each user can see only their directory
to which the administrator user has given visibility.

If on the other hand what you want is not to show the categories, templates, mail, etc,
you can create one or several profiles and configure this visibility from
the component tab and assign the profile to the users.

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

Re: Filter on launch?

Post by jllort » Sat Jun 30, 2018 10:45 am

If I understood it seems you want to login into some specific OpenKM folder, or document based on a previous option select ? is that ?

YogevL
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: Sun Jun 24, 2018 12:46 pm

Re: Filter on launch?

Post by YogevL » Sun Jul 01, 2018 6:47 am

jllort wrote:
Sat Jun 30, 2018 10:45 am
If I understood it seems you want to login into some specific OpenKM folder, or document based on a previous option select ? is that ?
Yes. Login into specific folder I can do with the fldPath param, but how do I do document? Or specific folder + "show just images" / "show just doc/docx/pdf files"?

Thanks!

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

Re: Filter on launch?

Post by jllort » Tue Jul 03, 2018 7:18 am

I do not know if can be done with login page changes, because the point here is that you are using an URL what is intercepted by login, and then after the login succeed you are redirected to that URL, and really what you wish is to be able to change that URL by something based in option select value.

Should check if it's possible this kind of redirect after the login ( I'm not sure the URL I shared here be the solution, but is something what you should looking for ):
https://howto.caspio.com/tech-tips-and- ... ter-login/

If you succeed on intercept the destination URL then you can change default URL by yours adding extra parameter based on option select value.

Another option might be create an small user interface ( with SDK4J ) and build a simplified UI what working in the way you wish.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest