Code for Fetching application configuration ID
I have a requirement of writing some logic in component controller based on the current application configuration id.
Can any one share the code for fetching the application configuration id of a wd application?
Many Thanks in ADvance,
Thomas Jung replied
Yes there is an API for that. Here is a sample using 7.02 syntax chaining. You will have to expand the object calls if you are on 7.01 or lower. However this still shows you the object relationships for the API.
wd_this->wd_get_api( )->get_component( )->get_application( )->get_configuration_id( ).