Ens.Host, Ens.ContextSearch and drop-down property editors
These two articles describe how to extend business components with additional properties:
1. https://community.intersystems.com/post/how-customize-ensemble-settings
2. https://community.intersystems.com/post/creating-custom-captions-intero…
I have one more question about drop-down editor. Is it possible to pass to its URL the value of another business component property, not just @productionId? Something like:
class MyOperation extends (EnsLib.REST.Operation, Ens.Host)
{
Property MyProperty as %String;
Property MyAnotherProperty as %String;
Parameter SETTINGS = "MyProperty:Connection:selector?context={My.Namespace.ContextSearch/SomeSearchMethod?productionName=@productionId&myAnotherPropertyValue=..MyAnotherProperty}"
}Product version: IRIS 2023.1
Discussion (1)1
Comments
If you have more than one BH referring to the same property, either use System Default Settings or Production settings.