SD - Custom ticket form - Attachment size is not displayed
This article is about product releases
ALVAO Service Desk 10.0 and higher
Symptoms
The attachment size isn't displayed in custom forms when using the AttachmentField editor.
Cause
The cause is a bug in ALVAO products.
Solution
Fix planned for release 25.3 RTM (code freeze 2025-08-25; 2025-09-25)
Workaround
You can use TemporaryAttachments editor. However, you will also need to add the code for the label and the upload button, as shown below.
@Html.LabelFor(m => m.Attachment)
@Html.EditorFor(m => m.Attachment, "TemporaryAttachments")
<partial name="_AsyncLinkButton" view-data="@(new ViewDataDictionary(ViewData) { { "class", "" }, { "id", "upload-" + @Model.uploadGuid }, { "uniqueId", @Model.Attachment.UniqueUploadId }, { "editorId", "RequestDescription" } })" />
Steps to reproduce this behavior
Create custom form with the AttachmentField editor and upload some file.
Attachments
Issue number
T180023ALVAO