See the following article for more information:
The SET command allows you to change the value of a particular folder setting.
SET "label" ON "path"|HERE TO TRUE|FALSE;
You can use the following configurable attributes with the SET command, which prevents any dataset that is deeply nested on the mentioned projects from creating any direct shares to users but will not delete the existing ones. The HERE path cannot be used when executing the command on the account level:
- stop_dataset_shares - allows datasets to be moved into the folder regardless of direct shares.
- disallow_dataset_shares - prevents datasets with direct shares from being moved into the folder.
Stop dataset sharing
SET "stop_dataset_shares" ON HERE TO TRUE; SET "stop_dataset_shares" ON "Child|Subchild" TO TRUE;
Disallow dataset sharing
SET "disallow_dataset_shares" ON HERE TO TRUE; SET "disallow_dataset_shares" ON "Child|Subchild" TO TRUE;