Skip to main content
All CollectionsPortal-X Pages
Design | Files | Legacy Files
Design | Files | Legacy Files

Storing app level files

Jason Liang avatar
Written by Jason Liang
Updated over 9 months ago

The custom files uploaded here are shareable to your app clients, anyone with the URL can access the files.

Important: The Files service is a legacy service that is being replaced by the new Global Files service. It is recommended that all apps move to the new Global Files service instead.

To get started, find the Files page on the brainCloud portal.

Add Files

  • Click the [+Add File] button at the right-top corner of the File List. Either upload a file by clicking the Choose File button or drag and drop directly from your files browser. Give this file a short name, and click Upload to save this file to the brainCloud file storage system.

  • Selecting the file record from the list will prompt the opening of the file edit blade, allowing for manipulation of the file from that interface.

Move files to the new Global file V3 system

  • Create a file folder if you don't have one by running the GlobalFileV3 service and SysCreateFolder operation according to the parameters:

  • Select GlobalFileV3 service with SysMoveGobalFile operation, pass in the old global fileId which you get from API GetFileList return, and the folder info from the last step.

  • Run GetGlobalFileList from the GlobalFileV3 service, and check the file you moved is listed under the designated folder.

  • Go back to the GlobalFile service and run the GetFileList operation again, notice the file has been successfully moved to the new global file system, is no longer listed under the old custom file system.

Did this answer your question?