The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Folder structure - how attachments has been stored

santhanalakshmi
Kilo Contributor

If I am uploading any attachment in any module, what will be the folder structure. Is it possible to see the folder structure for document module?

1 ACCEPTED SOLUTION

larstange
Mega Sage

Hi



there are no folder structure.


All attachments are placed in the sys_attachment table with a reference to the table and record which attachment belongs to


View solution in original post

7 REPLIES 7

larstange
Mega Sage

Hi



there are no folder structure.


All attachments are placed in the sys_attachment table with a reference to the table and record which attachment belongs to


vinothkumar
Tera Guru

Hi Santhanalakshmi,



Please find the below link, as they have explained in a better way, how the attachment are stored in Servicenow



SN Pro Tips — Understanding Attachments in ServiceNow


Can anyone please explain, Is there is any possibility to create folder dynamically in my laptop using any script or any API is available ?


larstange
Mega Sage

The browser will not have access to your local file system, so I don't see it being possible in the browser.



The only way I see possible is to do it by calling a powershell script via the midserver. The powershell script will be called to be invoked (runs on) on your local machine and creates the folder.