Learn More About the Bamboo SharePoint Administration Suite

Relative URL

rated by 0 users
This post has 6 Replies | 2 Followers

Top 75 Contributor
Posts 4
Points 71
Brian Posted: Wed, Aug 27 2008 3:31 AM

Our SharePoint Portal is bound to 2 Authentication Provider which means that it is accessed via 2 different URLs. Since I cannot configure the site path with relative URLs I have to decide to use the intranet URL or the extranet URL.

Why isn't it possible to configure relative URL's?

thanks

Top 10 Contributor
Posts 240
Points 3,791

 Hello Brian,

We use the SharePoint out of the box feature Alternative Access Mappings to provide the appropriate URL based on the URL the user logs in with.  Initially you are correct that you have to enter an absolute URL when configuring the List Rollup Web Part, however as I just mentioned, the List Rollup then translates this URL based on the current user login.

On a side note, I mentioned that we use Alternative Access Mappings to control this, but I want to also clarify that there is a "right way" and a "wrong way" to manage this. The "right way" is to actually extend your existing Web Application, not simply add the entry in the Alternative Access Mappings list in Central Administration.  This is assuming that your various authentication providers are accessing the same set of data.  For more details please review the following Bamboo KB Article: http://store.bamboosolutions.com/kb/Article.aspx?id=10460

I hope I have answered your question, and thanks for looking at our List Rollup Web Part.

**************

Jeff Kozloff

Bamboo Solutions Corporation 

 

Top 75 Contributor
Posts 4
Points 71
Brian replied on Wed, Aug 27 2008 10:56 AM

 Hi Jeff

Thanks for your quick answer. What you are saiing is correct for collecting the data. The List collects the Entries with both urls. The problem is that the links to the site path and the list entry is not translated.

As far as I can say we have used "the right way" to configure Alternate Access Mappings ;-)

Brian

 

Top 10 Contributor
Posts 240
Points 3,791

 Hello Brian,

Just to clarify, you are talking about the optional additional column Site Path that you can add through the List Rollup Web Part is not providing the correct translated URL where as the Item URL (Title) is correct?

This sounds like a bug, I will post it on our List Rollup project site for resolution.  Could you do me a favor and provide me the version of List Rollup you are currently running?  To do so go to the List Rollup Web Part tool pane and expand the section About Web Part.  If you can provide the number given for File Version that will be beneficial.

Thank you for your time!

**************

Jeff Kozloff

Bamboo Solutions Corporation 

 

Top 75 Contributor
Posts 4
Points 71
Brian replied on Fri, Aug 29 2008 9:12 AM

 Hi Jeff

Both the Site Path and Item UrL isn't translated.

Brian

 

Top 10 Contributor
Posts 240
Points 3,791

 Hello Brian,

I appreciate your patience.  I spoke with our engineering team and this is unfortunately a limitation in the Data Source Control that we utilize to get the information from SharePoint.  When we submit the QueryXML to the data source control for the data, the query xml returns the same url as it received in the request.  As a result, items returned, returns a static URL instead of relative.

We apologize for this inconvenience.

**************

Jeff Kozloff

Bamboo Solutions Corporation 

 

Top 75 Contributor
Posts 4
Points 71
Brian replied on Thu, Sep 4 2008 2:02 AM

Hi Jeff

From our Partner I got this answer from Bamboo Support Team:

I checked with engineering team. Apparently this issue still isn't fixed. A workaround is available. I have pasted it below. I hope this helps until we can get the fix into a baseline build.

 

****

*         On the List Rollup Dataview, select Modify Shared Web Part

*         In the web part tool pane, click on XSLT Editor

*         Locate this xslt element <a href="{@ows_URL}&amp;Source={$PageUrl}">

*         Replace it with this xslt element  <a href="{concat(substring-before(@bsc_DefaultViewUrl,'Lists'),'Lists',substring-after(@ows_URL,'Lists'))}&amp;Source={$PageUrl}">

*         Click Save on the web dialog and then Apply on the web part tool pane.

 

Regards,

 

Emmanuel

Bamboo Support Team

I tried this workaround. It works fine for the Title link. But I could not figure out how to do the same for the site path link. Could you check this for me?

I hope that this workaround will be built in to the next release.

regards

Brian

 

Page 1 of 1 (7 items) | RSS
  
Bamboo Solutions Corporation, 2002-2008