Project

General

Profile

Actions

Support Request #10193

closed

Properties Changable at Runtime

Added by hidden about 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
EF
Requester's Priority:
Low
Support Level:
2nd Level
Resolution:
No Customer Feedback
Product Issue Numbers:
Affected Products:
Platform:
Windows 10 64bit
Topic:
ADTF::Common
FAQ Links:

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.

Actions #1

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
Actions #2

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

Actions #3

Updated by hidden about 4 years ago

@Florian
are there further information on this?

Actions #4

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.

Actions #5

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
Actions #6

Updated by hidden about 4 years ago

  • Status changed from Customer Feedback Required to To Be Closed
Actions #9

Updated by hidden almost 4 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF