2
votes
3answers
44 views

XSLT: Set the background colour of cell when the task is overdue

I currently have this XSLT added to my list (snippet): ... <xsl:param name="Today">CurrentDate</xsl:param> <xsl:template name="FieldRef_printTableCell_EcbAllowed.Due_x0020_Date0" ...
0
votes
0answers
22 views

dispex SharePoint.OpenDocuments.3 works for PDF but not Office docs?

I have the folllowing in my XSL for a (SharePoint 2010) content query webpart: < A onfocus="OnLink(this)" HREF="{$ItemUrl}" onmousedown="return ...
1
vote
1answer
34 views

CQWP ItemStyle Divs are being nested

In short, sibling divs coded in my custom ItemStyle for use with a CQWP are being nested into each other. Stripped down to the essential structure I have <xsl:template ...
1
vote
1answer
75 views

Learning Dataview webpart and xsl

I have taken over a Sharepoint 2007 site and been tasked to migrate / recreate much of it to a separate Sharepoint 2010 site. I am still learning many aspects of Sharepoint. The old site has many ...
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
0answers
47 views

xsl : change display with user rights on item

I'm using Sharepoint 2010. I'm trying to customize the discussion board. I want to display the 'Edit' button on the item status Bar. To achieve this, I followed this tutorial and it helped me a lot. ...
0
votes
1answer
53 views

XML code for List view

I am trying to create a list view using xslt style sheet coding. I find out how write xslt with help of w3schools. But in order to write xslt coding i have to see the xml code of list view . Any one ...
0
votes
1answer
232 views

XSLT template conditional statement on lookup fields - Optimization help

I have a block of xslt that examines if the current node and performs some calculations using different lookup fields if a certain field matches a certain text string. It works as expected and is ...
1
vote
2answers
1k views

2010: How to get Item-ID in SharePoint view? {@ID} gives GUID, not ID

In a view of a custom list, I want to add a Script call to a link which opens a custom application page inside a model dialog. The JS function needs the current Item ID as a parameter, so I create ...
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 ...
4
votes
1answer
171 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 ...
3
votes
3answers
693 views

Blog Read More Link and Summary of Body

I created a blog that uses the standard sharepoint 2010 blog site template. However as it currently stands the default.aspx page shows the entire blog article. I would like it to only show the first x ...
2
votes
1answer
158 views

xsl:import and xsl:include do not show changes from the xsl file in custom display forms

I have been struggling to edit all my custom display forms and view forms to render using external xsl files. So far I found out that normal ways cited around the internet do not work very smoothly ...
0
votes
2answers
337 views

How do I use XSL to filter SharePoint columns

Using: SharePoint 2010, Designer 2010 I have a SharePoint list rendered in a view. It is grouped by the values of one column, it is called "Cost-Center". I would like to sum the values of the ...
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
0answers
104 views

Customising Discussion Boards XSLT: Subject Line

I'm having a play around with customising some SharePoint 2010 discussion boards as per this MSDN thread and am having some trouble locating the code block that Emir mentions. <a ...
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
0answers
752 views

How to remove group fieldname from Listview WebPart

When using a ListView WebPart on a custom list and enable grouping for a view, the name of the group is always displayed as the first entry I tried to find a way to get rid of the “Category:” label ...
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
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
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 ...
3
votes
1answer
739 views

Passing a C# object into an XSLT in SharePoint 2010 without using a custom web part

I have created a custom field type that renders the input as an html link. The xsl transform that creates the link tag should prepend the user input with a base url from an xsl parameter. I want this ...
0
votes
2answers
105 views

xsl stylesheet: what's wrong with xpath?

I am trying to style some results returned from the search webservice in 2010 with this stylesheet: <?xml version="1.0" encoding="ISO-8859-1"?><xsl:stylesheet version="1.0" ...
0
votes
2answers
355 views

Calling multi argument Javascript function in XSLT

I am working on a data view web part. I am using Java script for some of my functioning and having trouble with calling javascript function with more than one arguments while single argument function ...
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
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
1answer
102 views

use of 14hive resources in XSLT for XLV

Is there a way to use 14hive(!) custom resources ( Resource:MyCompany.MyProject.resx, MyProject.SomeComponent.SomeResourceKey; ) in a XSLT files for XsltListViewWebPart (and views)? Please, notice the ...
1
vote
1answer
665 views

SharePoint 2010 Listview creates “Unable to display…” error after adding inline style

First let me say I have been all over the web looking for a fix and keep finding references to the XsltTransformTimeOut value. I have already had our admins set ours from 1 to actually 10 seconds and ...
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 ...
1
vote
1answer
1k views

How do I View the Raw XML Output of a Content Query Web Part?

I would like to see the Raw XML that is output from a content query web part so that I can develop a custom xsl stylesheet for this. I have the publishing infrastructure enabled. I assume I can do ...
1
vote
1answer
325 views

“Group by” with XSLT in Search Core Results web part

I have a bit of difficulty making it possible to group by the results in search core results webpart. I have a default xslt of that webpart and from there i would like to group the results by the ...
0
votes
1answer
225 views

XSLT of tasks webpart in 2013 / 2010

I'm curious and maybe someone could help me to get the XSLT of the My Tasks webpart in SharePoint 2010 and 2013, i tried to find it out, but i cannot find it anywhere. SP 2013 I don't have, but if ...
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 ...
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
1answer
144 views

Inconsistent matching with XSLT match

Would appreciate any guidance. I have a list, which includes three columns, listed in the XSLT snippet. I can't get the "Scope Risk" aka "Scope_x0020_Risk" column to match, but the others match and ...
3
votes
2answers
795 views

Remove LI wrapper from Content Query Web Part / ContentQueryMain.xsl

I have done a fair amount of experminting with this but cannot get it to work and I'm now looking for pointers or working examples. I want to customise the output of the Content Query Web Part to ...
3
votes
3answers
1k views

How to create a column from the value of another using xsl?

I have a custom list with two columns. I want to use xsl to take the value of the fields in the first column, build a hyperlink and put it in the second column. Please don't suggest calculated ...
0
votes
1answer
452 views

How to add a css class to Choice field via XSL

Salvete! I have a list with a Choice field called "Scope". I want to add a class to that field using XSL, but I can't figure out how to get it to change. I want all the items in that field to get ...
1
vote
2answers
312 views

Customize table structure in XlstListViewWebPart

I need to modify the structure of the HTML rendered by the XsltListViewWebPart in the default AllItems.aspx SharePoint page. Specifically, I need to separate the column headings into its own table and ...
1
vote
2answers
1k views

Changes are not reflected on XsltListViewWebPart when changing vwstyles.xsl

I have a question regarding the vwstyles.xsl for XsltListViewWebPart. Basically I have a strange behavior, when I change the vwstyles.xls but not directly but by the fldtype_somename.xsl, the changes ...
2
votes
1answer
324 views

XSL Transform impacting other Web Parts

I have on my SharePoint page an XSL List View Web Part linked to an XSLT file via the "XSL Link" property. Here is the content of the XSLT: <?xml version="1.0" encoding="utf-8"?> ...
7
votes
3answers
8k views

Sharepoint 2010 XsltListViewWebPart on site definition template

Im having a problem placing the XsltListViewWebPart on my Default.aspx template (relevant code bellow) <WebPartPages:WebPartZone runat="server" ID="NewsItemsList"> <ZoneTemplate> ...
0
votes
1answer
901 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 ...
7
votes
2answers
5k 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
1
vote
2answers
882 views

Constructing a link in a dataform webpart

I've setup a DataFormWebPart which aggregates tasks from subsites. The user doesn't only want to view the tasks, there should be an option to edit / open them as well. So I need a way to at least ...
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 ...
4
votes
2answers
3k views

Provision XSLTListViewWebPart with <AllUsersWebPart> or <View> and customize the XslLink

I've created some custom List Definitions (aka List Templates) and am provisioning List Instances of them into my site. I am then provisioning Pages (Wiki/WebPartPages) that refer to the lists/views ...
1
vote
2answers
828 views

Remove Select column in xslt web part

I have an xslt web part that I want to connect to another list. When I connect it to another list I get the select column that I don't want to see. How can I remove it? More info Originally I was ...
1
vote
2answers
123 views

SharePoint 2010 Main Summary Blog Page

Is there a way to get posts to roll off on the main summary blog page? Basically we don't want posts to keep displaying after so many days (i.e. they need to roll off once they reach the set ...
2
votes
1answer
130 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 ...