The built-in search web parts are useless unless you are happy to stick to XSL in customization. My original reply stands.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Pollard Sent: Monday, 27 October 2008 8:33 AM To: [email protected] Subject: Re: [OzMOSS] Username keyword in sharepoint Sorry, my reply was poorly phrased, it was more a question ... could the current user filter work? I did a quick test to see that the core search results could be connected to a filter, but didn't go any further. On Mon, Oct 27, 2008 at 12:17 AM, Sharepoint Consultant <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Thanks Mat, I tested the Current User Filter webpart but the Search Core webpart does not seem to accept the filter. Looks like inheriting the Search Core Webpart may be the way to go. On Sun, Oct 26, 2008 at 8:03 PM, Matthew Cosier <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Cool - that might be worth a shot - but can you confirm that the core results web part accepts the filter? I'd definitely try this before custom devving! M From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] On Behalf Of Daniel Pollard Sent: Sunday, 26 October 2008 7:46 PM To: [email protected]<mailto:[email protected]> Subject: Re: [OzMOSS] Username keyword in sharepoint You could use the Current User Filer web part: http://office.microsoft.com/en-us/sharepointserver/HA100337861033.aspx No need to create a custom web part. Daniel On Sun, Oct 26, 2008 at 5:19 PM, Sharepoint Consultant <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Hi, I am using the Search Core Results webpart and utilising a fixed keyword query. I need to return all content for the current user. My current keyword query is: author:machinename\Administrator This works great, however, I do not want to hardcode the username. I want it to pick up the user currenty logged in. Does anyone know how this can be done? ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com<http://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<http://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<http://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<http://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 ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
