Open patrickhaley opened 2 years ago
https://taming.tech/lessons/signatures/
Create an HTML file for signature: https://drive.google.com/drive/folders/16d3VugJuFwwTgNq0SR-3ZR7eBXGi495n
Print all user fields gam print users allfields > signatures.csv
gam print users allfields > signatures.csv
Remove existing signatures (OPTIONAL AND USE CAUTION): gam csv signatures.csv gam user "~primaryEmail" signature blank.txt html
gam csv signatures.csv gam user "~primaryEmail" signature blank.txt html
Apply new gam csv signatures.csv gam user "~parimaryEmail" signature file SimpleSignature.html html replace firstname "~name.givenName" replace lastname "~name.familyName" replace jobtitle "~organizations.0.title" replace workphone "~phones.0.value" replace mobilephone "~phones.1.value" replace email "~primaryEmail"
gam csv signatures.csv gam user "~parimaryEmail" signature file SimpleSignature.html html replace firstname "~name.givenName" replace lastname "~name.familyName" replace jobtitle "~organizations.0.title" replace workphone "~phones.0.value" replace mobilephone "~phones.1.value" replace email "~primaryEmail"
Create directory for GAMWork/Signatures
https://taming.tech/lessons/signatures/
Create an HTML file for signature: https://drive.google.com/drive/folders/16d3VugJuFwwTgNq0SR-3ZR7eBXGi495n
Print all user fields
gam print users allfields > signatures.csv
Remove existing signatures (OPTIONAL AND USE CAUTION):
gam csv signatures.csv gam user "~primaryEmail" signature blank.txt html
Apply new
gam csv signatures.csv gam user "~parimaryEmail" signature file SimpleSignature.html html replace firstname "~name.givenName" replace lastname "~name.familyName" replace jobtitle "~organizations.0.title" replace workphone "~phones.0.value" replace mobilephone "~phones.1.value" replace email "~primaryEmail"