Sorry found it:

   <a href="{$url}" id="{concat('CSR_',$id)}" title="{$url}">
    <xsl:choose>
     <xsl:when test="/All_Results/Result/tommyfilename[. != '']">
         <xsl:value-of select="/All_Results/Result/tommyfilename"/>
     </xsl:when>
     <xsl:otherwise><xsl:value-of select="title"/></xsl:otherwise>
    </xsl:choose>
   </a>

Cheers,

Tommy Segoro
Sharepoint Specialist Practice Lead
[cid:[email protected]]
L7 Solutions Pty Ltd
www.L7.com.au<http://www.L7.com.au>
T: +61 8 9221 7744
F: +61 8 9221 8199
M: +61 449 903 500
Ground Floor 256 Adelaide Terrace Perth WA 6000
PO Box 3044 Adelaide Terrace WA 6832

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tommy Segoro
Sent: Friday, 19 September 2008 3:32 PM
To: [email protected]
Subject: [OzMOSS] Search Results BDC

Hi all,

I've been able to perform AccessChecker for BDC so it filter search results 
based on whoever logged in 
(http://www.sharepointblogs.com/tommysegoro/archive/2008/09/17/moss-bdc-search-and-web-service-securing-the-search-results-for-particular-user.aspx)
 etc

Now, what I'm confused about is how to change the search results link:

Atm it displays FileEntity.aspx all the time..

[cid:[email protected]]

How do I change the title into the actual BDC Entity ID? I've created managed 
property called TommyFilename and tried to modify the XSL such as below:
  <span class="srch-Title">
   <a href="{$url}" id="{concat('CSR_',$id)}" title="{$url}">
    <xsl:value-of select="TommyFilename"/>
   </a>
    <br/>
   </span>

But TommyFilename is always blank and doesn't display anything.

Any ideas?


Tommy Segoro
Sharepoint Specialist Practice Lead
[cid:[email protected]]
L7 Solutions Pty Ltd
www.L7.com.au<http://www.L7.com.au>
T: +61 8 9221 7744
F: +61 8 9221 8199
M: +61 449 903 500
Ground Floor 256 Adelaide Terrace Perth WA 6000
PO Box 3044 Adelaide Terrace WA 6832

------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com



------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.

Powered by mailenable.com

<<inline: image002.jpg>>

<<inline: image003.png>>

Reply via email to