Hi Support!
I have a requirement to have a business class, which will have dynamic/custom fields, but these custom fields will differ between different instances of the object. An example would be as follows:
I have a business class called "Equipment". This c lass has a property called "EquipmentType" which indicates what "type" of equipment it is e.g. a car, truck, hammer, drill etc. Depending on the EquipmentType, an instance of the Equipment object will have different custom fields. e.g. a car may have a field called "TopSpeed" whereas a truck may have field called "MaximumCapacity".
I have two questions for this scenario:
-
How can I have a Detailed View dynamically show the custom fields relevant to the instance of the object? (I have thought the only way to really do this, would be to create a custom editor for this purpose, but wondering if there is a better way)
-
How can I have these dynamic properties appear in the dashboard designer? I don't mind if ALL properties for all instances are shown in the dashboard designer, but wondering how I can do this. Using the Module "CustomizeTypesInfo override" I seem to only be able to statically add dynamic properties, however in this case, the dynamic properties are defined by the user (i.e. the Module CustomizeTypesInfo override does not seem to have access to the ObjectSpace to create the properties dynamically)
Thanks,
Jarrad