on 07-26-2008 12:02 PM
Hi All,
I want to develeopment webdynPro project,in which need to get environment dependent parameteres depending on Environments..as i do in java, i want to create .properties file with the WebdynPro project.
i am unable to create the file..Please help me out to develope a Projects independent of Environment....
Thanks
-
Nagaraju
Solved using IWDConfiguration API.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Where can i get the configuration api. Can u please provide where can i get it.
IWDDeployableObject deployableObject = wdComponentAPI.getDeployableObjectPart().getDeployableObject();
String configName = "test"; //This should match with the name specified in the src->configuration->test.properties
WDConfiguration.getConfigurationByName(deployableObject, configName)
//For 7.1 instead of the above code use
IWDWebModule webModule = wdComponentAPI.getDeployableObjectPart().getWebModule();
WDConfiguration.getConfigurationByName(webModule, configName);
Regards
Ayyapparaj
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.