How to install an APK on all profiles via an NDM workflow
- Test the APK; Try to install on a single profile. For example, try to install Zoom on the current user. If the installation is successful. Move to the next step. If it is not, try to install it with the other method via NDM. (PlayStore or Upload from file)
- Uninstall the APK; Remove the app from the profile you were testing on. This step ensures it installs properly the next time when the workflow is pushed to the device.
- Get user list or “ser ID”; Use the remove execute command to fetch the user IDs on the panel.
- Log in to NDM
- Click “Devices” on the left-hand side of the dashboard
- Expand the device menu by clicking the line with the corresponding Device ID
- Click “Repository Actions”
- Click “Remote Execute” within this menu.
- Click and Apply “Check User ID List”. This should be applied to every account in NDM. If it is not found, create a new remote execute with the below in the command line
list users | awk -F'[:{}]' '/UserInfo/{print $2 "\t" $3}' - After the command has successfully sent, click on the command status box at the bottom right of your screen.
- Click on “More info” on this command has been opened and the user IDs will be visible
- Create packages; Each user on the panel will need a package, for each app that needs to be pushed.
- To create a package for the panel, click into a device and click the “Repository actions” on the right-hand side.
- Click “Install Packages”
- Click “Add New” at the bottom of this menu
- Name the package with something to identify the user ID it is supposed to be pushed out to. (I.E “Zoom – User 10”)
- From the drop-down menu, select the method to install the package
- Once the APK has been selected with the method of your choice. Change the drop-down menu option from “Current User” to “By User Name” This is where the user ID from the previous step will be used. In this example if we wanted to install a package to Kate, we would use user ID “10” as seen below
- Step 4 will need to be repeated for all the users that the APK will be installed to.
- Build the workflow; The final step to applying an APK to all profiles is building the workflow with the packages created.
- In the device menu, click on the “Repository Actions” Menu
- Click on “Workflow”
- Click “Add New” at the bottom right of this menu
- Name the workflow I.E “Install Zoom on all Users”
- Click the clipboard icon below the pencil in this same menu
- Click on “add command”, then “install package”
- Select a package to put it in the workflow. I.E “Zoom – User 0”
- As a safety measure, add a time out of 5 seconds between all commands in a workflow.
- When the workflow is finished it should look like the picture below (Depending on the number of users)
- Apply the workflow; Select the device, or devices (if the number of users is the same) and click apply. Wait for the command to push through and verify that the panels have been
Subscribe to our Tech Notes - Newline Tech Notes and Firmware Updates (newline-interactive.com)
For additional questions, please contact support at 833-469-9520 or submit a ticket via our portal at: Submit a ticket : Newline Technical Services (freshdesk.com)