Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
default parameter value from messages.properties
Migrateduser
Hello,<br />
<br />
I have following problem:<br />
<br />
My report has several report parameter (Address1, Address2, Address3...). The parameters are required. Normally I will get the value of the parameters from my application but if not I want to set a default address.<br />
<br />
The default address values are located in my messages.properties (Address1=Mustermann GmbH). Now how can I use the value from the property file as default value of the parameter?<br />
<br />
I tried something like this:<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>params["Address1"].value = reportContext.getMessage("Address1", reportContext.getLocale());
</pre>
<br />
But it doesn't work. I'm new in Scripting so I hope you can help me...
Find more posts tagged with
Comments
There are no comments yet