- How can I add multi-line text-box for property definition? I have a field where user will add some security keys and it will be long value without space.
- How can I ask user to select location after the successful identification of the user and based on the location we want to sync Doors, Events and other relevant information?
- Is there a way through which we can have the plug-in to set some configurations based on the environment? Like if it is a development environment then we want to use some static and custom configurations from the code?
I have provided below sample code just for reference to show you that we have two Property Definition which we want to configure.
private static List<ACPropertyDefinition> _propertyDefinitions = new List<ACPropertyDefinition>()
{
new ACPropertyDefinition(Keys.SecurityKey, "Security Key", "", ACImportance.Required, true, "Security Key", ACValueTypes.StringType, null),
new ACPropertyDefinition(Keys.Location, "Location", "", ACImportance.Optional, false, "Location for Access Control", ACValueTypes.EnumType, new ACProperty[] { new ACProperty(ACValueTypeProperties.EnumTypeValueKey, "Select Loction") }),
};