Closed stefxx closed 4 years ago
@stefxx
This is because you are trying to update a feature that does not exist yet. Try creating the feature first with hs.CreateFeatureForDevice()
@jldubz I am creating the feature with hs.CreateFeatureForDevice() in the second-last line: Dim ddvf As HsFeature = hs.GetFeatureByRef(hs.CreateFeatureForDevice(nfd))
Environment and System Config
I can't get UpdateFeatureByRef to work. UpdateDeviceByRef works just fine. What is the difference? For UpdateFeatureByRef I always get this error: _Invalid type for property Service Version: NOVERSION
Here is the code I am using.
Everything goes well until the last line.
Thanks!