cancel
Showing results for 
Search instead for 
Did you mean: 

Can I have a directory .csv data file outside my plugin jar?

promanov_
Star Contributor
Star Contributor

My application is a plugin on top of nuxeo platform (5.6). I define users with a SQLDirectory created from a .csv file.

I'd like to add/remove users in production context by simply editing the .csv file and restarting nuxeo server. But as long as this file is inside my plugin jar, I must recomplile the JAR...

I've thought of a solution to create an extension point for my plugin for users imports using directories management API, but I'm hoping there is a much simpler way to achieve the same without coding. Is there? Thanks.

3 REPLIES 3

Florent_Guillau
World-Class Innovator
World-Class Innovator

Have you tried putting the .csv file in nxserver/config/ ? I can't try right now it but there's a good chance it could work. Otherwise no, that's not possible today.

promanov_
Star Contributor
Star Contributor

I've checked and it works, thanks a lot!

promanov_
Star Contributor
Star Contributor

put .csv file in nxserver/config/

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.