ts383

On a page that has parameters in it's querystring, I have several web parts. I'd like the user to click the title of a webpart, and be taken to another page. Simple enough, I set the Title URL property of the webpart.

I need to be able to pass along a parameter from the querystring as well. (basically make the title of the webpart http://www.link.com/link.aspx id={param}) and have param come from the QueryString of the page containing the web part.

Is this possible



Re: SharePoint - Design and Customization Passing a Parameter to a web part Title URL

panjkov

You can use Query String Filter web part, inside MOSS 2007.

HTH
Dragan





Re: SharePoint - Design and Customization Passing a Parameter to a web part Title URL

ts383

I don't believe that I can use the QueryString filter part. I'm not trying to filter the content of a webpart.

These are Business Data Related Lists. They are getting information from a Business Data Item Builder to display the appropriate content. I'm trying to make the Title bar of the list a hyperlink. That hyperlink URL needs to have some parameters passed via the QueryString. The values of those parameters come from the URL of the page the Related List sits on.

For example:

http://sharepointSite/BDC/RelatedList1.aspx id=333

On RelatedList1.aspx I have a Business Data Item Builder and a Business Data Related List. The Item Builder sends the parameter to the Related List. The Related list shows records in pages of 5.

When a user clicks on the Title of the Related List, they should be taken to a new page (that displays a larger list -- more records, additional columns, etc). The URL of that page is http://sharepointSite/BDC/FullList1.aspx id=333

I need to be able to set the TitleURL property of the web part to a URL that contains the id parameter in the query string.





Re: SharePoint - Design and Customization Passing a Parameter to a web part Title URL

panjkov

Well... I didn't use BDC much... SorrySad I'll try to play around with that, and If I find out something, I'll post here




Re: SharePoint - Design and Customization Passing a Parameter to a web part Title URL

ts383

Ultimately, we've decided to go a different direction and just write the webparts ourselves to call our WebService and display the results in an SPGridView. This way, I can build the URL string and assign it to the webpart's TitleUrl property dynamically in the code-behind and achieve our desired behavior.

The BDC works well for displaying data, but its limited customizability is really a handicap, at least for us.