Am looking at the Plugin sample for SaveOptionsConfiguration and trying to implement it for component integration and some how am getting a System.NullReferenceException when “SaveOptionsConfiguration” is being called. Here’s my function:
private Guid setProperty(String sKey, String sValue)
{
Guid guid = Guid.NewGuid();
_VideoOS.Platform.Configuration.Instance.SaveOptionsConfiguration(guid, false, Utility.toXML(sKey, sValue));_
_return guid;_
}
Am not sure what went wrong or is that the way to set the Guid. Do I get the Guid from the VMS instead of creating a new instance here?