How to add a rule using Configuration API strongly typed class? We are unable to find it using MIPSDK.
We currently use MIPSDK 2023 R2 and checked with the latest but could not find it.
How to add a rule using Configuration API strongly typed class? We are unable to find it using MIPSDK.
We currently use MIPSDK 2023 R2 and checked with the latest but could not find it.
Configuration of rules have never been implemented in the strongly typed classes (VideoOS.Platform.ConfigurationItems). You will have to use Configuration API SOAP or the REST API to configure rules.
I recommend you read the “Rules configuration” section of this page - https://doc.developer.milestonesys.com/html/index.html?base=gettingstarted/intro_configurationapi.html&tree=tree_4.html
Like roles : VideoOS.Platform.ConfigurationItems.RoleFolder
public RoleFolder()
: base(EnvironmentManager.Instance.MasterSite.ServerId, “/RoleFolder”)
{
}
We don’t have RulesFolder.
Any plans?
Yes, I can confirm that you cannot use VideoOS.Platform.ConfigurationItems which are the strongly typed class implementation the Configuration API
Are there any plans to introduce it?
No. Rules configuration doesn’t follow a pattern that makes it possible to make it as strongly typed classes. So unfortunately it will not come.