-
1
- #1
A few months ago I found a document explaining how to export a CSV showing the UCC bundle that is assigned to a user. The CSV could then be modified using Excel, uploaded back to the MAS and then imported to effectively bulk modify the UCC bundle assigned in USP. I'm looking for that document.
The command syntax that I found in history is:
#ubat -e <file name.csv>
Going a little further:
# more /usr/mas/bin/ubat.sh
#!/bin/bash
#
# This script has two main action options: -e : Export, -i : Import
# The third action option -c is to remove intermediate tables created
# during export/import. You would only use -c after you have done your
# import; not before.
#
# To export (-e) is to analyze users and their feature sets, makes
# suggestions as to their UCC bundles and export the resulting
# info to a .csv file
#
# To import (-i) is to import a similarly formatted .csv file and
# use the information therein to set the UCC bundles for the
# users in the file.
#
# The typical usage is described in DK122004:
# 1. Export users to .csv file. Example: ./ubat.sh -e myusers.csv
# 2. Use a spreadsheet to analyze the information. Make changes
# to the 'bundle' field if necessary.
# 3. Import the modified .csv file. Example: ./ubat.sh -i myusers.csv
# 4. Cleanup. Example: ./ubat.sh -c
#
# History:
# 24/03/2014 vuh MN00521767 - Suppress unwanted output
# 24/03/2014 vuh MN00521860 - Empty UCA profiles come out as no UCA profile
#
Anyone know the name of this document?
-b
The command syntax that I found in history is:
#ubat -e <file name.csv>
Going a little further:
# more /usr/mas/bin/ubat.sh
#!/bin/bash
#
# This script has two main action options: -e : Export, -i : Import
# The third action option -c is to remove intermediate tables created
# during export/import. You would only use -c after you have done your
# import; not before.
#
# To export (-e) is to analyze users and their feature sets, makes
# suggestions as to their UCC bundles and export the resulting
# info to a .csv file
#
# To import (-i) is to import a similarly formatted .csv file and
# use the information therein to set the UCC bundles for the
# users in the file.
#
# The typical usage is described in DK122004:
# 1. Export users to .csv file. Example: ./ubat.sh -e myusers.csv
# 2. Use a spreadsheet to analyze the information. Make changes
# to the 'bundle' field if necessary.
# 3. Import the modified .csv file. Example: ./ubat.sh -i myusers.csv
# 4. Cleanup. Example: ./ubat.sh -c
#
# History:
# 24/03/2014 vuh MN00521767 - Suppress unwanted output
# 24/03/2014 vuh MN00521860 - Empty UCA profiles come out as no UCA profile
#
Anyone know the name of this document?
-b