Stump the Panel: SharePoint Q&A

Immediate solutions for common SharePoint questions
It is currently Sat May 25, 2013 10:39 am

All times are UTC - 5 hours [ DST ]


Forum rules


What you are viewing is an archive of Stump the Panel. It remains for reference purposes. Please post all new questions on NothingButSharePoint.com
https://www.nothingbutsharepoint.com/sites/eusp/Forum



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: DVWP, String Column = Currently Logge User (was working :( )
PostPosted: Tue May 03, 2011 12:43 pm 
Offline

Joined: Thu Sep 16, 2010 10:05 am
Posts: 84
I did get this to work but then I wanted to delete a column... and now I cannot recreate it (forgot how I got there)

I have a view/page called MyRequests.

There is a STRING column which is equal to a name.

I would like this page to display only items where submitter = Current User.

I've converted the view to xslt in Designer.

I've tried adding parameters for both LogonUser and AuthUser... both specifying the filter under filter criteria and/or xslt filtering...nothing is working.

I've tried:
Filter: Submitter Equals [LogonUser]
Filter: Submitter Equals [AuthUser]
Filter: Submitter Equals [Current User]

xslt filters
Code:
[@Submitter=$LogonUser]

Code:
[contains(@Submitter,$AuthUser)]

Code:
[contains(@Submitter,$LogonUser)]


What am I doing wrong?


Top
 Profile  
 
 Post subject: Re: DVWP, String Column = Currently Logge User (was working
PostPosted: Tue May 03, 2011 12:45 pm 
Offline

Joined: Thu Sep 16, 2010 10:05 am
Posts: 84
jeez.

ok finally got it!

Code:
[@Submitter=$UserID]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group