@@ -43,6 +43,7 @@ annotate Attachments with @UI: {
4343 {Value : createdAt , @ HTML5 . CssDefaults : {width : ' 20% ' }},
4444 {Value : createdBy , @ HTML5 . CssDefaults : {width : ' 15% ' }},
4545 {Value : note , @ HTML5 . CssDefaults : {width : ' 15% ' }},
46+
4647{
4748 Value : uploadStatus ,
4849 Criticality : uploadStatusNav . criticality ,
@@ -51,19 +52,28 @@ annotate Attachments with @UI: {
5152 },
5253 ]
5354} {
54- note @ (title : ' {i18n>Description} ' );
55- fileName @ (title : ' {i18n>Filename} ' );
56- modifiedAt @ (odata . etag : null );
57- uploadStatus @ (title : ' {i18n>uploadStatus} ' , Common . Text : uploadStatusNav . name , Common . TextArrangement : # TextOnly );
58- content
59- @ Core . ContentDisposition : { Filename : fileName , Type : ' inline ' }
60- @ (title : ' {i18n>Attachment} ' );
61- folderId @ UI . Hidden ;
62- repositoryId @ UI . Hidden ;
63- objectId @ UI . Hidden ;
64- mimeType @ UI . Hidden ;
65- status @ UI . Hidden ;
66- linkUrl @ UI . Hidden ;
55+ note @ (title : ' {i18n>Description} ' );
56+ fileName @ (title : ' {i18n>Filename} ' );
57+ modifiedAt @ (odata . etag : null );
58+ uploadStatus @ (
59+ title : ' {i18n>uploadStatus} ' ,
60+ Common . Text : uploadStatusNav . name ,
61+ Common . TextArrangement : # TextOnly
62+ );
63+ content
64+ @ Core . ContentDisposition : {
65+ Filename : fileName ,
66+ Type : ' inline '
67+ }
68+ @ (title : ' {i18n>Attachment} ' );
69+ folderId @ UI . Hidden ;
70+ repositoryId @ UI . Hidden ;
71+ objectId @ UI . Hidden ;
72+ mimeType @ UI . Hidden ;
73+ status @ UI . Hidden ;
74+ linkUrl @ UI . Hidden ;
75+ ID @ (title : ' {i18n>attachmentID} ' );
76+
6777}
6878
6979annotate Attachments with @ Common : {SideEffects # ContentChanged : {
0 commit comments