FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
01-15-2021 03:38 PM
Hello,
how did the development team integrate the web browser based user dialog to select multiple apps to upload to an ctrlX CORE via the local storage? One customer wants to integrate something like this in their own web interface of their own app.
Thanks!
Solved! Go to Solution.
01-28-2021 12:30 PM - edited 01-28-2021 12:31 PM
Hi Maurus,
no magic here 😃. We use a standard html5 input field of type="file" with the attribute "multiple". When using an angular app it could look like this, for example:
<input type="file" accept=".snap, .app" multiple />
In our case the input field is hidden and controlled using javascript.
<input #inputFile type="file" accept=".snap, .app" multiple (change)="add.emit($event.target.files); $event.target.value = null" style="display:none;" />
Best
Jochen