cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to Pass "+" through open doc via design studio 1.4.

former_member197738
Participant
0 Kudos

Hi,


I've am facing this issue quite a while.

One of the dimension has a hierarchy node, that i'm using to pass through open doc parameter via design studio to Analysis for OLAP.

I'm able to pass the text, date and other prompts value, but the "hierarchy node" comes with "+" which is not carried while passing the dimension through open doc.

For example: On Design studio Side : Dimension -  "+costobjectsmaterial".

OLAP : received:-   " costobjectmaterial" (missing the  +). 


Tried to correct on Bex: variable name as "Text", "Key" all possibility. Still the issue is not resolved.

Code-  DS_1.getVariableValueExt("dimension")

Is there, some additional code to pass "+".

Highly appreciate your response, thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

convert.urlEncode(Text) should help you pass the plus.

mike_howles4
Active Contributor
0 Kudos

Or just memorize that + is %2B

former_member197738
Participant
0 Kudos

Hi Michael,

Thanks for your response.

I just tried with %2B.

I was able to pass +(%2B), now the issue is my olap dimension looks like this.

OLAP end:-  "+ costmaterial"

Now i have space between PLUS and Dimension.

So, i went back in Bex and change it to "TEXT" instead of "Key:Text". This solves my space problem and i get ("+costmaterial").

But seems like OLAP is set for "Key: Text" by default, my bex changes DO NOT apply.

I guess the reason it is throwing me space is because OLAP is set for Key and Text, but on Design Studio side "+" gets dropped in open doc and leaves a space there.

Now, by making it memorize the + by applying you trick, it does not replace the blank but adds it before that.

I removed all the spaces in my code but no luck, thanks

former_member197738
Participant
0 Kudos

Hi Victor,

Thanks for quick response,

I'm going to try your trick sometime today, 'll update, thanks

I hope i don't run into same SPACE issue.

former_member197738
Participant
0 Kudos

Hi Victor, Hi Michael,

Victor - I tried your code.

I was able to get the ("+costmaterial"), which i was looking for.

Now, filter applied on Design Studio are exactly same as passed via open doc. to AOLAP.

I should be able to see the same results on both applications but that's not what i see.

So, i check the prompts on AOLAP, looks good to me, i could see  (+costmaterial).

Now, when i click ok button, it refresh the application and comes back with right data. I can still see my passed dimension as (+costmaterial).

Looks like OK button is acting as trigger and ultimately feeding it the right text format.

Michael - using your idea gives me the same result as what i get with Victors one.

Thanks both   for your time.

I'll play with it little more and see if converting it to string helps, thanks

-Fahad

Answers (0)