Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Consolidated Data View (list/display format)

Consolidated Data View (list/display format)

Scheduled Pinned Locked Moved SharePoint
helpsharepointwcfxmltutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    svaa
    wrote on last edited by
    #1

    I wanted to create a consolidated view of lists from muliple locations. So, I created SOAP Service Connection (in SP Designer). Then I created a Linked Data Source to link multiple lists. I was able to create a Data View and create a consolidated view. Now the problem I have is how some of the fields are being displayed (example: Facility). In the original list it displays just the name (example: ‘Fayette’). However, in the consolidated view it displays “28;#Fayette”. I have this similar issue with three other columns. The only difference is that the other columns displays ‘float;#’ before the numeric value. I believe this may be due to the fact that the ‘Facility’ column is actually a lookup function on the original list (with drop down). And the columns with ‘float;#’ in front of the value are actually calculations. Your help is much appreciated. Thanks, sv

    N 1 Reply Last reply
    0
    • S svaa

      I wanted to create a consolidated view of lists from muliple locations. So, I created SOAP Service Connection (in SP Designer). Then I created a Linked Data Source to link multiple lists. I was able to create a Data View and create a consolidated view. Now the problem I have is how some of the fields are being displayed (example: Facility). In the original list it displays just the name (example: ‘Fayette’). However, in the consolidated view it displays “28;#Fayette”. I have this similar issue with three other columns. The only difference is that the other columns displays ‘float;#’ before the numeric value. I believe this may be due to the fact that the ‘Facility’ column is actually a lookup function on the original list (with drop down). And the columns with ‘float;#’ in front of the value are actually calculations. Your help is much appreciated. Thanks, sv

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      When you have a Lookup field in your list a SPFieldLookup type is used whose default display value is obtained from SPFieldLookupValue and is a concatenation of the ID and Title from the source list. You didn't specify what version of SharePoint you are working with so a specific suggestion can't be given.


      No comment

      S 1 Reply Last reply
      0
      • N Not Active

        When you have a Lookup field in your list a SPFieldLookup type is used whose default display value is obtained from SPFieldLookupValue and is a concatenation of the ID and Title from the source list. You didn't specify what version of SharePoint you are working with so a specific suggestion can't be given.


        No comment

        S Offline
        S Offline
        svaa
        wrote on last edited by
        #3

        I am working with SP Foundation. I was able to solve the issue using the feedback I used. I made the following changes to my code: xsl:value-of select="substring-after(@ows_Facility, ';#')"/ I used the same logic you provided for other columns that had a similar issue. The good part is the ‘2;#’ and ‘float;#’ disappeared from the Data View. Now the one thing I’m still having trouble with is editing the calculation columns. For example I have a ‘Tonnage Capacity’ column, which is a calculation on the initial lists (tonnage capacity = pallet capacity * 1500). In my data view I am able to edit all my normal columns to a number format with 0 decimal places. However, when I format the Tonnage Capacity column to number format the values disappear. Is there a way around this? Thanks for your help.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups