XSLT (Extensible Stylesheet Language Transformations) is a declarative, XML-based language used for the transformation of XML documents.
1
vote
0answers
220 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
2answers
555 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
1answer
219 views
Enterprise Search Results + Ratings
I am trying to add rating stars to the search results in my Enterprise Search Center site according to the instructions found on the following sites:
MSDN |
Corey Roth - MVP's Blog |
Todd's Blog
...
0
votes
1answer
700 views
Summing a column on a DVWP with 2 levels of grouping with incorrect subtotals
I am working with SharePoint 2007, and have been charged with making a report based on external data (SQL Server). It is a high level look at list of tickets in particular statuses. I decided to go ...
1
vote
1answer
364 views
Get the title of file and not file name in content query web part?
What do I use instead of
<xsl:variable name="DisplayTitle">
<xsl:call-template name="OuterTemplate.GetTitle">
<xsl:with-param name="Title" ...
0
votes
1answer
252 views
Hide GUID in core search results display
I have created a number of Managed Properties, so I could customize Refinement Panel - this ia all good. Search Core Results WebPart now displays some of these new managed properties with value, ...
2
votes
1answer
106 views
Template XSLT Resources
I'm beginning to customize a SharePoint blog and noticed that a bulk of customization (at least in terms of web parts) can be done through linked XSLT files but I'm struggling on finding resources or ...
0
votes
1answer
693 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
224 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" ...
0
votes
2answers
1k views
Handle the event generated by ddwrt:GenFireServerEvent('__name')
I have a custom DataFormWebPart that renders some content based on an XSLT. Inside the XSLT I have a button that does a postback like so:
<input type="button" value="..." name="..."
...
1
vote
1answer
922 views
XML Viewer Web Part 'Failed to apply XSLT to the content'
I am trying to use the XML Viewer web part in SharePoint 2010. Using the this XML
<?xml version="1.0" encoding="UTF-8"?>
<STOCKQUOTE ROWCOUNT='1'>
<RESULT>
<ROW>
...
0
votes
2answers
791 views
Remove line break from mulitline text in SharePoint xslt
I am working with SharePoint library and DataView webpart. I have a SharePoint list in which one of the column is a multi-line text. I have inserted a DataView webpart in the designer using the list. ...
9
votes
2answers
2k views
How can I use normal paging on a custom view?
I'm creating several lists (and their views) programmatically, based on custom list definition templates.
When these views display more than 30 items, the following link is displayed:
Whereas on ...
0
votes
1answer
177 views
Error in a content query web part 2007
any one can know what the error in the following code :
when I remove the variable LinkTarget1 it will run
<xsl:template name="INeedTo" match="*" mode="itemstyle">
<xsl:variable ...
2
votes
1answer
277 views
Description of SharePoint list column in SharePoint designer xslt
have a list in SharePoint portal. Also I have added description to each of the fields in list. Now I have created a dataview webpart in SharePoint 2007 Designer. I am able to get the list column ...
1
vote
1answer
137 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 ...
1
vote
1answer
380 views
best way to implement inline editing of a data view web part styled using custom xslt
I need some advice regarding the best way to implement inline editing of a data view web part styled using custom xslt.
The data view web part gets the data from the list and would be styled as ...
2
votes
0answers
415 views
Problem with getting SafeImageHtml in CustomItem.xsl of a CQWP
I have a CQWP with the Parameters:
Title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;|
Description:{691b9a4b-512e-4341-b3f1-68914130d5b2},ShortComment,Text;|
...
2
votes
2answers
2k views
Issue trying to customize xslt layout of a list view
This is probably simple but here goes. I want to customize the xslt layout of a list view. The idea is to add a header to the top which shows the name of the list. Here is what I have so far.
...
1
vote
1answer
708 views
“Web part references an untrusted XSL file” error
We're getting this error on a SharePoint 2010 web site when inserting a content query web part (CQWP) that uses a custom XSL file:
The web part references an untrusted XSL file. Only XSL files ...
2
votes
1answer
1k views
SP 2010 - Search Core Results Default XSL Params
I was wondering, where I can find a list of the default xsl params available with the search core result webpart?
When we use the default xsl stylesheet of the webpart, default params are defined at ...
3
votes
1answer
5k 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
2answers
143 views
Is the @ symbol always necessary in the SharePoint ItemStyle XSLT?
I'm working on a project in which I've made a new webpart which inherits the CQWP. In the codebehind I send some additional values, which isn't present in the lists (meaning there are no columns ...
1
vote
1answer
431 views
Sharepoint 2010 Search core result
Is there any way we can link the "Author" field that is displayed in "search core results" (not People Core Search Results) to their corresponding "My Site"? I tried using the managed property to ...
0
votes
1answer
170 views
Data View web part causing memory Leak
I first posted my question yesterday at the following URL on stack overflow:
Creating DataView's on the Pages Library
After doing more research, I've concluded that my problem is with my ...
0
votes
2answers
134 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?
1
vote
3answers
161 views
SharePoint XSLT and FF + Safari
I'm currently working on optimizing a clients website for all big browsers (IE, FF, Safari, Chrome, Opera) and I've encountered unsolveable issues (for me at least) here regarding the CQWP & ...
1
vote
1answer
335 views
Formatting multiselect lookup in XSLT
I'm using this function to render items in a multi-select lookup field so that each one appears on a new line instead of AA;BB;CC;DD etc. This method uses the substring-before and substring-after ...
1
vote
1answer
280 views
Print attachment image in data view web part
I want include the attachment image directly in data view web part.
I used the below code snippet, it is displayed image name link, but I need to print image here.
<xsl:element ...
2
votes
1answer
2k views
XSLT, get imageurl from custom image field
I have a Contenttype with a custom Image with formatting and constraints for publishing -- StockImg.
I have a rollup of all listitems with this Contenttype.
In my ItemStyle.xsl I have created a custom ...
1
vote
1answer
1k 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
430 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
174 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!
0
votes
1answer
138 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
241 views
Connect to a view from a CQWP
Is it possible to point the CQWP to a list view? We have implemented 3rd level navigation using subsites and now the subsites can't read the lists in the parent unless we use a content query web part, ...
3
votes
2answers
3k views
Modify core search results to display custom property
I am trying to modify the core search results webpart in SP2010.
Ive created a managed property named: ExternalContactsCompany
I then added a <Column name="ExternalContactsCompany"/> section to ...
3
votes
2answers
683 views
<xsl:import> not working in SP2010
I have been trying for days to understand why, following an upgrade to Sp2010, none of the statements used in my web part definitions are working. The work fine in SP Designer 2010 and render as ...
1
vote
2answers
748 views
How to display document approval status in a content query web part?
I have this XSLT to display document title and approval status
<xsl:template name="DocumentStatus" match="Row[@Style='DocumentStatus']" mode="itemstyle">
<xsl:variable ...
2
votes
3answers
721 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
2answers
863 views
Is it possible to style mobile list views?
I have been working on a task to style mobile lists views and since then, I have been unable to find a solution in terms of how I could get the views styled.
So I am starting to wonder if is it really ...
2
votes
3answers
1k views
How to encode URI in XSL of the XML Viewer Web Part?
I am using the XML Viewer Web Part to display some links. I need to encode the URI component because a value of a parameter may contain and ampersand. The way to do this in XSLT 2.0 is by using ...
1
vote
2answers
3k views
Change XSLT for Discussion Board, deploy via VS2010
So we are creating a branded web site for a client to deploy internally (kind of an intranet), but 99% of users won't see the ribbon, just a branded information site.
They want to use the Discussion ...
4
votes
2answers
2k views
XSLT ListView web part grouping and filtering
I have a web page in sharepoint 2010 on which I have added a document library using a XSLT ListView web part in sharepoint designer. I created a parameter that gets its value from the URL and is used ...
1
vote
2answers
634 views
Xpath - How to get multiple values from Checkbox list as parameters
I have a custom list that i'm filtering passing parameter from an asp.net control.
I do have some checkboxlist items, e,g below $priorChk. The problem I have is if I select only one checkbox and ...
1
vote
0answers
378 views
How do I make the XML Viewer web part ignore a Doctype element?
I have an issue with a SharePoint 2010 xml viewer webpart and an xml feed that contains DOCTYPE.
The xml renders fine when there is no associated XSL with the webpart. When I add XSL to the webpart I ...
0
votes
1answer
142 views
How do I use a XSLT file as an e-mail template?
I've seen a few sharepoint developers use XSLT files instead of HTML files as their e-mail templates when they need to send out various items from lists in emails to subscribers / clients.
I have ...
0
votes
1answer
525 views
XSLT - Conditional Formatting on Date Column
Is it possible to apply conditional formatting to a date column? I'm trying to set the columns background to red if the date has passed using the following
<xsl:if ...
0
votes
1answer
722 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
1k views
CQWP - Get Current Web URL
I am customizing the ItemStyle.xsl in SPD2010 for a CQWP crawling a whole site collection.
I need to use the current web as a variable.
I tried multiple options:
Option #1 - use server variables in ...
0
votes
1answer
568 views
deploy XSLT list view webpart using “AllUserWebPart” through a feature from the solution package
I am trying to deploy custom pages from feature. I came to know that the webparts(oob or custom) are to be deployed from the elements file using the "AllUserWebPart" wherein we have to include the ...