It's working great!
Thank a lot.
I have other problems when creating maps...
I have this error:
Can you help me again?
Thank you
BB
Thank a lot.
I have other problems when creating maps...
Code Select
Seed = s.findObjectByName("NameOfMySeed")
SeedId = Seed.getObjectId()
NetworkMaps = s.findObjectByName("Network Maps")
NetworkMapsId = NetworkMaps.getObjectId()
SnmpLocationKO = s.findObjectByName("Snmp Location KO")
SnmpLocationKOId = SnmpLocationKO.getObjectId()
I have this error:
Code Select
Traceback (most recent call last):
File "/data/infra/scripts/NetXMS/Creation-de-map_ALL.py", line 27, in <module>
SnmpLocationKOId = SnmpLocationKO.getObjectId()
AttributeError: 'NoneType' object has no attribute 'getObjectId'
Can you help me again?
Thank you
BB