Listdata.svc - shows column names?

I have leveraged the REST service using listdata.svc many times. However, we are having trouble with one site in particular.  Cannot use REST with it and getting all sorts of errors in Visual Studio. This post is not about VS or C#, however, just about
what should be in the REST schema period. I am seeing tons of huge node values when looking at the listdata.svc in a browser.  It appears these are a combination of the list name and the column name.  I didn't think column names showed up at all,
just list names?
For example:
<collection
href="InvestmentPortfolioAnticipatedProjectTeamSizeFTESContractorsCustomersVendorsEtc">
<atom:title>InvestmentPortfolioAnticipatedProjectTeamSizeFTESContractorsCustomersVendorsEtc</atom:title>
I found that Investment Portfolio is a legit list in the site, but the rest of that value is a column name.  Other lists do not have columns listed in this schema when viewing from the browser.  Can someone explain to me why this is happening?
Thanks

Hi,
If you access http://siteurl/_vti_bin/listdata.svc, the preceding url returns all the lists in XML format. There will be no column name included in a <collection> node for normal lists, except when
there is Choice column in this list.
There will be extra <collection> nodes listed as the format below for the lists which contains Choice column:
<collection href="ListnameColumnname">
<atom:title>ListnameColumnName</atom:title>
</collection>
It seems this extra <collection> node is for internally use only which is not designed to be exposed to developers.
I would suggest you submit a feedback to the Office Developer Platform if there any expectation about the documentation about SharePoint APIs:
http://officespdev.uservoice.com/
It is a place for customers provide feedback about Microsoft Office products. What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version
in the future.
Regards,
Rebecca Tu
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected]

Similar Messages

  • Jtable not showing column Names

    I wrote the following Code and strangely it isn't showing the column Names....
    The mistake should be foolish..but i can't figure it out...
    can you please help.. or give any alternate way to do the same
    import javax.swing.*;
    import javax.swing.table.*;
    public class test
         public static String[] columnNames = {"User Name","User ID"};
         public static void main(String args[])
              JFrame frame = new JFrame();
              frame.setSize(400, 400);
              DefaultTableModel tabmodel = new DefaultTableModel(columnNames, 15);
              JTable table = new JTable(tabmodel);
              frame.add(table);
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setVisible(true);
    }

    Hi,
    A JScrollPane is needed to display the headers.
    import javax.swing.*;
    import javax.swing.table.*;
    public class TestTable {
        public static String[] columnNames = { "User Name", "User ID" };
        public static void main(String args[]) {
         // PB All GUI creation on the EDT
         SwingUtilities.invokeLater(new Runnable() {
             @Override
             public void run() {
              JFrame frame = new JFrame();
              frame.setSize(400, 400);
              DefaultTableModel tabmodel = new DefaultTableModel(columnNames,
                   15);
              JTable table = new JTable(tabmodel);
              // PB frame.add(table);
              frame.add(new JScrollPane(table)); // PB
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setVisible(true);
    }Piet

  • Show column names in a table

    Stupid question time...
    How do I display the column names in a table on the front panel? I thought by right clicking on the table would give me a selection to display them.
    Solved!
    Go to Solution.

    Hi Eric,
    you can set the cell background color of the "Active cell" (read the help for that property!) with a property node.
    To get the clicked cell you can use a method of the table to convert mouse coordinates (given by the event structure) to row/column coordinates!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do you get table column names to show one time per page

    I have a report where I want the column names to show one time per page.
    I have the table with the column names set below the header and above the
    'for-each Row'.
    When I view the report in PDF format the colunm names show only one time on the first page and on the other pages the column names do not show at all. If I view the report in RTF, the same thing happens, shows column names on the first page, but not on the other pages after that.
    I highlighted the table and went to table properties, clicked on ROW tab and then checked (Repeat as header row at the top of each page) and it still does not work for PDF or RTF format. I have looked at other forums with this issue and it doesn't work for me in PDF format.
    Could someone tell me what I am doing wrong.....
    I appreciate anyone that can help me.
    Thank you,
    Susie

    I figured out what I was doing wrong.
    I was creating a seperate table for the column names and not using the table where the column names where created originally. I deleted the column names from the original table and created a seperate table above that table with the column names only.
    So I went back to the original table and highlighted the row with the column names and went to table properties/ROW tab/ and clicked (Repeat as header row at the top of each page) and now it works perfectly in PDF format where the column names show one time for each page. Deleted the other table where I had the column names only.
    thanks
    Susie

  • ALV Report - displaying column name in two fields.

    Dear All,
                 I am working on ALV report , report is ready but now i have to format it according to client requirment, in which have to show column name in two row like.
    supppose there is field by name
    "Date of receipt of processed Goods"
    can i display it like
    "Date of receipt of
    processed Goods "
    Assured points for suitable answer.
    Looking foward to your response.
    Best Regards,
    Gulrez Alam

    Hi Ellery,
    As Philipp said, there is no need for populating the field using PL/SQL. You would just need to go to the Paper Layout in the Reports Editor, click on "Text" in the Drawing toolbar, drag it to the appropriate place in your layout to create the field, and write what you want in that field. Below that, you can create the field(s) which will display the actual totals. I'm assuming that creating the totals field is not a problem.
    Navneet.

  • How do i get my screen that show by columns (letf to right) 1) showed Albumn Name then under that showed Artist, next column listed songs on that albumn, next was time (song length), then Artist, Genre, Rating

    I imported 2174 songs into my itunes from my husbands CD collection. Then for some reason i was checking out some of itune features. I clicked on FILE>DISPLAY DUPLICATES, Just to see what this feaure was. it changed my page to something that i did not like. I am trying to figure out how to get my itunes VIEW to what it was BEFORE i clicked on the DISPLAY DUPLICATES. My page before looked like: as follows (columns from LEFT TO RIGHT) showed:
    COLUMN 1) showed ALBUMN NAME WITH ARTIST RIGHT UNDER THAT, then COLUMN 2) LISTED ALL THE SONGS ON THAT ALBUMN, COLUMN 3) SHOW TIME (SONG LENGTH), COLUMN 4) ARTIST 5) GENRE 6) RATING & 7) PLAYS (WHATEVER THAT MEANS?)
    Now the screen: COLUMN 1) JUST LISTS THE ALBUMNS NAME (EACH ALBUMN ONCE, ALL THE WAY DOWN THE COLUMN. BESIDE EACH ALBUMN TITLE IS A (NUMBER...i.e. 13) THEN NEXT TO THAT IS 1 SONG (I AM ASSUMING THIS I HOW MANY TIMES THAT PARTICULAR SONG IS IN MY LIBARY), THEN TIME, ARTIST, GENRE, RATING & PLAYS...
    I AM ASSUMING THAT SOMEHOW I HAVE TO TAKE OFF THE "DISPLAY DUPLICATES" BUT HAVE CLICKED ALL OVER TO FIGURE OUT HOW TO DO THIS???? BUT CANT FIND OUT WHERE OR HOW???
    CAN SOMEONE PLEASE HELP???
    THEN I THINK I BETTER (TAKE THE TOUR) BEFORE I START CLICKING ON THINGS THAT I DO NOT KNOW WHAT IT IS!
    PLEASE HELP...I HAVE ANOTHER 400 OR SO CD'S TO IMPORT! SURE HOPE MY HUSBAND IPOD WILL HOLD ALL THESE SONGS SINCE I PURCHASED IT FOR HIM MANY YEARS AGO!  OF COURSE I HAVE NOT BEEN ABLE TO USE IT FOR A YEAR (SINCE STAPLES ATTEMPTED TO FIX MY OLD COMPUTER & LOST ALL THE MUSICE OUT OF MY COMPUTER) & IF I PLUGGED THE IPOD IN AGAIN, I WOULD HAVE LOST THE 1800 SONGS THAT WAS IN THE IPOD!!! NOTHING BUT PROBLEMS WITH STAPLES, MICROSOFT! RECEIVED NEW COMMPUTER & NOW NONE OF MY EXPENSIVE PROGRAMS WORK ON THIS STUPID WINDOWS7. OVER 3500.00 WORK OF EXPENSIVE SOFTWARE & NO ONE CAN TELL ME HOW TO GET MY PROGRAMS INSTALLED & WORKING...
    JUST MY LUCK...LOOKED AT BACK OF IPOD & SURE ENOUGH IT ONLY HAS 30 GB!!! SO FAR I HAVE 16+ GB OF MUSIC IN ITUNES & HAVE 400 CD'S TO GO YET. AMAZING...NEW COMPUTER THAT WONT RUN MY PROGRAMS & NOW AN IPOD WITH NOT ENOUGH MEMORY& OF COURSE NOT ENOUGH MONEY TO PURCHASE ALL MY PROGRAMS AGAIN! LIKE MICROSOFT HAS TO MAKE OPERATIONS THAT WILL NOT RUN...PERFECTLY GOOD PROGRAMS LIKE PHOTOSOFT, DREAMWEAVER, WACOM, PUBLISHER, MICROSOFT PICTURE IT, PUBLISHER, POWERPOINT, ETC. ETC. FOR $199.00 THEY CAN TRY & HELP ME. WHO HAS THAT MUCH MONEY. THEY WONT EVEN HELP ME RE-INSTALL THEIR OWN PROGRAMS...I KNOW I WENT OFF THE ORIGINAL SUBJECT BUT AM SO FRUSTRATED THAT I WANT ANYONE TO LISTEN TO POSSIBLY GET SOMEONE TO HELP WITH THESE OTHER ISSUES, ALSO. STAPLES HAVE REALLY NOT HELPED AT ALL EITHER.. BUT THEY SURE CHARGE ENOUGH TO MAKE YOU KEEP PURCHASING MORE THINGS TO MAKE THE PROGRAMS WORK & THEY STILL DONT. THEY SURE CAN TELL ALOT OF LIES THOUGH! FOR NOW, CAN SOMEONE HELP ME GET MY ITUNES SCREEN BACK??? THANKS SO MUCH...THIS I AM SURE IS OPERATOR DEFISENCY!

    The large text size makes your post almost impossible to read.
    Excessive use of bold or capitals (also) makes posts difficult to read.
    You can drag most of the column headings left or right, or right-click on the header to turn columns on or off.
    Once you've used File > Display Duplicates or Shift > File > Display Exact Duplicates you can use File > Display All or the Display All button at the bottom of the list to restore the display.
    For general advice on organising your library see this article on Grouping tracks into albums.
    tt2

  • Not showing the column name

    Hi
    I am using jdev 11.1.1.3
    .i i dragged an adf table from data control.it has got 3 columns.i changed the name of first column as Lang grades.when i run that it is showing the column name as lang grades.then in that table two fields r mandatory.so in the property inspector i put the show required as true.but after that on running it is not showing the column name as lang grades.there is only the star sign for showing the attribute as required only.

    Hi,
    not enough information. So from your description, a column that is not marked required on its cell renderer component is not displayed at runtime. I am not aware of such a problem and suggest to try a later version of 11g R1 (11.1.1.6) to see if this reproduces. This allows you to exclude a probelm with 11.1.1.3 only
    Frank

  • Can I show the column name for my legend?

    I have a bunch of graphs where the legend labels (ie. the values from the column) aren't really informative (ie. simple numeric values), and are part of a dimensional hierarchy, so you might see a graph whose legend has 1, 14, 38, 141 and you click on one of them and get another graph whose legend is 345, 6546, 2342. My current solution is to create a logical column prepending the value with a column name, so my values are now "District 1", "District 14", "District 38", "District 141". But it would be so much nicer if I could just show "District" above the legend. Is there any way to do this?

    My be this can give you a help:
    [code]
    SELECT *
    FROM   ALL_CONSTRAINTS
    WHERE  R_CONSTRAINT_NAME IN (SELECT CONSTRAINT_NAME
                                                               FROM   ALL_CONSTRAINTS
                                                               WHERE  TABLE_NAME = 'TABLE_NAME'
    [/code]

  • UD Datasource Proposal Tab Shows Incorrect Column Names

    I created a UD datasource in BW and the "Proposal" tab showed me the correct column names for the table I had selected.  A couple of column names were then changed for this table in the source system but they are not showing up in the "Proposal" tab (the old column names are still there).  I refreshed and reactivated the source system in BW but it didn't work.  Any ideas on how to get the new column names to show up in the "Proposal" tab?  Thanks for any help on this.

    hi,
    check with the following steps you carried out in the ud data source creation.
    You are in the DataSource tree in the Data Warehousing Workbench.
           1.      Select the application components in which the DataSource is to be created and choose Create DataSource.
           2.      In the next screen, enter a technical name for the DataSource, select the type of the DataSource and choose Copy.
    The DataSource maintenance screen appears.
           3.      Go to the General tab page.
                                a.      Enter descriptions for the DataSource (short, medium, long).
                                b.      If necessary, specify if the DataSource builds an initial non-cumulative and supplies potentially duplicate data records within a request.
           4.      Go to the Extraction tab page.
                                a.      Define the delta method for the DataSource.
                                b.      Specify whether you want the DataSource to support direct access to data.
                                c.      UD Connect does not support real-time data acquisition.
                                d.      The system displays Universal Data Connect (Binary Transfer) as the adapter for the DataSource.
    Choose Properties if you want to display the general adapter properties.
                                e.      Select the UD Connect source object.
    The connection to the UD Connect source is established. All source objects that are available in the selected UD Connect source can be selected using input help. Source objects can be multi-dimensional storage or relational objects.
           5.      Go to the Proposal tab page.
    The system displays the elements of the source object (for JDBC for example fields, or for XMLA and ODBO characteristics and key figures) and creates a mapping proposal for DataSource fields. The mapping proposal is based on the similarity of the names of the source object element and DataSource field and the compatibility of the respective data types.
    Note that source object elements can have a maximum of 90 characters. Both upper and lower case are supported.
                                a.      Check the mapping and change the proposed mapping as required. Assign the non-assigned source object elements to free DataSource fields.
    You cannot map elements to fields if the types are incompatible. The system produces an error message in this case.
                                b.      Under Copy to Field List, select the fields that you want to transfer to the field list for the DataSource. All fields are selected by default.
           6.      Maintain the Fields tab page.
    Here you edit the fields that you transferred to the field list of the DataSource from the Proposal tab page.
                                a.      Under Transfer, specify the decision-relevant DataSource fields that should be available for extraction and transferred to BI.
                                b.      If required, change the values for the key fields of the source.
    These fields are generated as a secondary index in the PSA. This is important in ensuring good performance for data transfer process selections, in particular with semantic grouping.
                                c.      If required, change the data type for a field.
                                d.      Specify whether the source provides the data in the internal or external format.
                                e.      If you choose an External Format, ensure that the output length of the field (external length) is correct. Change the entries, as required.
                                  f.      If required, specify a conversion routine that converts data from an external format into an internal format.
                                g.      Select the fields for which you want to be able to set selection criteria when you schedule a data request using an InfoPackage. Data for this type of field is transferred in accordance with the selection criteria specified in the InfoPackage.
                                h.      Choose the selection options (such as EQ, BT) that you want to be available for selection in the InfoPackage.
                                  i.      Under Field Type, specify whether the data to be selected is language-dependent or time-dependent, as required.
    Note
    If you did not transfer the field list from a proposal, you can define the fields of the DataSource directly. Choose Insert Row and enter a field name. You can specify InfoObjects in order to define the DataSource fields. Under Template InfoObject, specify InfoObjects for the fields of the DataSource. This allows you to transfer the technical properties of the InfoObjects into the DataSource field.
    Entering InfoObjects here does not equate to assigning them to DataSource fields.  Assignments are made in the transformation. When you define the transformation, the system proposes the InfoObjects you entered here as InfoObjects that you might want to assign to a field.
           7.      Check, save and activate the DataSource.
           8.      Go to the Preview tab page.
    If you select Read Preview Data, the number of data records you specified in your field selection is displayed in a preview.
    This function allows you to check whether the data formats and data are correct.
    Result
    The DataSource is created and added to the DataSource overview for the UD Connect source system in the application component in the Data Warehousing Workbench. When you activate the DataSource, the system generates a PSA table and a transfer program.
    You can now create an InfoPackage. You define the selections for the data request in the InfoPackage. The data can be loaded into the entry layer of the BI system, the PSA. Alternatively you can access the data directly if the DataSource allows direct access and you have a VirtualProvider in the definition of the data flow.
    http://help.sap.com/saphelp_nw70/helpdata/en/bc/ed1640b7b6dd5fe10000000a155106/frameset.htm
    hope this give you an idea
    regards
    harikrishna N

  • ListData.svc for choice column

    When viewing the listdata services available for a SharePoint list, i notice that a separate service is available for each choice column in a list.  Can someone explain how these are used?
    For example, i have a list called InstitutionAlerts...
    The following services are available  
        InstitutionAlerts
        InstitutionAlertsStatus
    I know I can filter the InstitutionAlerts list by using ?$filter=StatusValue eq 'Submitted'
    I am not sure how to use the InstitutionAlertsStatus service however.
       For example: http://myDomain/mySite/__vti_bin/ListData.svc/InstitutionAlertsStatus

    Hi,
    We can use the following URL to filter the choice column.
    http://myDomain/mySite/_vti_bin/ListData.svc/InstitutionAlertsStatus()?$filter=Value eq 'Submitted'
    You can do more customization with your own logic.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • List content type columns don't show new names after resource files were changed

    Hello,
    we ran into a problem, that we're not able to figure out at the moment.
    We have a site collection with site columns and site content types defined and created with
    features ant their XML files. All display names are retrieved from resource files. We do have
    several subsites, that have predefined lists also created from features and their corresponding
    XML files. They use inherited versions of these site content types as list content types with
    their columns inherited from the site columns.
    We had some changes within the resource files and never ran into a problem up to now.
    We changed the display names of some of these columns within the resource files. After
    these changes the site columns, site content types and list columns show the changes
    as planned. Unfortunately the columns of the list content types do not display the changes.
    They still show the old name. If you try to alter the old names manually the new name is
    shown within the form, but you're not able to save it and the list content type columns
    still have their old name afterwards.
    We checked our definition files and they seemed to be well.
    Any ideas?
    Regards,
    Markus
    List columns as defined within new the resource file:
    List content type columns, that do not show the changes from the new resource file:

    Hi,
    According to your post, my understanding is that you want to modify the site column name in the list.
    I try to reproduce the issue, however, everything works well.
    You can modify the DisplayName in the Element.xml file.
    Then after you redeploy the project, the site column name will be changed in the list setting page.
    In addition, please check whether you create the list correctly.
    For more information, you can refer to
    Walkthrough: Create a Site Column, Content Type, and List for SharePoint
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Column names shows as untitled in a chart

    I have created a table with row one showing days 1 to 28, row 2 shows speed attained on that day.
    So basically 1 to 28 are the column names.
    However when I create a chart by selecting row 2, instead of showing days 1 to 28 along the bottom, it shows as "untitled 1" etc. Can anyone help please?

    Pete,
    Yes, a Line Chart wants to see a text (vs. Value) entry for the category axis label, and with a Header you are defaulting to Text.
    I would suggest that you may be happier in the long run with dates running down the first column rather than across the first row. Not imperative, but something to keep in mind if excessive scrolling becomes an issue for you.
    Jerry

  • Export from SP list to Excel: Excel doesn't show changed colum name. It shows only the original column names, which would be done by the column creation.

    Hello,
    I have an excel list with some columns. I changed the name of some of the column. When I export this list to excel, I always get the first column name, which was created by the creation of the column, and not the new one.
    Is there some possibility to export a SP list to export with the new column names?
    I'm waiting for your help,
    BR
    Damian

    Hi Damian,
    I tested in my environment, change the column name and export to excel list, the exported field name is the correct one.
    Please check the column name from somewhere else from site UI, you could check from SharePoint designer or powershell script.
    [system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
    $site= New-Object Microsoft.SharePoint.SPSite ("http://siteurl")
    $web=$site.OpenWeb()
    $list=$web.Lists["CustomList"]
    $list.Fields |select ID, title, internalname| more
    In addition, I wonder if the issue occurs to all lists or one specific list. If the issue only occurs to one list, please try to save this list as template and create a new list based on this list and test the issue again.
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Tutorial on how to update list items using ListData.svc

    Can you please point me to a tutorial which shows how to update a list item using listdata.svc and C#?
    Sorry if this is FAQ.
    I have found articles on read list... but I haven't found anything on update a list item.
    val it: unit=()

    when i try this I get an error 500
    I created an ASP.NET web application that allows the user to modify data that is stored in SharePoint I rather not go into the reasons why this application was created but focus more on why doesn't the listdata.svc allow me to update a task item that was
    created by a workflow collect data from user action.
    1. The workflow creates the item.
    I collect the item and update the item using the below code. This is not an OOTB approval workflow that is just the name I used. When I get to save changes I received the following error code.
    Dim getApprovalItem As ExpenseApprovalRuleBasedTasksItem = spContext.ExpenseApprovalRuleBasedTasks.Where(Function(i) i.Id = Pam.ApprovalItemID).FirstOrDefault
    If String.IsNullOrEmpty(getApprovalItem.AuditorApprovalValue) Then
    getApprovalItem.AuditingComments = approvalComments
    Select Case approvalDecision
    Case "Approved"
    getApprovalItem.AuditorApproval = ExpenseApprovalRuleBasedTasksAuditorApprovalValue.CreateExpenseApprovalRuleBasedTasksAuditorApprovalValue("Approved")
    getApprovalItem.AuditorApprovalValue = "Approved"
    Case "Rejected"
    getApprovalItem.AuditorApproval = ExpenseApprovalRuleBasedTasksAuditorApprovalValue.CreateExpenseApprovalRuleBasedTasksAuditorApprovalValue("Rejected")
    getApprovalItem.AuditorApprovalValue = "Rejected"
    End Select
    getApprovalItem.Outcome = "Completed"
    getApprovalItem.Status = ExpenseApprovalRuleBasedTasksStatusValue.CreateExpenseApprovalRuleBasedTasksStatusValue("Completed")
    getApprovalItem.StatusValue = "Completed"
    getApprovalItem.Complete = True
    spContext.UpdateObject(getApprovalItem)
    spContext.SaveChanges()
    End If

  • How to rename C00n generic column names in a Dynamic SQL report

    I have a an interface whereby the user can select 1 to 60 (upper limit) columns out of 90 possible columns (using a shuttle) from one table before running a report.
    To construct the SQL that will eventually execute, I'm using a "PLSQL function body returning SQL query" with dynamic SQL. The only problem is that I have to use "Generic Column Names" option to be able to compile the code and end up with c001 to c060 as the column names.
    How can I use the names of the selected columns as the report headings rather than c001, C002... etc?
    I do not know beforehand which columns, or how many columns or the order of the selected columns.
    I know Denes K has a demo called Pick Columns but I can't access his code. I have a hunch though that he may be just using conditions to hide/show the apropriate columns.
    thanks in advance
    PaulP

    Hi Paul
    I would change the Heading Type in the Report Details screen to PLSQL and use the shuttle item to return the column values. e.g.
    RETURN :p1_shuttle;
    I'm assuming the shuttle already has a colon separated list of the column headings in the correct order?
    I hope that helps
    Shunt

Maybe you are looking for