Test Drive
Document Management & Sharing ...
Custom Object Creation on File Upload Test Drive
introduction in this test drive, we will check how cloudfiles can create custom object records when files are uploaded into record linked folders in external storage these custom objects are useful for searching files in global search or for storing file metadata in salesforce for reporting purposes follow the instructions in the next section to test the subsequent sections explain the setup for this test drive as well as what else is possible as an extension of this test drive instructions to test out this feature, follow the simple instructions below go to 'work orders' tab and create a new work order this should create a sharepoint folder visible in the 'files' tab of the record upload a few files into the work order folder from the widget these files can be of any type or size refresh the page in the 'work order documents' related list, you will find newly created records for each file uploaded into the work order folder the names and sharepoint urls of the uploaded files are populated into the relevant fields of the corresponding work order document records you can try searching for the file name in the global search and would come across the correct result flow execution and folder creation may take some time (a few seconds to a minute) if you don't see anything in the files tab, try refreshing the cloudfiles widget a couple times the gif below gives a visual representation of these steps implementation the following video shows the flow that made this possible beyond this test drive in this test drive, we've seen how cloudfiles can create custom object records when files are uploaded into work order folders in sharepoint however, there are many variations of this possible such that it can fit your custom use case check the pointers below the same can be configured with any other external storage including google drive, amazon aws s3, onedrive, azure, dropbox etc here we have configured custom object record creation with file uploads into work order folders however, you can extend this to uploads into folders connected to any object you can populate the custom object's fields with other properties as well such as the resource's path in external storage, file size, etc the same functionality can also be extended to file uploads on experience cloud sites too the created custom objects can be used in global search to search for a file using it's name or metadata these custom objects can also be used for reporting purposes you may find other test drives equally engaging do visit the test drive docid\ cgjldtde3usa oibbwgpn article to explore other test drives