Skip to content

Commit

Permalink
Amend comment in contacts-from-sf.sh script.
Browse files Browse the repository at this point in the history
See ukf/ukf-meta#313 for details
  • Loading branch information
Alex Stuart committed Aug 11, 2021
1 parent e3022d3 commit 107bba7
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions utilities/contacts-from-sf.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
#!/bin/bash
# This script processes a Salesforce report "UKfed-contacts-export" which lists all contacts with
# UK Federation Contact Roles and their corresponding Jisc Organisation ID (ukforg) and Organisation Name
#
# The current report can be found here https://eu3.salesforce.com/00Ow0000007MXhK, it needs to be exported as a CSV file
# which ends up as 'reportnnnnnnnnnnnnn.csv'
# This script processes a Salesforce report which lists all contacts with UK federation
# contact roles, their corresponding Jisc Organisation ID and Organisation Name.
#
# Expects a CSV file with the following format:
# "Contact: Email","Jisc Organisational ID","Role Name","Account Name"
# "person1@example.com","127","UK Federation Management Contact","Further College"
# "person2@example.com","12345","UK Federation Signatory","Unseen University"
#
# The input to the script is the above CSV file.
#
# The output of the script is as follows;
#
# * A copy of the Salesforce report in $CSVDEST
# * A list of Management Contact email addresses in $MGMTDEST
# * A list of all contact email addresses in $CONTACTDEST
#
# To use this script please follow the process here;
#
# https://repo.infr.ukfederation.org.uk/ukf/ukf-systems/wikis/HOW-to-process-UKfed-contacts-export-report
#
# Author: Jon Agland <jon.agland@jisc.ac.uk>
#

UKFDATA=../../ukf-data
CSVDEST=../../ukf-data/contacts/sf-contacts.csv
Expand Down

0 comments on commit 107bba7

Please sign in to comment.