Last update:
July 16, 2024
Overview
Virto Commerce now offers an enhanced file upload solution, which prioritizes security and extensibility principles to elevate the developer experience. This architecture is designed to support different file providers and offer an intuitive developer experience.
This function is now used in our Frontend Application to attach files to the created quotes. However, developers can now add the file uploader to any segment, such as the Order module.
Queries | Objects | Mutations |
---|---|---|
fileUploadOptions | FileUploadScopeOptionsType |
deleteFile |
Architecture
The file upload solution generally operates as follows:
- The developer integrates a form onto the quote page to gather files.
- Users attach files to the form.
- The form transmits the files to the VirtoCommerce.FileExperienceApi module.
- This module processes the files, generating secure links for them, and returns these links.
- The quote page then stores these links.