Questions tagged [data-view-web-part]
a highly customizable web part for displaying SharePoint data
359
questions
13
votes
2
answers
24k
views
How to display more than 3 views in document library?
I have 4 views "All Documents" "Agreements" "Permits" "Deeds" I want to display all 4 of them above my document library but only 3 get displayed and the fourth gets placed in the "..." section. I ...
9
votes
2
answers
12k
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
1
answer
10k
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 ...
7
votes
3
answers
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 ...
7
votes
1
answer
2k
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 ...
5
votes
2
answers
5k
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
3
answers
583
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 ...
5
votes
2
answers
3k
views
How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013?
I have a business data-excel web access web part. I need help for below issue.
How to resize webpart content (Excel sheet) without scrollbars in SharePoint 2013?
Please assist.
5
votes
1
answer
9k
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
1
answer
219
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!
4
votes
3
answers
8k
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
2
answers
694
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 ...
4
votes
1
answer
106
views
Migrate Chart Web Part from SP 2007 to O365
I am doing sharepoint migration from 2007 to O365. I have chart web part in 2007 which is exactly in this link.
https://msdn.microsoft.com/en-us/library/office/cc300164(v=office.12).aspx
I want ...
4
votes
2
answers
2k
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 ...
4
votes
2
answers
1k
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
1
answer
4k
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
2
answers
2k
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
1
answer
654
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 ...
4
votes
2
answers
3k
views
Adding data views and data sources
I am hoping this question has a really simple answer to it.
I am currently in SharePoint Designer editing an .aspx page.
I added an empty data view, then added a data source for one of my document ...
4
votes
1
answer
949
views
Using Key Filter to filter DVWP
I'm using a DVWP to display the contents of a document library. I've enabled Metadata Navigation for the library and when I navigate to the library's AllItems.aspx page it displays the correct Key ...
4
votes
1
answer
5k
views
Filter list in a WebPart by Contains not Equals (adding a wildcard)
If I need to "search" list data using a wildcard, I have to modify the XSL code.
A step-by-step instruction for doing it in SP2007 has been provided at Can I Filter a List/Data View using Contains ...
4
votes
1
answer
1k
views
DataView parameter DefaultValue
Please help, what should I set to the default value in DVWP filter parameter if it should be ISO8601 date format of the actual date?
It only works now if I manually enter current date like
<...
4
votes
3
answers
9k
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
2
answers
5k
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
2
answers
947
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 test="ddwrt:...
3
votes
3
answers
2k
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
2
answers
14k
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 Products....
3
votes
2
answers
5k
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
2
answers
10k
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" exclude-result-prefixes="...
3
votes
2
answers
3k
views
SharePoint 2013 list using multiple drop down list as filters
Long time reader, first time poster...
I have found many of the best solutions for my problems here, so thank you for all your hard work!
I have been trying to get this problem figured out for few ...
3
votes
1
answer
532
views
Click anywhere in data view group by for expand/collapse
I'm trying to get the functionality of being able to click anywhere in the group by header element to expand and collapse the group. I have gotten close where I can click anywhere in the element ...
3
votes
1
answer
3k
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 ...
3
votes
4
answers
511
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 ...
3
votes
4
answers
2k
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
2
answers
173
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
1
answer
745
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 ...
3
votes
1
answer
752
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 ...
3
votes
1
answer
683
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 ...
3
votes
1
answer
2k
views
SharePoint 2013 Calendar Recurring Events Issue
I am working on SharePoint 2013 on-premise environment.
We have calendar list with recurring events. These events shown in Calendar view and All events view without any issues.
We created one data ...
3
votes
1
answer
155
views
Dataview Web Part won't load on client computers
I'm attempting to troubleshoot an odd issue, so hopefully someone here can point me in the right direction. I've got a web part page with two dataview web parts on it. Both DVWPs use the same list as ...
3
votes
1
answer
1k
views
Need help comparing two dates with times
I'm trying to compare two dates with time. I'm able to compare just the date, but when I add the time element it doesn't work. I'm not sure what the correct format should be.
<xsl:if test="ddwrt:...
3
votes
2
answers
1k
views
Using custom parameter with a form control as source in Data view Webpart
On a page, I have a dataview webpart to enter a new item in a list. It has just one text-box to enter data in a list field.On submit, the form is redirected to a custom page.
I want to grab the text ...
3
votes
0
answers
717
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
3
answers
2k
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 data ...
2
votes
4
answers
1k
views
SQL Data Display and Edit in Sharepoint
I want to load data from SQL Table and edit the same and save in SQL DB. The tables has many records and all the records should be displayed and should be edited a single record at a time and should ...
2
votes
2
answers
3k
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 ...
2
votes
2
answers
209
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
2
answers
3k
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
3
answers
2k
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
3
answers
1k
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 ...