Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on August 11, 2021 7:11AM
Likes: 0
Replies: 1
Hi,
How can I share datasets between projects and how can I change the setting of the dataset shared (if I want to change the reference of the project)
Thanks in Advance
Hi,
you can share a dataset by clicking on it in the flow, and then in the right top corner click the 'share' icon. You can then choose the target projects from a drop-down menu.
You can also do it programmatically from the project where your original dataset is in.
import dataiku client = dataiku.api_client() project = client.get_default_project() settings = project.get_settings() settings.add_exposed_object('DATASET', 'your_Dataset_name', 'your_target_projectkey') settings.save()
you can add extra target projects by the same code.
As far as I am aware, you can not change the reference settings from within the project the dataset is shared in, except from deleting it in the flow.
Hope this helps!