Questions tagged [dataviewwebpart]

51 questions
4
votes
1 answer

How to use inline conditional (if then else) in XSLT?

Is it possible to do inline conditionals (if then else) in XSLT? Something like:
Or a real use-case/example:
IMTheNachoMan
  • 5,343
  • 5
  • 40
  • 89
4
votes
1 answer

XSLT 1.0 Greedy knapsack grouping methods?

I have an XML dataset (provided from SharePoint 2007 to a DVWP) structured something like:
Hector
  • 55
  • 4
4
votes
1 answer

Filtering DVWP with xslt with parameter from connected LVWP in Sharepoint Designer

My setup is as follows: A custom page on a Sharepoint 2010 site with a list view web part and a Data view web part. When I select an item in the LVWP I want to filter the DVWP with a multi lookup field value. So I've connected to two web parts such…
3
votes
2 answers

Filter a Data View Web Part by "last 3 days"

We have a custom list that has a column called "Connection Date" and need to display the most recent list items (relative to this "Connection Date" column) in various places across the portal. the Data View Web Part appears to be the best solution,…
elorg
  • 248
  • 3
  • 7
2
votes
2 answers

Create custom field in SharePoint 2007 New Item Form

I want to modify a NewForm.aspx in a Task List to allow a custom string to be built. I have two fields, ID and Assigned To, and want create a third field that concatenates the two. Unfortunately, I cannot use the Assigned To column value in a…
Steve
  • 21
  • 2
2
votes
1 answer

Dataview Webpart > Sort limited to displayed items

sorting in dataviewwebpart only sorting within display items. Paging is enabled to display 10 items per page. Also, How do I put 1,2,3,4,5,6,7,8,9,10, (next, previous) for the paging? They give you dataview wp but looks like it's also limited. I…
Jamil Ferdaus
  • 167
  • 1
  • 3
  • 11
2
votes
1 answer

Javascript DataView read ID3 Tags

I am trying to read the ID3 tags of an music file. Currently i have a Dataview object with the last 128 bits of an audio file in it (because the ID3 tags are at the last 128 bits in a audio file). So at this point i don't know how i go further, how…
Nimmi
  • 153
  • 1
  • 13
2
votes
0 answers

Paging To The End Of A Data View Web Part

Hopefully you can help me with this. I've displayed an Announcement web part on a page with 20 items. I opened up SharePoint Designer 2007 and set the paging to 6 items. I've added a little bit of (OOB) functionality so that I have buttons for…
2
votes
1 answer

Can the ID from a referenced column be obtained when using SharePoint's 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 of the data view web part configuration, it reads Now since ColumnX is a reference…
Alex Nolasco
  • 18,750
  • 9
  • 86
  • 81
2
votes
2 answers

sharepoint data view web part xslt without schema

I'm trying to use a data view web part (via SPD 2007) to consume the results of a SOAP-based web service and render portions of said results using XSL transforms. The problem I'm having is that the designer isn't much help because the schema for…
Ben Collins
  • 20,538
  • 18
  • 127
  • 187
2
votes
1 answer

Add a WebPart to an Application page

I have a "Data view web part" created from SharePoint Designer. I added the web part to my visual studio project as a "Web Part" . I want to know how to add the web part to an application page.
hYk
  • 764
  • 1
  • 8
  • 21
2
votes
2 answers

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 the items filtered by year. The dropdown:
Akhoy
  • 502
  • 1
  • 13
  • 24
2
votes
1 answer

sharepoint dataview webpart xslt group by left characters of a column

I have a sharepoint 2010 list with a column "proposalID". The values in that column are 5555-01, 5555-02, 5555-03, 6666-01, 6666-02, etc. I want to group by the 4 characters to the left of the dash. So the grouping would display 3 items under 5555…
2
votes
1 answer

SharePoint DataView Show Items from last week

I have a SharePoint DataView WebPart that is set up to combine data from a few different lists. I want to filter the data to only show data from last week. I am able to filter it to show data from this week, but have been unsuccessful in getting…
Kyle Trauberman
  • 25,414
  • 13
  • 85
  • 121
2
votes
0 answers

sharepoint datawebpart paging issue with groupings

I created a dataview webpart in designer and have two different groupings. I enabled the grouping headers so they show up in my webpart. The issue I am having is that I want to make the first grouping visible on the first page (or other pages) so…
1
2 3 4