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 ?
Best Answer
-
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.
Answers
-
tgb417 Dataiku DSS Core Designer, Dataiku DSS & SQL, Dataiku DSS ML Practitioner, Dataiku DSS Core Concepts, Neuron 2020, Neuron, Registered, Dataiku Frontrunner Awards 2021 Finalist, Neuron 2021, Neuron 2022, Frontrunner 2022 Finalist, Frontrunner 2022 Winner, Dataiku Frontrunner Awards 2021 Participant, Frontrunner 2022 Participant, Neuron 2023 Posts: 1,601 Neuron
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.
-
https://doc.dataiku.com/dss/latest/plugins/reference/project-creation-macros.html
Dataiku has this document they've shared.