Parameter Value Not Resolved
I have an issue that I have seen before I never figured out so want to see if others have encountered this and figure out what I am doing wrong. I have a data adapter that calls a Dashboard Dataset BR to get populated. I pass in a parameter like "Parameter1=|!SomeOtherParam!|". When I use "args.NameValuePairs.XFGetValue" to get the Parameter1 value is returns "|!SomeOtherParam!|". I expect to see the actual value of SomeOtherParam or nothing but not the literal param with pipe and exclamation mark. Has anything encountered something like this before?
It is related to the processing order of the components, data adapters, and parameters. In your case, the parameter „someotherparameter“ is needed to build the data adapter, but it doesn’t exist yet. And the query fails.
The solution is easy, you just need to test, if the parameter already exists, and exit the business rule if not.
I‘m not at my desk, so I can‘t post a sample.