- Media assets — product images and category images served via a public CDN URL.
- Quote request attachments — files uploaded by customers when submitting a price request, stored in a SharePoint Document Library Drive.
Media assets
Media images are hosted in thewebcms Azure Blob container and served from:
NUXT_PUBLIC_MEDIA_BASE_URL and exposed to the client. The @nuxt/image module is configured to allow this domain:
Quote request attachments
When a customer submits a price request with a file, the Nitro handler uploads it to a SharePoint Document Library that is backed by a OneDrive/SharePoint Drive. The Drive is accessed through the Microsoft Graph API using the configured drive ID.Folder structure
Each attachment is stored under:| Setting | Default value |
|---|---|
| Library name | AssetsProducts |
| Base folder | price-requests |
| Max file size | 25 MB (26,214,400 bytes) |
Allowed MIME types
The following file types are accepted by default:CRM_ATTACHMENTS_ALLOWED_MIME_TYPES and split at runtime.
File metadata stored in SharePoint
After a successful upload, the CRM price request list item is updated with:| Field | SharePoint column | Description |
|---|---|---|
HasAttachment | CRM_PR_HAS_ATTACHMENT_FIELD | Boolean flag |
PrimaryFileDriveItemId | CRM_PR_PRIMARY_FILE_DRIVE_ITEM_ID_FIELD | Graph Drive item ID |
PrimaryFileWebUrl | CRM_PR_PRIMARY_FILE_WEB_URL_FIELD | Direct SharePoint URL |
PrimaryFileName | CRM_PR_PRIMARY_FILE_NAME_FIELD | Original filename |
PrimaryFileMimeType | CRM_PR_PRIMARY_FILE_MIME_TYPE_FIELD | MIME type |
PrimaryFileSize | CRM_PR_PRIMARY_FILE_SIZE_FIELD | File size in bytes |