Actions
Task #2127
closedAdd download attachment option to the bulk action (modal dialog)
Start date:
03/19/2020
Due date:
% Done:
100%
Estimated time:
Owner:
Files
Updated by Vít Švanda over 4 years ago
- File lrt-detail.png lrt-detail.png added
- File export-role-modal.png export-role-modal.png added
- % Done changed from 0 to 80
Button for download attachment added to the bulk action detail.
Base logic is same as @kopro developed. It means metadata for download are stored in operation result.
I compiling part of download url on BE now (rights reason ... I need to use different REST endpoint).
For show link on target entity (Export/Import agenda, Report agenda, ...) I uses info cards and ownerId/type.
I created info card for Export/Import entity.
Download button is show in modal bulk action dialog and in operation result too.
Result Http code must be 206 and parameters of the result must be:
- attachmentId (for back compatibility)
or - downloadUrl
- ownerId
- ownerType
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/ab267205667bc02d2a051ad5c3d99fbd3da5b81e
Updated by Vít Švanda over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
Updated by Radek Tomiška over 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 80 to 100
I did test and code review, it's awesome, thx!
Updated by Radek Tomiška over 4 years ago
- Status changed from Resolved to Closed
Actions