Hello, I was asked by a client if it was possible to populate the CI in SOI's "Location" property for each CI that it gets from Spectrum.
They previously populated the Location (0x23000d) attribute on many Spectrum devices.
So I added to the AdditionalAttributes.xml file the following:
<Attribute id="0x23000d" name="Location"/>
<Attribute id="0x1102e" name="sysLocation"/>
And in the SpectrumPolicy.xml file I added
<Field conditional="sysLocation" output="Location" format="{0}" input="sysLocation"/>
<Field output="Description" format="{0}, POC: {1}, {2)" input="Description,ContactPerson,USER_AssetDescription"/>
Then added to the publishcache the [,Location,ContactPerson,USER_AssetDescription,NamedAliases,CIuserAttribute1]
Yet this didn't work. The Location field on the CI's in SOI are not getting populated. I initially tried with the Location attribute, then I tried with the sysLocation property. Both didn't work.
Anyone have any ideas?
Also they wanted to populate the Description property on each CI in SOI from Spectrum based on a conditional of the 3 attributes listed above. [input="Description,ContactPerson,USER_AssetDescription"]
Is it possible to do a conditional assignment based on 3 variables?
TIA...