@@ -17,40 +17,16 @@ annotate Attachments with @UI: {
1717 {Value : content , @ HTML5 . CssDefaults : {width : ' 20% ' }},
1818 {Value : createdAt , @ HTML5 . CssDefaults : {width : ' 20% ' }},
1919 {Value : createdBy , @ HTML5 . CssDefaults : {width : ' 20% ' }},
20- {Value : note , @ HTML5 . CssDefaults : {width : ' 20% ' }},
21- {
22- $Type : ' UI.DataFieldForActionGroup ' ,
23- ID : ' TableActionGroup ' ,
24- Label : ' Link ' ,
25- ![@UI.Hidden] : {$edmJson : {$Eq : [ {$Path : ' IsActiveEntity ' }, true ]}},
26- Actions : [
27-
28- {
29- $Type : ' UI.DataFieldForAction ' ,
30- Label : ' Create Link ' ,
31- Action : ' AdminService.createLink ' ,
32- },
33- {
34- $Type : ' UI.DataFieldForAction ' ,
35- Label : ' Edit Link ' ,
36- Action : ' AdminService.editLink ' ,
37- },
38- {
39- $Type : ' UI.DataFieldForAction ' ,
40- Label : ' Open Link ' ,
41- Action : ' AdminService.openLink ' ,
42- }
43- ]
44- },
20+ {Value : note , @ HTML5 . CssDefaults : {width : ' 20% ' }}
4521 ]
4622} {
4723 note @ (title : ' {i18n>Note} ' );
4824 fileName @ (title : ' {i18n>Filename} ' );
4925 modifiedAt @ (odata . etag : null );
5026 content
51- @ Core . ContentDisposition : { Filename : fileName }
27+ @ Core . ContentDisposition : { Filename : fileName , Type : ' inline ' }
5228 @ (title : ' {i18n>Attachment} ' );
53- folderId @ UI . Hidden ;
29+ folderId @ UI . Hidden ;
5430 repositoryId @ UI . Hidden ;
5531 objectId @ UI . Hidden ;
5632 mimeType @ UI . Hidden ;
0 commit comments