Tutorial: Upload Blob
- Create a template in Composer and create a template element for file upload when using file upload UI module.
- NOTE: When you create this template, make sure to have at least one element which can be used for file upload. This may merely be, for example, a string element in your created template (e.g., template element named
file
)
- Associate
blob uploader
UI module with that particular template element.
- Home > User > Adminstration > All Templates
- for the given template, click
Versions
button.
- Click the
Modules
button.
- Select the template element to which to associate the blob uploader UI module (e.g., your element named
file
from above)
- Select the blob uploader UI module from the UI module list
- Click
Insert
button
- The blob uploader UI module is now associated with that template element. Now, when you create records (curate) using that template, it will provide you with an interface to upload a file for that particular template element.
- Create records for this template in Curator.
NOTE:
- When creating each record, the UI module gives a file-upload dialog, allowing upload of arbitrary files and associating them with the given record metadata.
- These files are saved as BLOB objects in the repository's database.