Solved

How to handle the "&" sign in Query String (URL) Filter (SharePoint 2010)

Posted on 2013-01-15
2
853 Views
Last Modified: 2013-01-16
Hello Experts,

I have a performancePoint Dashboard hosted on SharePoint 2010 website. The dashboard is comprised of two pages and the user has an option of clicking a text value in one report that will take him into another detailed report in a second page.

Both reports read data from SSAS cube and the parameter value that I'm passing has the following format (for example):
[Channel].[Genre].[Channel].&[2]
[Channel].[Genre].[Channel].&[4]
[Channel].[Genre].[Channel].&[100]

I'm using "Query String (URL) Filter" to pass the parameter between the two reports, but the problem is that the value gets truncated after the "&" sign, and I'm only getting this part:
[Channel].[Genre].[Channel].

Appreciate your help in trying to find a way to send the entire parameter value into the second page, i.e. [Channel].[Genre].[Channel].&[100]

You may wish also to suggest an alternative way for passing the value if you think that the "Query String (URL) Filter" is the not the best option.

Thank you,
Hani
0
Comment
Question by:Mehawitchi
2 Comments
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 38778949
Hi,
you will have to URLEncode the value passed by the query string.
What type of report do you use (which generates the link to the other page)?
If it is a SSRS report, this link will help:
http://capstonebi.blogspot.de/2010/04/url-encoding-in-reporting-services.html

HTH
Rainer
0
 

Author Closing Comment

by:Mehawitchi
ID: 38781691
Many thanks Rainer - It worked like charm
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question