Forum Discussion
Creating Artifacts
Is there any way to create artifacts (NB,Pipeline, DF, Datasset, etc) in the current directory (L6 from the sample).
If I do it from the UI, the artifact gets created in Root and then needs manually moved back to L6.
It is extremly inconvenient. Is there any way to create the artifacts directly in L6 from UI or programatically through API maybe?
Thank you in advance.
frithjof_v folder is a good value addition to workspace.
On PC if you click on the context menu to create a file, it creates the file on the same folder that you are currently in; such as root>Documents>Fabric>DesiredFolder
The same thing does not happen when you try to create an artifact(e.g. notebook) by clicking on the Workspace Menu; It would create the notebook in Root and then you manually move it back to WSDesiredFolder UNLESS you make a copy of the similar existing artifact from the current WSfolder and SAVE AS, then it creates the copy of the artifact in the same WSfolder.
I will stick with this for now; small price to pay.
6 Replies
- AnonymousNot applicable
Hi smpa01,
Current it seems not support to setting the detail folder path of the fabric artifacts when you create it. (manually operations and API all note support) Perhaps you can try to submit an idea for this requirement.
Regards,
Xiaoxin Sheng
- frithjof_vCommunity Champion
smpa01 If by directory you are referring to workspace folders, then according to the documentation this should be possible: https://learn.microsoft.com/en-us/fabric/get-started/workspaces-folders#create-an-item-in-a-folder
I haven't tried it myself, though.
- smpa01Community Champion
frithjof_v folder is a good value addition to workspace.
On PC if you click on the context menu to create a file, it creates the file on the same folder that you are currently in; such as root>Documents>Fabric>DesiredFolder
The same thing does not happen when you try to create an artifact(e.g. notebook) by clicking on the Workspace Menu; It would create the notebook in Root and then you manually move it back to WSDesiredFolder UNLESS you make a copy of the similar existing artifact from the current WSfolder and SAVE AS, then it creates the copy of the artifact in the same WSfolder.
I will stick with this for now; small price to pay.- frithjof_vCommunity Champion
According to this documentation, it should be possible to create items directly in the folder:
https://learn.microsoft.com/en-us/fabric/get-started/workspaces-folders#create-an-item-in-a-folder
Please take a look at the docs and see if that works.
If you are doing it the way the docs are saying, but it's not working, then maybe there is something wrong in the docs.
I haven't tried this myself.