Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We have a page setup for searching. We have the People Search Core Results web part on the page. The web part displays matches but is going to the wrong place. The user link is going to the server name but not the server port address. For example we have a site setup http://:port/pages/colleagueResults.aspx. We select the user but instead of going there it’s going to http:/pages/colleagueResults.aspx. I know I need to edit the XLS text and change the <a href> line. I’m not sure how I need to change it so it uses the full URL or appends the port number.

I believe I need to edit the line:

<a hef=”{ddwrt:EnsureAllowedProtocol(string($url)))}” id=”{concat($currentId, ‘_CSR’)}”>
share|improve this question
Sounds to me like an alternate access mapping issue. Are you using the OOB XSLT or have you customised it? – Fox Dec 8 '11 at 5:48
I believe it OOB XSLT but I'm not 100%. The site was migrated from a 2007 content database to 2010. The page already existed. – David Dec 8 '11 at 17:41
I looked in central admin under alternate access mappings for the site in question. I see fo Internal URL it has servername:xxxx with zone being default and Public URL for zone being servername:xxxx. I don't know if that information helps. – David Dec 8 '11 at 17:48
Hi David. Under normal circumstances, your users would never access the site using a port number. Users will always access it using yoursite.yourdomain.etc instead of servername:portnr. So to this end, try and access the site using your public URL and see if the link opens fine? – Fox Dec 13 '11 at 6:17
In my situation I don't have a public URL. I just access the site by referencing the servername:number. The site is on a development server and doesn't have a public URL setup yet so I can’t test it that way. I will see if I can get a public URL setup. So for me I can’t test the link until I get public URL setup? I can’t strip or remove the port number from the URL? – David Dec 15 '11 at 0:03
show 1 more comment

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.