Support Request #10193
closedProperties Changable at Runtime
Description
Supportanfrage
Is it possible to change filter properties in CE and propagate them live to a running config? Is there anything else a filiter can do with a property except reading it at initializatio with RegisterPropertyVariable() ?
Lösung
Is it possible to change filter properties in CE and propagate them live to a running config?
No, because the CE is decoupled from runtime, its for setting up a session before launching, as well as the ADTF Config Tool.
To change properties during runtime, please refer to the ADTF Control, in interaction mode as well as in scripting automatization.
Teaser: In ADTF 3.7 there will be UI Service and RPC Tooling as well for this use case, but currently the ADTF Control is your best choice (and after as well in humble headless option...)
Is there anything else a filiter can do with a property except reading it at initializatio with RegisterPropertyVariable() ?
Note that do not Register a property, you register a property_variable which maps to a property accessed by user or code.
At any time in your component you can receive the current value.
Teaser: ADTF 3.7 provides a property_changed callback for each registered property so do not have to poll for changes anymore.
Of course you can use a cProperty directly but it has no benefits compared to a property_variable.
Which feature are you missing ?
What's your aim ?
Note: RegisterPropertyVariable does not read, it creates the above mentioned mapping. you do not have to read, you just register in the constructor and then use the property_variable (with its current value) whenever and whereever yout want.
The linked guide for properties is a good start, as well as our Demos/examples.
Updated by hidden about 4 years ago
- Project changed from Public Support to 11
- Status changed from New to In Progress
- Topic set to ADTF::Common
Updated by hidden about 4 years ago
- Status changed from In Progress to Customer Feedback Required
Hello,
Yes, this is possible.
Please have a look at our ADTF 3 Guides, section Change Properties of ADTF Components while a Session is running
Please report, if this helped
Updated by hidden about 4 years ago
Hi Falk,
Is it possible to change filter properties in CE and propagate them live to a running config?
No, because the CE is decoupled from runtime, its for setting up a session before launching, as well as the ADTF Config Tool.
To change properties during runtime, please refer to the ADTF Control, in interaction mode as well as in scripting automatization.
Teaser: In ADTF 3.7 there will be UI Service and RPC Tooling as well for this use case, but currently the ADTF Control is your best choice (and after as well in humble headless option...)
Is there anything else a filiter can do with a property except reading it at initializatio with RegisterPropertyVariable() ?
Note that do not Register a property, you register a property_variable which maps to a property accessed by user or code.
At any time in your component you can receive the current value.
Teaser: ADTF 3.7 provides a property_changed callback for each registered property so do not have to poll for changes anymore.
Of course you can use a cProperty directly but it has no benefits compared to a property_variable.
Which feature are you missing ?
What's your aim ?
Note: RegisterPropertyVariable does not read, it creates the above mentioned mapping. you do not have to read, you just register in the constructor and then use the property_variable (with its current value) whenever and whereever yout want.
The linked guide for properties is a good start, as well as our Demos/examples.
Updated by hidden about 4 years ago
- Project changed from 11 to Public Support
- Description updated (diff)
- Private changed from Yes to No
- Resolution set to No Customer Feedback
Updated by hidden about 4 years ago
- Status changed from Customer Feedback Required to To Be Closed