Custom macro for duplicating projects

Solved!
NN
Custom macro for duplicating projects

Hi Everyone,

We use a custom project creation macro to restrict new projects to certain folders, apply some custom privileges and to make the project key case insensitive.
This macro Is visible in the new project button and works well.

I can see that when we open a project , in the actions tab we also have the option to duplicate a project. 
This action however doesnt restrict the user to a limited folder or case insensitive key.

Is there any way that i can setup a custom macro for duplicating which can be visible in the actions tab
so that i can ensure to restrict projects to certain folder and make projectkey case insensitive ?

1 Solution
NN
Author

Ended up creating a custom project macro.

Reference used from dataiku documentation.

https://doc.dataiku.com/dss/latest/python-api/projects.html#duplicating

Closing the thread as i couldnt get an alternative.

View solution in original post

3 Replies
tgb417

@NN 

That's cool. Does this exist on a public git repo or can you share a sanitized version of this with the community?

If not I understand.

 

--Tom
0 Kudos
NN
Author

Ended up creating a custom project macro.

Reference used from dataiku documentation.

https://doc.dataiku.com/dss/latest/python-api/projects.html#duplicating

Closing the thread as i couldnt get an alternative.