Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
343 views

How can I set lookup values to a XSLT variable and call the variable to display according to condition?

I am trying to declare a variable and set the xsl:value-of lookup column and later compare the stored value using conditions. I am facing issues while declaring and calling variables. This I am using ...
0 votes
2 answers
939 views

My first row keeps repeating - <xsl:template match="Row">

I am getting data from a list with xsl and creating a nice print preview of that data. The table I am creating is correct except my first row keeps repeating (it has the column name and it is only ...
1 vote
0 answers
70 views

How do I get the list title to use inside xslt?

I'm using a script to create a button, so that the user can create new form: <script type="text/javascript"> function displayLayover(url) { var options = SP.UI.$create_DialogOptions(...
1 vote
0 answers
187 views

Filter styled list webpart using XSL stylesheet

So I have .css and .xsl code turning an out of the box SP calendar list into a pretty events list. I have a different image for each month and my code is long but works perfectly. I also have a ...
2 votes
1 answer
1k views

Customizing my discussion board list (remove filters & remove "Best Reply” link) cannot find a suitable way to do this

I spend the whole day trying to do things which seems straight forward , but cannot find a suitable solution. Now I added a discussion board app, and I though that I will have regular list views found ...
0 votes
1 answer
615 views

How can you move up the paging buttons

The default location of the Paging buttons is all the way down(see picture below). Is there a way to move them over all the way UP, so that users don't need to scroll down every time they want to ...
0 votes
2 answers
72 views

List Validation

In attached sharepoint list column "Status" Data Type is "Number", Column type is "Calculated", Formula :- =IF(NOT([Balance Qty]=0),"OPEN","CLOSED"). Here the requirment is if "PO Date" is not ...
0 votes
1 answer
153 views

Output all comment versions within CQWP

I currently have a list which contains a text field for comments, versioning is enabled and the comments field is set to "Append Changes to Existing Text", so that we can capture and maintain multiple ...
0 votes
0 answers
390 views

Using Rows/Row twice in xslt

I want to use Rows/Row twice but I have no idea how to do it. So I just wrote Rows/Li but it doesn't work. I have two different functions but I don't know how to reference them. How can I change ...
0 votes
1 answer
163 views

Use REST or XSL to get a Table with totals

I have a list with items that contains several columns like: Year Month HourCategory1 HourCategory2 HourCategory3 Now I want to create a table that shows only totals of the hour categories: ...
1 vote
2 answers
4k views

Change Header on Group By

Suppose I have a SharePoint list with a choice column "Department". Department has the following choices: Executive, Admin, Sales, Accounting, IT I want to do a group by on this column, but the ...
0 votes
1 answer
1k views

List View - XSLT Filter by Count

I have a SharePoint list that has several records. One field in the list uses SPServices to query possible values in another list during data entry (essentially a lookup). I created a view and am ...
3 votes
1 answer
1k views

SharePoint 2010 List Grouping Expand/Collapse Sequence Bug

I've run into a bug with a List web part that has me stumped. Bug description: Using the web part and XSL specified below, expanding groups may result in items from the wrong group being shown. ...
2 votes
1 answer
971 views

Output Row Items into Two Separate Divs

I am needing some assistance in creating a stylesheet that can output a single row item into two separate DIVs. Essentially, I am trying to turn list items into tabs using jQuery's UI library. The ...
0 votes
1 answer
622 views

HTML code being displayed instead of resulting output from a column in List

I have a column named "Detail" in my list and its type is "Rich Text". When I insert some item in this list for e.g. "This is a test" and when I display this list on home page of my site using XSLT ...
1 vote
1 answer
446 views

How to display 2 records per row in XSLT (need count of records)

I have a list named "Links". I want to display them in following format: <tr> <td>Link1</td> <td>Link2</td> </tr> <tr> <td>Link3</td> ...
0 votes
1 answer
42 views

"Detail" column not being displayed from List

I have two lists: News Events Both lists contain the following two columns: Title (Single line of text) Detail (Multiple lines, Plain text) I am displaying News on News.aspx page using ...
3 votes
2 answers
3k views

What is the best way to encode parameters to pass it to other List / Page?

I would like to know the best way to encode parameters (with a space or other unsafe characters) when passing these to another List. With ddwrt:UrlEncode ? <xsl:variable name="MyURL" select="...
0 votes
1 answer
2k views

How to Convert Column Field into Hyperlink with xslt

Salvete! In my list, I have a column formatted as a Number, titled, say, "My Number", and the actual markup name of the column is "My_Number". Now, I want to convert the entire column, in any list,...
2 votes
3 answers
2k views

Custom paging on lists through XSLT

I am working with vwstyles.xsl to implement custom paging on lists. The requirement I have is to have first and last button on the paging panel but can't work out how to direct the user to the last ...
2 votes
3 answers
3k views

Comma in URL field

I'm having some trouble with URL fields in my List. The problem is that SharePoint stores URLs in two parts, "Description" and "Url", but in SharePoint Designer I can only access the whole URL in the ...