1
vote
1answer
23 views

XsltListViewWebPart build query using variable

is possibility send a variable from ParameterBinding to query in XsltListViewWebPart? <Query> <Where> <Eq> <FieldRef Name="FileDirRef"/> <Value ...
2
votes
0answers
56 views

XSLT Global parameter LCID is empty

According to this MSDN documentation about XSLT global parameters, in main.xsl there is a parameter named LCID whose value should be the value of ...
1
vote
2answers
208 views

How to customize item style template?

SP newbie here. I am trying to understand then customize a built-in item style template (copied from the ItemStyle.xsl file) below. 1 Where can I find the functions OuterTemplate.*? 2 Should I want ...
0
votes
0answers
26 views

SPFieldChoice not showing correctly in view

We have an SPFieldChoice "ApprovalStatus" and are showing it in a view through the following xslt: <td> <xsl:value-of select="@ApprovalStatus"/> </td> The thing is that it ...
0
votes
0answers
38 views

Filtering a DVWP while using XSL:Import

I've got a DVWP in SharePoint 2010 that shows the details of a single item. The DVWP chooses the correct item to display based on the current site URL (relative path). Everything works great, but the ...
1
vote
2answers
269 views

XSLT Row Count Question

Using XSLT v1.0 tl;dr : How do i count the number of rows where two columns contain non-null values? I have an application that records time stamps. I am taking two of those time stamps columns and ...
0
votes
1answer
188 views

Transpose list items in data view webpart(xslt)

I am working on a sharepoint list with items view like below name | code | total | date build1 x1 10 apl-2013 build2 x50 60 may-2013 build3 x90 450 ...
0
votes
0answers
63 views

Adding permission based edit URL to content query webpart

I am displaying a list onto a page using the content query webpart(Sharepoint 2013). I would like to be able to allow a select few users (already in a group) to be able to edit the list item using a ...
0
votes
0answers
330 views

Help with repeating values SharePoint XSLT

I have created a tabbed jquery ui content query webpart with xsl below. My issue as shown in the image is the tabs are repeating itself when the same value is selected twice. I just want one tab ...
0
votes
1answer
201 views

Always show Header&Footer in Content Query WebPart

I want to add an header and a footer to the data displayed by a Content Query wp using SharePoint Designer. I had been following the following tutorials: Link 1 and Link 2. It works fine but the ...
0
votes
0answers
55 views

Creating a Table using Vertical Row Items from a Joined Data Source

I am not sure if I worded this correctly at all, but I am in need of assistance with what I am assuming is the XSLT stylesheet for a [sub]joined data view within SharePoint Designer. Essentially, I ...
0
votes
1answer
19 views

XSLT query coming up as false

Any ideas why query results is coming up as false, although values are the same? <xsl:value-of ...
1
vote
1answer
118 views

Calculate Columns Row Total in SharePoint Designer 2010 (Data Form/XSLT Web Part)

I am using Data Form Web Part in SharePoint Designer 2010 (or XSLT Web Part would also work): I have a table like below: ColumnA ColumnB Status Project1 Task1.1 ...
2
votes
1answer
330 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
1answer
142 views

List view different in SharePoint Designer 2010 vs browser (XSLT question)

I'll open with the background, then ask my question after. Background I am modifying a list view for a SP 2010 list. I use an XSLT template for a field. I select this row, then implement a ...
0
votes
1answer
61 views

Custom RadioText Box not Saving to Field

I have a Radio Text Box in a New Form that I want to save the selections to a SharePoint field. I want options to show/hide according to a parameter passed in. For example, if the parameter is ...
1
vote
1answer
96 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
1answer
35 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 ...
1
vote
1answer
125 views

Using nested functions in XSLT (function inside function)

I have the following two functions in XSLT 1.0 ShortenDetail RemoveHTML I am trying to first clean "Detail" column using RemoveHTML function and then I want to shorten it using ShortenDetail ...
0
votes
1answer
122 views

Writing Javascript code in XSLT

Can I write Javascript code in XSLT? Basically I will be calling Javascript's document.location.href to check which site is currently opened (English or Arabic). So let's say if English site is ...
1
vote
1answer
115 views

Whether to use same XSLT file for both English and Arabic or separate?

I am making a site in English and Arabic. I am using XSLT to display date but now I have realized that date is not being displayed properly in Arabic website. For that I need to change function in ...
0
votes
1answer
699 views

string-length in XSLT not working

I have written the following code which checks whether the string provided is greater than 1- characters in which case only print the first 10 characters, otherwise print complete string. But I am ...
0
votes
1answer
43 views

Toggling Data View Web Part Paging at Runtime

I'm using partial text filters that push query string parameters to the Data View Web Part. The DVWP is using an XSLT filter that refers to the values supplied by the textboxes. The challenge that I'm ...
0
votes
0answers
36 views

xslt transform: : failed library not registered

I have created List in VS2010 using List definition template. Then I went to Sharepoint designer and tried to add "Edit Item Form" web part on page. But it failed with next message: "xslt ...
0
votes
1answer
52 views

How to structure my sharepoint 2007 xslt to sum

I'm having a little trouble with some syntax for my xslt statement on a custom sharepoint page, any help would be much appricated. I've summed a column from a list and it displays correctly (code ...
1
vote
1answer
48 views

How to Modify the Author name in Blog Categories (categories.aspx)?

I have copied blog.xsl and created Blogwrittenby.xsl to override the author name and display default author name. It works well for all other places except when we see categories. Any help would be ...
1
vote
2answers
530 views

XSLT filter for Yes/No Column/Field in SharePoint Custom List for SharePoint Designer DataView WebPart

I'm trying this with no luck: [@ActiveStatus='Yes'] also tried 1, '1', 'True' .. get no rows back.. If I remove the filter I get back all rows. full line in code view looks like this: ...
0
votes
1answer
110 views

Need help with getting List Item counts

I have a custom list created that tracks project status by stages. I need to present the same in a chart format. Below is the list information. Columns *Project Name *Development(Phase1) ...
0
votes
2answers
78 views

How do I dynamically insert a web part onto a page using Sharepoint Designer 2010?

I have a requirement to create a DVWP which queries a list of items: 1.1, 1.2, 1.3 etc. I have a webpart that takes an input (i.e. "1.1") and does some cool stuff with it. What I would like to do is ...
0
votes
0answers
94 views

xslt transform faild 0x80004005 namespace does not contain any functions

I have created an xslt function for SharePoint and I am getting this error in sharePoint designer 2010. However it works fine in browser: xslt transform faild 0x80004005 namespace '' does not contain ...
0
votes
1answer
71 views

SHarepoint Search 2010 - XSL Code Customization

I need to display the image preview on my search result by replacing the code for the search-icon as below XSL code: img align="absmiddle" src="http://site/image/123.jpg" border="0" ...
0
votes
2answers
1k views

The URL 'shared documents/test.pdf' is invalid but file exists

Background: I followed this article http://www.kraftkennedy.com/blog/bid/101982/Creating-Edit-Item-Forms-for-Document-Libraries-in-SharePoint-Designer-2010 I did not delete any of the fields yet The ...
0
votes
1answer
457 views

Filter a DVWP based on currently logged in user

I have a sharepoint list which lists issues. There are 4 people(not fixed) from separate groups(say A,B,C and D) responsible for each issue. Now I've a requirement according to which, I'll have ...
0
votes
1answer
216 views

XSLT/Webpart View in Custom Javascript text file?

So this may be silly but I want to ask anyway, if I am using the text file approach (markup and javascript within text files that a CEWP references), is it possible to add mark up or script that would ...
0
votes
2answers
480 views

How to have a row number in a custom webpart with pagination

I have a custom list and i would like to have a row number. I did use the <xsl:number/>and that worked but when i click on the next page of the list the number resets itself back to 1 again. Is ...
1
vote
1answer
164 views

Hyperlink text to another list xslt

Anyone have ideas how I can link a text in another list. I have a one list(A) which contains items i want to display. I want to link to an article in list (B) Pages library using xslt dataview. Any ...
7
votes
2answers
4k views

XSLT Get Current date or Today in XSLT

Help please can anyone advise how I get current date, or today method in xslt 1.o SharePoint
3
votes
1answer
735 views

Edit date format of Blog post and comments

I'm trying to change the date format of blog posts and comments in Post.aspx, but having trouble. What I want to do is change the $thisNode/@PublishedDate value with ...
1
vote
1answer
377 views

How to get current locale so as to display correct data in data-view webpart

I am making data-view which gets data from a list (having different language columns). My problem is I want to get the current user locale in XSLT and then display data from appropriate language ...
1
vote
1answer
882 views

Help xsl formatting help needed

I am creating this http://demo.webdeveloperplus.com/featured-content-slider/, image rotator in where data will be pulled automatically from a custom list. Need help with markup, as current markup ...
2
votes
0answers
1k views

Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?

In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by: "Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
1
vote
1answer
320 views

Data View Web Part pointing at multiple XML feeds/internal SharePoint lists

I am trying to put together a web part with a mixture of jQuery display functionality on a DataView web part. The idea is to have multiple sources of news feeds from both an internal SharePoint list ...
1
vote
0answers
253 views

Problem with 2 column layout in DVWP

MOSS 2007. I have a joined list with mutliple categories. I have a two column layout where the category is the header for each section with a group of subcategories. The categories are filtered based ...
0
votes
1answer
831 views

item style xsl profile picture

I am trying to create custom query in SP2010 called company announcement. I would like to include the profile picture of the author from the sharepoint user profile. Any help would be great! ...
0
votes
1answer
275 views

DVWP MaximumRows ParameterBinding not working

Is it possible to use ParamaterBinding for MaximumRows? The following does not work. Following set in SelectParmaters <webpartpages:DataFormParameter ParameterKey="MaximumRows" ...
1
vote
1answer
156 views

Copying code over in Sharepoint Designer 2010 and changing it, deletes code from the original file, how can I fix this

Suppose I have two files, A, and B respectively. Everytime I copy xsl code from file A to B and modify the code in B and save it. The code in A gets removed (all except for the WebPartZone tags and a ...
3
votes
1answer
7k views

Filtering a list with date ranges - xslt / advanced expressions on list filters possible?

I've got a Sharepoint 2010 list that I'd like to filter with date-ranges. I'm doing something like if END_DATE > [NOW - 1Week] and END_DATE < [NOW + 1Week] or PLAN_END > [NOW -1Week] and ...
1
vote
1answer
2k views

Customize discussion board xslt

I wanted to modify the xslt file that displays discussion board threads. I tried to find the xslt in "Style Library" -> "XSL Style Sheets" but could not find the stylesheet there. Where can I find the ...
1
vote
1answer
523 views

How to construct 3 level grouping usng xslt 1.0 - Sharepoint 2007

I have this XML output from a sharepoint list <z:row ows_Attachments="0" ows_Title="Parra" ows_State="State" ows_Area="Area 4"/> <z:row ows_Attachments="0" ows_Title="matta" ...
5
votes
1answer
190 views

SharePoint Designer Menu for Filtering Joined Views

In SharePoint Designer, is there an easy interface for filtering joined views (either parent or child)? Currently I go to code view to type the filters directly in xslt. There must be an easier way!