You can create a custom widget on your dashboard using the general helper widget to make a new request that creates a folder and performs specific actions (for details, see General Helper).

Note Custom widgets created are only displayed on your dashboard unless saved for the whole company. To make the widget available to all users, click Save.



1. In Files, click New Folder and create the parent folder to be used for the widget.


2. On your dashboard, click Add widget and search for General Helper

3.  Enter your preferred Name and the template below in the Html field. The code below uses the Blue Relay folder API to create a new folder.


<div class="btn btn-secondary mt-4 mr-4" (click)="post(null, &#39;/api/folder/FOLDER ID/folder&#39;, {title:&#39;NEW FOLDER NAME&#39;}, null, waitForActiveFormModalCallback(&#39;id&#39;))"><i class="fa fa-fw fa-plus fa-2x"></i><div>BUTTON NAME</div></div>


   4.  Edit the Html template with the parent Folder ID, your preferred newly created Folder Name and Button Name. 


   5. Click Save and Add Widget. 

   6.   Navigate to Events ,click Add Event and create the Event to be used for the widget.


   7.   In the created Event, add a Trigger  and select On Folder Create from the dropdown menu.


   8.   Enter the following information and click Save.

   Parent Select the parent folder that was initially created for the widget

   Filter This is optional and is used when you need to filter on a folder



   9. Add your preferred Actions from the dropdown menu and click Save.



 10. To display a form and fill out the form in the New Request Widget, an action to Activate Workflow is added to the New Request Event as Forms can only be used inside a Workflow.




Note: The New Request widget creates a new folder under the specified Parent folder ID with your preferred Folder Name. The New Request widget initiates the process by creating a sub folder and the Event connects to the process using the On Folder Create trigger to perform the specified actions in the Event.

Note: It is mandatory to have a Rename Item action in your Event to rename all newly created folders, without this all created folders will have the same name based on your preferred NEW FOLDER NAME in the Html field, and two folders with the same FOLDER NAME cannot exist in the same directory.