AnsweredAssumed Answered

Problem with PortalUploadSettings

Question asked by ryu@aditazz.com on Mar 7, 2017
Latest reply on Mar 8, 2017 by ryu@aditazz.com

Hi,

 

I am using PortalUploadSettings to automate the upload .spk files to ArcGIS online according

to the example in the documents:

        uploadsettings = PortalUploadSettings()
        uploadsettings.setFile("/general/data/rpk/rpkassets_simple_01.rpk")
        uploadsettings.setTitle("RPK_Script_Upload")
        uploadsettings.setDescription("RPK from apidoctest script cga0")
        uploadsettings.setUsername(username)
        uploadsettings.setPassword(password)
        ce.upload(uploadsettings)

but CityEngine pops up a form asking for the filename even when I have done "setFile".

Have others been successful using PortalUploadSettings?

Outcomes