XSLT (Extensible Stylesheet Language Transformations) is a declarative, XML-based language used for the transformation of XML documents.

learn more… | top users | synonyms (1)

0
votes
1answer
1k views

Close SP.UI.ModalDialog on form submit

I am using the SP.UI.ModalDialog to popup a custom form. The form uses an XSL stylesheet that uses the GenFireServerEvent to commit the data. This works correctly, but I want to close the popup once ...
0
votes
1answer
140 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 ...
0
votes
1answer
133 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 ...
0
votes
2answers
822 views

Disable paging from Data View web part

I am new to XSLT and possibly the question i am asking could be a candy for some of you. I have added a Data View Web Part on Page using Sharepoint Designer 2010. I am using this DVWP to display data ...
0
votes
3answers
293 views

obtain list view rendered html from code?

Is there an option how to obtain the list view rendered html from code? For example I have an item (for example task ct) and i would like to obtain html rendered (on server side) if this item will ...
0
votes
2answers
568 views

DVWP CrossList Paging Does Not Work

I've build a Data View Web Part with SharePoint Designer 2010, using SPDataSource and DataSourceMode="CrossList". The DVWP works great, but when I add paging, it adds the paging placeholder and the ...
0
votes
1answer
37 views

How to create my own xml viewer webpart programmatically?

I am using sharepoint 2013. I have used the xml viewer webpart but I have to much trouble and limitations. I would like to build a visual webpart in Visual Studio. In this webpart I would like to read ...
0
votes
2answers
59 views

Applying XSL to a field in sandboxed solutions

I have 6 fields that need to be displayed differently in list views. Normally, I would accomplish this by deploying a fldtypes_....xsl file to the hive. The problem here is that I cannot use farm ...
0
votes
1answer
28 views

Except “Modified” none of the fields are being displayed in XSL

I have a site in which there is a library named "Pages". This is the standard library where all pages that you create comes. Using XSL, I am trying to display page links on my home page. Problem is ...
0
votes
1answer
1k 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
3answers
238 views

How to use resrouce file inside page layout?

I have a page layout in which following text is written: NEWS I already have a resource file which I am using in one of my XSLT file to display text based on language. In XSLT file I simply ...
0
votes
2answers
423 views

Totalling output from column for all entries in a list

SP2010: I need to come up with a total (number) of a column for all entries in a list. For instance: Given a list with entries which can be comprised of apples, oranges, and pears, and their ...
0
votes
1answer
950 views

xsltlistview overiding the column headings using Xsl Link

I have a listview webpart that used specific columns. Changing the names of the columns is not an option. Our users are insisting that the heading for these columns be updated, so I am thinking of ...
0
votes
2answers
520 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 ...
0
votes
1answer
1k views

Linking CSS file to ItemStyle.xsl for CQWP custom template

Beginner. I have created a custom template for a CQWP in the ItemStyle.xsl. One thing that I am not sure about is how I could associate a css file so that anytime this template style is used the ...
0
votes
1answer
637 views

DataFormWebPart - Implement cascading dropdown

I have new form modified via xslt. So i have DataFormWebpart. I want to implement cascading drop down for 2 of my lookup field(Area and Country). Can anyone help on it. I am aware of the ...
0
votes
1answer
481 views

Converting datetime column value to server datetime value

I am trying to build a calendar with date time columns. My SP 2007 server is in US and I am trying to use this site in India. My server returns the EventDate column value in India format. I want to ...
0
votes
2answers
771 views

Remove Duplicates in DVWP using JQuery

I am using a linked datasource in MOSS to create a dynamic table of contents page based on a metadata associated with files in a document library. The library contains multilookup columns for the ...
0
votes
2answers
159 views

How do I grab first element using XSLT?

In one of my itemstyles I want the first element in the list to have a bit different look than the other items being displayed. How is it possible to take the first item?
0
votes
1answer
160 views

Help with ContentQueryMain.sxl

I'm creating a CQWP that i want to style without the <ul class="dfwp-list"> ... wrapped around it. I know the html is created via a variable inside OuterTemplate but For this QCWP i dont ...
0
votes
1answer
183 views

render Custom Field Type

I have a Custom Filed Type which is rendered in default view (using a simple XSL) like this StreetName,1,K1,2,1,3,Los Angeles,90210 It's an simple adress. How can I render it like StreetName, nr. 1 ...
0
votes
1answer
822 views

Programmatically assign custom xslt to search result webpart

How can I programmatically assign some custom rendering xslt to a search results webpart using Visual Studio? I'm working with SharePoint 2010
0
votes
1answer
424 views

MOSS ItemStyle.xsl

I have a content query webpart which uses a style within ItemStyle.xsl. How can I extract the URL that the webpart sits within from ItemStyle.xsl? Many Thanks, Nav
0
votes
1answer
1k views

Discussion replies show as 'Dispform.aspx' in search results

Search results show 'dispform.aspx' as the page title on replies to discussion posts. Ideally i'd want it to say 'RE: discussion title'. Does anyone have any idea how to achieve this? EDIT - should ...
0
votes
2answers
35 views

get the current lang in xsl

I'd like to know if it's possible in Sharepoint2010 to get the selected language. in js you can have it with lcid = SP.Res.lcid; now i'd like to have the value in the xsl of the refinement panel ...
0
votes
2answers
46 views

SharePoint List View Web Part Column Filtering options

By default, filtering options for each column in a SharePoint List View Web Part are sorted alphabetically. Meaning, if there is a list and three list items with the following titles A, B & C, ...
0
votes
2answers
127 views

Get both ID and Name from a field of type 'Person or Group' in a Content Query web part

I posted this question on StackOverflow a couple of weeks ago, but since it hasn't got very much attention I'm posting it here instead. I'm building a Content Query Web Part that is supposed to ...
0
votes
1answer
159 views

Displaying Field Contents in JQuery UI Tooltip

In SPD 2010 I have created an aspx page, in which I have inserted an Empty Data View. I then selected the list, and then fields which are shown on the page. I want to incorporate a "tooltip" popup ...
0
votes
1answer
312 views

Get Current Custom Sharepoint List Item Row Number for XSLT

... <xsl:apply-templates select='Rows/Row'/> </xsl:template> <xsl:template match='Row'> <li data-target="#carousel-example-generic" ...
0
votes
1answer
30 views

How to put a contorl in the AssetLibrary thumbnail view?

I have an asset library in which I want to put a check box to give user the select all functionality on Asset Library thumbnail view. As a SharePoint beginner I don't know from where to start? I ...
0
votes
2answers
486 views

How to use <img src=“”> in XSLT

I am using the following code to display image using XSLT in Sharepoint. It is working fine. <xsl:value-of select="@Image"> But this approach doesn't allow me to define width and height of ...
0
votes
2answers
508 views

How to Give Custom ItemStyle.xsl Path in CQWP of subsite?

I have CQWP that is in the SubSIte.I want to give it Custom ItemStyle.xsl path.I had done it by following Link. <property name="ItemXslLink" ...
0
votes
2answers
626 views

How to store the value into the xslt variable returned from Javascript function?

I have created a template in ItemStyle.xsl for CQWP. I want to store the xsl variable value that is returned from javascript: My template is: <xsl:template name="DepartmentsTemplate" ...
0
votes
1answer
22 views

Modify code construct to allow xsl:if

In the snippet below, I want to be able to change the value in the first href= to a different WP form based on another value in the list. I want to embed the code in conditional statements to test for ...
0
votes
1answer
253 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
1answer
1k views

Unable to pass xslt variable in the javascript function

I have added an icon before the image title in asset library. I want to pass the name of the current logged in user and the image title in the JavaScript function to add it in other custom list. My ...
0
votes
1answer
293 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
384 views

Adding link to text field with XSLT

So I have a list in SP2007 and I have a column that has links in it. When I try to pull that into a table on the page using XSLT I get some weird output. Here's my code: <xsl:element name="a"> ...
0
votes
2answers
93 views

How to distribute People Search Core Results over two columns using XSL redux

This is a follow up to How to distribute People Search Core Results over two columns using XSL, When I use the suggested code block in that article <xsl:for-each ...
0
votes
1answer
282 views

Sharepoint 2010 grouped xsltlistview with custom XSL does not show items when initial settings for group is 'fold'

Following problem : I have a xsltListView (auto created on a publishing site). I have editted the default view and copied the stylesheet to a new .xsl file and placed it into the style lybrary. On ...
0
votes
1answer
714 views

Customize xslt listview webpart from xsl

I was asked to show top 3 fields of a custom list in sharepoint through xsltlistview webpart. From the help of the ...
0
votes
2answers
133 views

Search core query webpart and custom xslt with paging or other approach

I have an issue, basically I created a custom web part which inherits from SearchCoreResults. This webpart searches all the possible tasks across WHOLE sharepoint and shows them if they are not ...
0
votes
3answers
378 views

How to distribute People Search Core Results over two columns using XSL

I would be grateful if someone can show me how I would rewrite the following XSL file to produce the following layout (I have removed the Parameter lines in the code to meet the max character ...
0
votes
1answer
180 views

InfoPath 2013 to replace formated SSRS reports of Single SharePoint List items?

New to Infopath. Can we natually and easily use Infopath 2013 to do the following with SharePoint: Format SharePoint List Data on a sharePoint WebPart web page for a single SP List item (determined ...
0
votes
1answer
386 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
0
votes
1answer
78 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
2k 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
309 views

Issue checking for contains in CQWP, comparing against Managed Metadata field

I have a unique scenario where I need to compare values for conditional formatting of my Content Query Web Part. In most circumstances this is pretty easy, and we thought this was working for the most ...
0
votes
2answers
324 views

How to call a c# method in my XSL File

I have two lists Client and Project, each Client has from 0 to N Project stocked in his SPLookupField where multi values are allowed. And I created a new computed Column in the Client List where it ...
0
votes
1answer
284 views

Programmatically add new fetched properties to webpart

I have a webpart which I extend and i would like to programmatically add extra fetched properties to those that already exist, but I cannot succeed in that, maybe you could be of help to me. So here ...