Tagged Questions
1
vote
1answer
21 views
How to display 2 records per row in XSLT
I want to display 2 records per row from a list in my SharePoint site.
I am using XSLT. This is how I want to display records:
<tr>
<td>Record1</td>
...
0
votes
0answers
35 views
Sharepoint Designer filter date
I have a problem filtering birthdays. I could get output today birthays but not next 3 days.
I have specific format to calculate birthdays format e.x 46607094893.
Next is code how I filter today ...
1
vote
0answers
58 views
Count of items in Sharepoint list including all folders and subfolders using xslt code
I am using the below line to store the count of list items whose status is not started in a XSLT variable:
<xsl:variable name="NotStarted" select="count(/dsQueryResponse/Rows/Row[(@Status='Not ...
1
vote
2answers
63 views
Bigger document icons in search results (SharePoint 2010)
So i'm configuring my custom core results web part for document search and I need to display bigger document icons, like instead of for all document types.
I found out that this part in xsl ...
0
votes
1answer
98 views
Format Date in Xpath
I am editing the dispform.aspx in SharePoint Designer 2010, as to not show the created by fields in the announcement lists.
I notice that the expire ([Expires]) date field is off.
Example:
I have an ...
0
votes
1answer
29 views
Is it possible to display the amount of users who have rated a list item?
I'm using a list with the default SP rating columns
I'm displaying the ratings on the front end through my XSLT
SPServices is used to hover over the rating images and write back to the list item when ...
0
votes
0answers
274 views
XSL/SharePoint 2010 adding multiple rows
Hoping someone versed in XSL could help me out as I know nothing about it. I'm trying to add a stock ticker table to my SharePoint 2010, and came across the suggestion as put forth by Carlos here. ...
0
votes
1answer
328 views
How to edit this XSLT in SharePoint
I have a web part that when I create a page for a restaurant , it will show in a web part. If I do not create any page, the web part is empty.
My question is how to edit this XSLT. If I do not ...
0
votes
2answers
528 views
SharePoint XSLT Column Display Name
I currently try to display the column name in a custom form in SharePoint Designer. I use Sharepoint 2013 so the design view doesnt exists anymore :(.
The form is used to create a new element in a ...
0
votes
0answers
200 views
How do I customize raw XML output in the SharePoint 2010 Search Core Results Web Part?
I replaced the XSLT markup in my web part with the following:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" ...
0
votes
0answers
128 views
Pagination through XSLT?
I have fetched the Column name "Name" from xslt. After 10 records, I want to begin a new page. I have been unable to figure out hoe. My code:
<table cellpadding="10" cellspacing="0" ...
0
votes
0answers
57 views
tag to wrong ribbon
before i put in below code my page was linked to Browse ribbon, after i put in below code my code my page is linked to View Ribbon, i dont want to change my ribbon, i wish to remain it the same ...
0
votes
1answer
56 views
XSLT sort specific value
I have XSLT where
<xsl:for-each select="$Rows">
<xsl:sort select="@ows_plstx" order="ascending" />
I need to output, where first sort value is defined text value @ows_plstx='specific ...
-1
votes
1answer
99 views
Xstl global variable set in for each and used after foreach
First of all, I'm new to XSLT.
I'm working with Sharepoint list and I need to get a link to show up if there's data in specific quarters. If there's no data in a certain quarter, I need to have a ...
0
votes
0answers
44 views
Recreate page layout botched while migrating from SP 2007 to 2010?
On a site that was recently migrated from SP 2007 to 2010 (no Visual Upgrade), the default page layout appears "off." I don't think it's attached to the master page, and the option to attach a master ...
1
vote
1answer
251 views
Sharepoint 2010: Display List Rows differently, depending on the content
I want to display a sharepoint list in such a way that rows are displayed with different content, based on the value of some field.
For example, if a row is a "Company", then I want to display the ...
1
vote
0answers
829 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. ...
0
votes
0answers
283 views
DataFormWebPart - Loading XSL in code
I'm trying to show in dataformwebpart only columns selected by the user. I have added checkbox list in which user can select columns of his/her choice and the button to send selected fields. I also ...
0
votes
1answer
132 views
hyperlink column Name through Xsl
I have document Library where the ColumnName is Name and the data is hyperlinked to Documents.
I want to access this through xslt.
My xsl code is given below:
<xsl:stylesheet ...
0
votes
2answers
636 views
sharepoint 2010 xslt dataview : modify table structure to display list item
i have an image list to be display.
Standard template in SharePoint, each item will be looping using xsl:for-each and display in a table as single row like sample below
__________
| |
...
0
votes
0answers
221 views
Sharepoint XSLT list view - exclude latest article
I have an xsl list view, and some items have a Boolean selection of yes or no (Featured or not).
Since I already display the latest featured article somewhere else on the page, is there a way to ...
0
votes
1answer
183 views
How to group by month using X-Path expression/XSLT in SPDesigner
I have a 3 way grouping done on a SharePoint list. There's a month column which is the 3rd level of grouping in that. Even though I checked "Ascending" for the month column in designer, it still ...
0
votes
0answers
231 views
Add groups to webpart view programmatically
I use SPSIteDataQuery to retrieve data from several lists in my Web site collection.
For example this is task lists with fields: Project, TaskTitle, Assigned To, DueDate and several other fields.
And ...
2
votes
2answers
664 views
Filtering based on dropdown in DVWP
I have created a DVWP dropdown for filtering a list which I've shown using a DVWP. I've set an year list as the dropdown DVWP data source and on selecting a year, i wanna filter the list DVWP to show ...
0
votes
1answer
315 views
Triggering postback to send query parameters from DVWP dropdown box
I need to filter my list based on selected dropdown value. I've created a DVWP for that and converted it into a dropdown. Now I'm following this post to fire events when dropdown value is selected but ...
0
votes
2answers
966 views
XSL / XSLT - Adding a value-of as a style attribute for a DIV
I'm using SharePoint 2010 and the Content Query Web Part to output a list of dates from a SharePoint list. The display of this list is controlled by an XSL stylesheet called ItemStyle.xsl
I have made ...
2
votes
2answers
398 views
How to convert text of choice fields into icons?
Salve, folks! I have a choice field in my sharepoint page with choices like this:
(1) Go
(2) Warning
(3) Stop
Now, I want that to appear in the list as an icon instead of text. I have a working ...
0
votes
1answer
477 views
Sharepoint Xpath Contains Issue
I wonder if anyone out there could help.
I'm new to Xpath & SharePoint 2010 but so far I have been getting along, but this little problem is causing me a big head ache!
What i'm trying to do is ...
2
votes
1answer
234 views
How to get a particular url value into a xsl variable in Content Query web part - Sharepoint 2010
I am using Sharepoint 2010 Content Query Webpart(CQWP) to display a out of the box discussion board list on a page. I have customized the look of CQWP by changing the ItemStyle.xsl file. One of my ...
1
vote
2answers
730 views
How to customize the HTML code of Content Query Web Part
I want to custom the output HTML code of CQWP and I do not want to see <table class="s4-wpTopTable">...</table>. But even I try to edit ContentQueryMain.xsl file by the help of this ...
1
vote
0answers
207 views
Sharepoint designer: Display custom field in a list
Hi I have a list named "Discussions List", I have created a custom column in that list. How can I display that field in a page??
Im working in SharePoint 2013 Community site. I have to display the ...
0
votes
1answer
1k views
DataView WebPart in sharepoint designer
I would like to display the list items using DataView WebPart and I am successful so far. But I would like to show the items in two columns for each row, instead of one columns per one row. How can i ...
0
votes
1answer
259 views
Sharepoint Designer does not save changes made in ItemStyle.xsl (XSL Style Library)
I can change and save everything but when i open site, which contains Content Query Web Part showin items from my newList, webPart style isnt updated. In fact its using old ItemStyle file (i think so) ...
2
votes
1answer
546 views
SharePoint - Content Query Web Part: Lookup Column Value and XSL
There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl.
And there is a problem how to render this field as a ...
0
votes
1answer
2k views
XSLT Count Distinct in a Group (Data View Web Part)
I am working on a data view web part in SP 2010 to rullup some information from sub sites. These sites contain project task lists that have tasks assigned to users. The customer wants to see a ...
1
vote
1answer
196 views
XSL: how to put substring to xsl:attribute - part of url adress
I code custom search result page on Sharepoint.
I've got a problem with XSLT.
Search result from SP is something like:
<Result>
...
...
0
votes
1answer
807 views
Sharepoint 2010 - XSL:import not working when added to ItemStyle.xsl
I currently have custom XSL files that I am adding to content query web parts through manually adding the ItemXslLink property of the content query web part in code view. I have been reading that one ...
0
votes
1answer
154 views
In an xsl choose statement how can I test for the value of a js variable
I'm working in SharePoint with an xsl file and have an xsl choose statement which i wish to help conditionally display records from my xml. in the code below I test DAS_ID to be equal to *someValue*
...
0
votes
0answers
87 views
Embed multiple fie types stored in a Document Library using XSLT
Here is the scenario:
I have a document library that holds both images (.png, .jpg, .gif, etc) and .html files. These files are associatd with a custom content type containing a few fields. Start ...
1
vote
2answers
1k views
SharePoint 2010 Search Result file icon change
I am trying to change the aspx file icon from default icon to customized icon. I edited the xsl of the results.aspx page "fetched properties" for this section. I wanted to make sure that ...
0
votes
1answer
232 views
I think my xslt may not be formatted correctly
I am trying to change the icon for the "Link to Document" on the searchResult.aspx page. I added following to the xslt of the result but then the result webpart never renders meaning the code is ...
1
vote
2answers
427 views
changing sharepoint column name using xslt
I want to change the display name of "Item child count" on my lists. The "only" way I could find untill now is through xslt(no, that particular column cannot be found in the document library columns ...
0
votes
0answers
2k views
SharePoint 2010 Custom XSL View Rendering with Jquery and Ratings Field
I'm developing a SharePoint 2010 Internet facing web site with FAQ capabilities.
I've got a Custom list containing ID, Title (rennamed to "Question"), Answer and Fileds for Rating.
I would like ...
2
votes
1answer
761 views
SharePoint Designer Data View- XSLT Count
I am working with a data view web part in SPD 2010. My xml structure is as follows:
<ProjectGroups>
<ProjectGroup>
<GroupID>1</GroupID>
...
-2
votes
1answer
1k views
Getting Counted Values of a Multi-Value Lookup Column in DVWP using XSLT
I am in the process of building a "dashboard" where I am using DVWP's and XSLT to show the client things such as total count of tasks, how many open, how many closed etc. similar to this article
My ...
1
vote
1answer
8k views
SharePoint 2010 List View webpart XSLT
I'm trying to create a custom display of a list view web part using XSLT. I have linked to a xsl file and populated it with the following code:
<xsl:stylesheet ...
0
votes
1answer
377 views
sharepoint xslt customization documentation
I am looking to customize sharepoint xslt for xslt list view webpart/data form web part. Can someone point me to the resources/documentation to start with and also for advanced customization. I have ...
0
votes
1answer
426 views
Limiting Group Items in the Content Query WebPart
Can I Limit Group Items in the Content Query WebPart so that the output is
<h2>Group Header</h2>
<ul>
<li>Item One</li>
<li>Item Two</li>
<li>Item ...
-1
votes
2answers
668 views
Alternative to disable-output-escaping for SharePoint? [closed]
I'm using a Content Query Web Part and ItemStyle.xsl to pull in content from a rich text field. Unfortunately, it escapes the code so it doesn't render HTML tags. Disable-output-escaping doesn't ...
1
vote
1answer
395 views
XSLT equation using SP list fields
I have a SP Dataview that I have converted to XSLT, so that I could add a header displaying a percentage (Complete). Before I converted the dvwp to xslt, I added two count headers- one on Complete, ...