Tagged Questions
0
votes
1answer
19 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
2answers
35 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
1answer
145 views
Display an External List in a DataView webpart
My scenario is as follows:
I have a dataview wp which currently displays list items (from ECT).
In the DataView wp I filter the data according to a parameter passed in from another wp.
The current ...
0
votes
2answers
210 views
Capture filter value, within xslt, passed in from connected web part
Is it possible to get hold of the value of a filter being passed in by a connected web part?
For example, if a sharepoint list filter is sending a filter value of "1" to webpart A (a dataview ...
0
votes
0answers
679 views
Sharepoint designer XSLT sum() field
I have a list with 7 items in it. The list has a value column and I would like to sum up the value column and display it in a textbox called "totalValue" that I created in sharepoint designer 2010.
...
0
votes
2answers
327 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 ...
1
vote
1answer
139 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 ...
6
votes
2answers
2k 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
2
votes
2answers
310 views
XSLT - Wrap Items According to Position
I need to render a wrapper to items.
I have a list of items that i want to display them in a DVWP, and every 3 items will be in a wrapper, for example:
<div>
<div>item</div>
...
1
vote
1answer
302 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
753 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 ...
0
votes
0answers
97 views
XSLT Markup help [duplicate]
Any xsl examples on how to achieve this html markup
<div id="rotate">
<ul>
<li></li>
<li></li>
<li></li>
</ul>
<div>First ...
1
vote
0answers
29 views
1
vote
2answers
996 views
How to count the number of rows returned when using a Data View Web Part XSLT and Xpath
I have created a data source to link, via a join, 2 lists in sharepoint 2010. The result is a Data View Web Part. I would like to count the results returned in the second 'lookup' list. So for ...
0
votes
2answers
447 views
DVWP xsl formatting help needed
Need a hand formatting some XSL. Taking a look at an example that Marc Anderson put together for a jquery accordion, I need to tweak the output. I've been playing with this for quite a while and ...
2
votes
1answer
2k 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
1answer
274 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
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
551 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
698 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 ...
0
votes
1answer
223 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
379 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 ...
0
votes
1answer
169 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 ...
1
vote
1answer
332 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 ...
5
votes
1answer
171 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!
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 ...
2
votes
2answers
461 views
DataViewWebPart XSLT Caching
I have a DataViewWebPart with a complicated and rather expensive linked XSLT (the XSLT itself is stored in the Documents library of the site).
Currently, the part takes a long time to render, even ...
1
vote
1answer
1k views
Data View Web Part: edit XSL to force a carriage return in a Multi-item field
I am using multi item lookup fields in a list (eg: "Data Subjects").
I then have a web part page with a Data View Web part connected to this list.
The data within Lookup fields span the column ...
0
votes
1answer
296 views
Dataview XSLT issues creating variables
I've got 2 fields in my list defined as numbers, @TotalSeats with a current value of 10 and @FilledSeats with a current value of 0. I'm trying to use some XSL Variables to handle some display logic ...
1
vote
3answers
2k views
DataViews and Query String Parameter
I've used a parameter in the query string to filter a dataview. The parameter is declared in "SelectParameters" tag and used in the "selectcommand" parameter as a filter in the query.
Now, is there a ...
1
vote
1answer
237 views
DataViewWebPart - Can We access the property bag value from the XSLT of DVWP
DataViewWebPart - Can We access the property bag value from the XSLT of DVWP?
1
vote
5answers
2k views
DVWP xslt - text only from rich text field
Is there a simple built in xslt function or easy way to strip the html tags from a rich text field in a sharpoint list? I only want to return the text the end user put in.
The scenerio is im ...
4
votes
3answers
314 views
Can the ID from a referenced column be obtained when using the Data View Part?
I have a Data View Part pulling from a list that has a lookup column to another list (title linked by ID)
And somewhere in the XSLT, it reads
<xsl:value-of select="@ColumnX"/>
Now since ...
2
votes
2answers
6k views
XSLT for summing a column in a Data View Web Part
I have this (an attempt to solve the task):
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" ...