# Feature NEX-33 - Connect multiple files at once with an OpenProject work package

Project: Stream Nextcloud app "OpenProject Integration"
Status: closed
URL: https://community.openproject.org/work_packages/NEX-33

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Nextcloud Integration 2.5.0 |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Sagar Gurung |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |
| Labor costs |  |

## Description

The OpenProject API will make it possible to send multiple fileIds to connect them with a specific work-package. 

It would be cool to be able to select multiple files, search for an work package and join them

Thoughts from <mention class="mention" data-id="74290" data-type="user" data-text="@julien.veyssier @nextcloud.com">@julien.veyssier @nextcloud.com</mention> 

*Thoughts about multiple file selection: This could be nice to be able to link multiple files to a work package as the OP API allows it. This use case most likely does not fit the sidebar. It could be done within a modal displayed when triggering a multiple file selection action.*  
*Once you select some files in NC Files, a "... Actions" button appears and lets you trigger an action for the selected files. It's possible to add custom actions there. Here is an example:* [*https://github.com/nextcloud/approval/blob/b78b27c648ea4d56abb5cf1d1993bf4a2c6f7fde/src/filesplugin.js\#L117-L123*](https://github.com/nextcloud/approval/blob/b78b27c648ea4d56abb5cf1d1993bf4a2c6f7fde/src/filesplugin.js#L117-L123)  
*You can also see how to inject a Vue Modal in a non-View context in this file:* [*https://github.com/nextcloud/approval/blob/b78b27c648ea4d56abb5cf1d1993bf4a2c6f7fde/src/filesplugin.js\#L362-L373*](https://github.com/nextcloud/approval/blob/b78b27c648ea4d56abb5cf1d1993bf4a2c6f7fde/src/filesplugin.js#L362-L373)
