AnsweredAssumed Answered

How do I add a WMS service to portal?

Question asked by jol1_agol on Oct 4, 2018
Latest reply on Mar 5, 2019 by billxu2007

 Can't figure out how to do it with specified layers. Current code:

from arcgis.gis import GIS import getpass password=getpass.getpass() gis = GIS(url="",            username="xxxx", password=password)  sp={    'title':'testJola1',      'description':'Test',      'tags':'Test',    'type':'WMS',    'url':'',      }item = gis.content.add(item_properties=sp)print("success!")