Project

General

Profile

Actions

Task #2127

closed

Add download attachment option to the bulk action (modal dialog)

Added by Vít Švanda almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Bulk operations
Target version:
Start date:
03/19/2020
Due date:
% Done:

100%

Estimated time:
Owner:

Files

export-role-modal.png (54.8 KB) export-role-modal.png Vít Švanda, 03/24/2020 04:25 PM
lrt-detail.png (105 KB) lrt-detail.png Vít Švanda, 03/24/2020 04:25 PM
Actions #1

Updated by Vít Švanda over 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Vít Švanda over 4 years ago

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

Actions #3

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
Actions #4

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!

Actions #5

Updated by Radek Tomiška over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF