Anyone have an example of their own modified Workforce script?

688
1
09-15-2016 04:33 PM
EddyClark
Occasional Contributor

It is not clear to me how to use these python scripts.  

I'm not sure if I need to change some of the already existing text or add text to the python script(s), particularly the create_assignments_from_csv - which is where I began.  I guess I'm off to a rough start.

These are the scripts I speak of: GitHub - Esri/workforce-scripts: A set of scripts to help administer Workforce projects. 

I'm used to finding scripts that say:

# Here is where you change the text to your own username and password

url = "www.arcgis.com"
username = "username"
password = "password"

# Here is where you specify fields

xField = "X"

yField = "Y"

Tags (1)
0 Kudos
1 Reply
Ystad1
by
New Contributor II

Have a look at my answer to a similar question here:

https://community.esri.com/message/641654-upload-csv-to-workforce-as-assignments 

Hopefully it might help!

0 Kudos