a highly customizable web part for displaying SharePoint data

learn more… | top users | synonyms (1)

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
7
votes
3answers
2k views

Data View Web Part and Custom List Form show Attachments

I have found a few ways to add attachments to a Data View Web Part, but I can only get this to work when the SharePoint:AttachmentsField is not being used anywhere else on the page. Currently my ...
6
votes
1answer
6k views

How do I display a SharePoint list from another site?

I need to display a list from the parent site collection root as a Data Form Web Part in a child site in SharePoint 2010. This article seems to be talking about what I need. But I'm not able to ...
5
votes
2answers
2k views

XPath expression

I'm working on a DVWP where I'm trying to aggregate some data from a list based off some information in another list. I'm struggling to come up with the right XPath expression to do what I want. In ...
5
votes
1answer
5k views

Can I Filter a List/Data View using Contains instead of equals in SP2010?

I have a page where I am using a Text Filter to filter a long (15K) list of clients in a Business Data List web part. The filter works fine for All and for an entered name, so long as the full name is ...
5
votes
1answer
196 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!
5
votes
1answer
1k views

Using REST for a DVWP DataSource with Office365

I'm trying to use the REST services (ListData.svc) to retrieve items from a list in a very simple test with Office365. I can't seem to get the connection to work without adding my credentials to the ...
4
votes
3answers
6k views

Data View Web Part in Sharepoint 2010

I'm curious about what happened to Data View Web Part in Sharepoint 2010. Can I or should I use XSLT List View to do what I was doing with DVWP in Sharepoint 2007? I tried to use XSLT List View Web ...
4
votes
3answers
409 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 ...
4
votes
2answers
942 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 ...
4
votes
1answer
2k views

Dynamically setting Default Value in ParameterBinding through Javascript

To make a long story short (too late), we have a dropdownlist that is populated through a list of items. We want to use this dropdownlist to filter the list in a data view web part. This works ...
4
votes
2answers
1k views

How to limit a Data View Web Part to 1 Item Per (Most Recent)?

I have a DVWP that I need to set up a complex filter on. It WAS all set - grouped by category field, sorted by item title, then filtered on 2 other fields (year & quarter). Then I was given ...
4
votes
3answers
5k views

Data View Web Part Calculated Column Total (Sum)

I have created a data view web part (grouped based on different criteria). I added a footer and I would like to generate a total for all the columns. I was able to calculate a total for basic columns ...
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 ...
3
votes
2answers
755 views

Evaluating dates in a DVWP

I'm trying to evaluate 2 dates in my DVWP, @StartDate (date and time field) and ddwrt:Today(). My expression looks like this: <xsl:when> <xsl:choose> <xsl:when ...
3
votes
3answers
992 views

Personalization with a User Profile Property in the SharePoint 2010 Master Page

I'm trying to build a megamenu with two levels of personalization for every user: Filtered links driven by list-based content. I'm using a DVWP for this. The DVWP is all set up and works great in a ...
3
votes
4answers
1k views

Failure to display content of any library when inserting media

I've got the delightful job of managing a SP2010 instance as one of my systems. There are two main 'sites' and for some reason the asset selection section will not display any content (screenshot: ...
3
votes
2answers
132 views

Game On - DVWP in the Ribbon

I have a 2010 Enterprise Farm, and I am attempting to place a Data View Web Part in the Ribbon to display content from an external SQL database as part of a gamification initiative. Basically, I need ...
3
votes
2answers
3k views

Lookup Column Values With and Without ID;# in SPD with DVWPs

I see this difference when I'm working with lists in Data View Web Parts and manipulating the values in XSL. Why do some Lookup column values look like '1;#text' and others just have the text? I've ...
3
votes
1answer
579 views

How to pass the parameter from dataview dropdown webpart to chart webpart

I have a dataview dropdown webpart and the chart webpart in my page. I have to filter the values of the chart webpart depending on the value selected in the dropdown. I have done this using webpart ...
3
votes
0answers
376 views

Webpart connection filter with Term Store metadata

I'm editing a list's dispform.aspx by adding a document library and trying to filter this one. I created a web part connection between the item ('Provide Row to') and the document library according a ...
3
votes
3answers
1k views

Join (Union) Two Columns in a Data View Web Part

I need to join two columns from the same list in a data view web part. Sample List: Player1 Player2 Points Jack Ben 5 Jack Tom 3 Tom 2 So the result from the ...
2
votes
1answer
6k views

How can I pass a Parameter via Query String to populate a lookup field on a New Item Form/DVWP?

I have two lists: List A: Products List B: Requirements I'd like to have a nice Create Requirement page launched from the Product Listing page. I have a DVWP/Multi-Item View displaying all ...
2
votes
2answers
111 views

Web part for contribute access

I have created a web part to display chart on my site's default.aspx page. Now I have a user with contribute access, when he opens this page, he can see chart but on top of the chart he can see links ...
2
votes
2answers
1k views

where is the Form Web Part in Sharepoint Designer 2010?

How do i add a form webpart in sharepoint designer 2010. What i'm after is filter the list based on date using 2 textboxes startdate and enddate. Any ideas solution to this. Thanks in advance
2
votes
3answers
1k views

Dataview Webpart

I have a page where I am using dataview webpart that has 2 diferent list as datasource ... I am working on the page in Sharepoing Designer 2007 and see that it does work good. But when I try to see it ...
2
votes
3answers
262 views

How to get publishing page friendly URL in Data View Web Part (DVWP)?

I have the managed navigation functionality activated in my publishing site on SharePoint 2013, which enables the creation of friendly URLs for pages by using the term store. Now I am working in a ...
2
votes
2answers
1k views

count number of rows in DVWP where status = not started and author = author

I have a library with @Author, @status, and @fileleafref (document). I have the following line in the dvt_1 template in my DVWP <xsl:variable name="C_Draft" ...
2
votes
2answers
998 views

SPLimitedWebPartManager.SaveChanges trips exception “checked out to another user”

I'm trying to modify some of the XSL in a DataForm web part (thanks to migration from SP2007 -> SP2010), and I'm able to checkout the file (several files, eventually), find the relevant XSL, and ...
2
votes
2answers
447 views

DefaultValue for CAML Variables

I have a question sort of related to this post. The default value of the CAML variable UserID is the CurrentUserName. Can that be set to different properties or is that fixed? For example, could ...
2
votes
4answers
378 views

Why doesn't jQuery execute in a DataViewWebPart with asynchronous load enabled?

The jQuery scripts I have in a DVWP do not get executed when I enable Asychronous Load in the Ajax Options of the DVWP. They do execute when I disable Asychronous Load though. Any thoughts on this? A ...
2
votes
2answers
8k 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" ...
2
votes
1answer
2k views

How To Define Specific ReadItem Finder with List View in External List?

I have an external list which is using the BCS to pull data from a custom database. This database has several views which have the same column structure and several that do not. I have been adding ...
2
votes
1answer
225 views

Security trimming not working for items in a dataview webpart - Data via webservices

I have a dataview webpart that gets data via webservices but i want to apply security trimming on the items. When i tested it using different logins it doesn't work.All the items keeps showing even ...
2
votes
2answers
646 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 ...
2
votes
2answers
2k views

“Person or Group” fields shows HTML instead of Display Name only

In Sharepoint Designer, I have a Data View Web Part which pulls data from a list. (In a normal situation) if I select a Person or Group field explicitly within the CAML for the Data Source, the ...
2
votes
1answer
631 views

How to render nested folders in a Data View Web Part?

I want to use a Data Vew Web Part to render the nested folder structure of a document library. I can get as far as using grouping on the path and setting the datasource to recursive. That effectively ...
2
votes
1answer
54 views

Webpart won't show tasks related to the list item

I have a 'Complaints' task webpart that's displayed under a (list) display form. The tasks are created by a workflow, when a complaint is created. I can get all of the tasks to appear in the webpart, ...
2
votes
1answer
277 views

How to edit the flat.aspx page include other discussion board column values?

Any ideas on how to modify the flat.aspx page used for the discussion board list in order to show other data from other columns? I have added a lookup column to the discussion board pointing to the ...
2
votes
1answer
69 views

Dataview get data from same List type with same content type from different sub sites

I have a site collection with different sub sites: A (Root) B (Program Site) B (Program Site) C(Projects Site) D(Projects Site) ...
2
votes
1answer
145 views

Code to fix filter by Person in a DVWP in Sharepoint 2007

Does anyone have the code to fix a DVWP where the column title filter shows the html rather than the person's name?
2
votes
2answers
444 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> ...
2
votes
1answer
146 views

Is a Data View View Style without tables available?

All of SharePoint Designer 2010's View Styles for Data Views are heavily table based. Are any non-table ones available from anywhere? The link to get more View Styles from Office.com doesn't work - ...
2
votes
3answers
887 views

Export a joined view

I have created a joined view (with a Data View Web Part in SharePoint Designer), how can I export it (ideally to Excel)?
2
votes
1answer
1k views

DVWP Wrong Group Count

I desperately need help with this...I have searched and tried everything I know. I have come across a group count error. I have created a data view web part using a linked source. The DVWP has only ...
2
votes
1answer
677 views

In a DVWP my Multilookup column is not returning IDs, only column values

I've added a DVWP to a page. The DVWP shows data from a list with a multi value lookup column. The value returned for this column is in the form: value1;value2;value3. Now I want to render this ...
2
votes
1answer
701 views

Using DataSourceMode=“Webs” in a DVWP in SharePoint 2010

In SharePoint 2007, there are several relatively unknown DataSourceModes you can use with DVWPs (CrossList, ListOfLists, ListItem, and Webs - see ...
2
votes
1answer
609 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
1answer
609 views

SharePoint Designer Edit NewForm Link

I created a Data View Web Part based on an existing list in SharePoint Designer 2007, I included the SharePoint List Toolbar so users can create new items. I want to use a custom List Form, in the ...
2
votes
1answer
459 views

Display DVWP Grouping horizontally

Scenario: DVWP that looks at 3 columns in a library CreatedBy Name Status I want to group first on "CreatedBy", then on "Status". But I want the Status groupings to display horizontally, not beneath ...