Developer forum

Forum » CMS - Standard features » Extranet app creates folders even when files not submitted

Extranet app creates folders even when files not submitted

Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi there,

The Extranet app creates subfolders for users (Custom files folders) even when no actual files are submitted. If there is at least one custom field of type File DW is enforcing the directory to exists, leading to empty folders being generated. Could the logic be reviewed to only create the folder if needed?

BR Mario


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Mario

Can you make a pull to return from that mehod if file collection is empty?

 
Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi Nicolai,

Yep - https://dev.azure.com/dynamicwebsoftware/Dynamicweb/_git/Dynamicweb/pullrequest/17519 - not sure about DevOps processes as work items and reviewers.

 

 

You must be logged in to post in the forum