SharePoint 2010 REST API, User SiteColumn not coming

When Create User sitecolumn from front end(using default SharePoint Setting area) and then fetch list through REST API then it comes parfactly but
When I create User sitecolumn's xml from Visual Studio and then add that sitecolumn in contenttype and then in list and then fact list through REST API then it does come in api xml.

Hi Manish<o:p></o:p>
 <o:p></o:p>
I can understand your issue, but not sure what could be the reason behind this behavior. To help you resolve the issue, we will need troubleshooting to be done at your end. I would request you
to open a support ticket with Microsoft to help us resolve your issue as quickly as possible.
For more information about Microsoft Support please read the article http://support.microsoft.com/gp/proffaq/en-gb
 <o:p></o:p>
Thanks,
Bharat Rathod, <u1:p></u1:p><o:p></o:p>
Microsoft Online Community Support<u1:p></u1:p><o:p></o:p>

Similar Messages

  • SharePoint 2010 Rest API: How to add attachment to a list item via ListData.svc

    Hi
    I have set up a project using the REST API in c# Visual Studio 2010.
    I have added a service reference to the URL //site/_vti_bin/listdata.svc/
    I can query the list and get back data, but I can't retrieve the attachments.
    I can write data to the list, but I can't add attachments.
    Are there any examples of how to add or retrieve attachments using the REST API services.
    Thanks
    Mike

    Hi,                                                             
    If you want to work with list attachments using REST API, here are some links will show how to do this using Javascript:
    http://msdn.microsoft.com/en-us/library/office/dn292553.aspx#FileAttachments
    http://chuvash.eu/2013/02/20/rest-api-add-a-plain-text-file-as-an-attachment-to-a-list-item/
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2013/06/27/how-to-get-list-item-attachments-using-rest-and-javascript-in-sharepoint-2013.aspx
    Best regards
    Patrick Liang
    TechNet Community Support

  • POST to SharePoint Online REST API - 405 Method Not Allowed

    Good afternoon,
    I am writing C# with the intention of uploading a file to a document library using the REST API.
    The code must run on an on-premise machine and the target SharePoint site is in SharePoint Online (Office 365 E-plan).  It has to handle large files, so CSOM is not an option.
    I have successfully tested a few different "get" messages, so I believe the authentication part is working.  However, so far I have no such luck with POST.
    In fiddler, my most recent attempt looks like this (I redacted the parts in <> because I'm not sure if they are sensitive somehow):
    POST http://org.sharepoint.com/sites/site/_api/web/GetFolderByServerRelativeUrl('Documents')/Files/add(url='test2.txt',overwrite=true) HTTP/1.1
    Accept: application/json;odata=verbose
    X-RequestDigest: <digest value>,15 Jan 2014 17:48:49 -0000
    BinaryStringRequestBody: true
    Host: org.sharepoint.com
    Content-Length: 6
    Expect: 100-continue
    stuff!
    Seems like it should work, but the result is "301 Moved Permanently."  This request is immediately followed by this one: 
    GET https://org.sharepoint.com/sites/site/_api/web/GetFolderByServerRelativeUrl('Documents')/Files/add(url='test2.txt',overwrite=true) HTTP/1.1
    Accept: application/json;odata=verbose
    X-RequestDigest: <formdigest>,15 Jan 2014 18:01:51 -0000
    BinaryStringRequestBody: true
    Host: org.sharepoint.com
    Cookie: FedAuth=<cookiestuff>; rtFA=<cookiestuff>
    Response:
    HTTP/1.1 405 Method Not Allowed
    Cache-Control: private, max-age=0
    Transfer-Encoding: chunked
    Content-Type: application/json;odata=verbose;charset=utf-8
    Expires: Tue, 31 Dec 2013 18:01:52 GMT
    Last-Modified: Wed, 15 Jan 2014 18:01:52 GMT
    Server: Microsoft-IIS/7.5
    X-SharePointHealthScore: 0
    X-SP-SERVERSTATE: ReadOnly=0
    SPClientServiceRequestDuration: 25
    X-AspNet-Version: 4.0.30319
    SPRequestGuid: dd936a9c-f4fc-a05d-27e1-2c948f0eb575
    request-id: dd936a9c-f4fc-a05d-27e1-2c948f0eb575
    X-FRAME-OPTIONS: SAMEORIGIN
    X-Powered-By: ASP.NET
    MicrosoftSharePointTeamServices: 16.0.0.2308
    X-Content-Type-Options: nosniff
    X-MS-InvokeApp: 1; RequireReadOnly
    P3P: CP="ALL IND DSP COR ADM CONo CUR CUSo IVAo IVDo PSA PSD TAI TELo OUR SAMo CNT COM INT NAV ONL PHY PRE PUR UNI"
    Date: Wed, 15 Jan 2014 18:01:51 GMT
    128
    {"error":{"code":"-1, Microsoft.SharePoint.Client.ClientServiceException","message":{"lang":"en-US","value":"The HTTP method 'GET' cannot be used to access the resource 'Add'. The operation type of the resource is specified as 'Default'. Please use correct HTTP method to invoke the resource."}}}
    0
    So it looks to me as if my request is being redirected to the same address but with a "GET" method rather than "POST," resulting in the 405 Method Not Allowed error because "add" needs POST.
    I appreciate any insight you can offer.

    Mkay, perhaps I should rephrase:  
    I want to synchronize a SharePoint Online library with a local file share.  There are a large quantity of files, and many of them are large (actually it's all too large to fit in one SharePoint Online site collection due to the 100gb limit, but I'll
    deal with that separately).
    The approach I was working on here was to create a C# method basically like this:  UploadFile(File, Destination, username, password).  I would use this method in the script component of an SSIS package which would run on a server and push the files
    up to SPO, but right now I'm just testing it as a console application.
    I got the CSOM methods working, but obviously that won't work because the files are too large.  Above is what's happening with the REST version.
    Can anyone see what's wrong with my REST calls - why is it being redirected as a GET request?  Is this even possible?

  • Sharepoint 2010 windows authendication(NTLM) is not working properly in IPad safari browser

    Hi Apple Team,
    Sharepoint 2010 windows authendication(NTLM) is not working properly in IPad safari browser. When I enter the user name and password the page is keep on loading it never completes the page load. I installed chrome browser on my  Ipad and opened my sharepoint windows authentication site it is working fine.
    Device : IPad 2
    OS     : IOS 7.0.6
    Thanks,
    Baskar

    Hi Suhasini,
    Please refer below links for your issues. It seems you are having problem with 32 bit and 64 bit component in office and IE.
    http://howididit-sharepoint.blogspot.in/2012/04/datasheet-view-not-working.html
    http://alpesh.nakars.com/blog/datasheet-view-does-not-work-in-sharepoint-2010/http://support.microsoft.com/kb/2266203
    Thanks and Regards, Shailesh B. Davara

  • Im using CloverETL to connec to SharePoint using REST API.

    my team is trying to get the List items in SharePoint using REST api. we are using the CloverETL tool using the REST api URL of the list and the credentials in SharePoint which has full control. Below is the rest command that we used.
    /_api/web/lists/getbytitle('title of list')/items 
    when viewing this URL on the same Internet explorer with a user log on to sharepoint the XML of the list is successfully showing. but when we try to load it on the CloverETL tool using the same SharePoint credentials it says access is denied. Also when viewing
    the URL to a browser with no other SharePoint sites open it also says access is denied. 

    how is the webapp configured, as far as authentication?
    Scott Brickey
    MCTS, MCPD, MCITP
    www.sbrickey.com
    Strategic Data Systems - for all your SharePoint needs

  • Sharepoint 2013 REST API calls with JASONP support

    We are working on sharepoint online integration with PHP Based application. We need to provide REST API call which supports JSONP.
    So is it possible to create new REST API Endpoints in Sharepoint online APP? Please sugggest right direction.

    Hi,
    In Office 365 (aka SharePoint Online), you can simply consume the SharePoint data through REST API or WS call,but cannot create your own endpoint.
    By default you can get the JSON response from the Office 365 REST API,its upto you to use the JSONP on your client compatibility not on SharePoint online REST API.
    Sometime before I tried, It didn't work for me.
    If you develop the AppModel, SPRequestor.js does the same job(overcome the Cross domain restriction) the what JSONP does.
    Murugesa Pandian| MCPD | MCTS |SharePoint 2010

  • SharePoint 2010 List View Web Part not showing for read-only users?

    Hello all,
    I have List View Webparts on my Blank Web Part page, and it's not showing for Read-Only users.
    Is this intended by Microsoft or is it a bug?
    Thank you!

    Hi,
    According to your post, my understanding is that the read only user could not see the list view web part.
    Per my knowledge, the issue may be cause that the user do not have the proper permission for the list.
    1. Check whether the user can access the list.
    2. Check whether the user can view all the items instead of partial items in the list.
    3. Check whether there are some fields refer to other lists or terms, especially the lookup field or managed metadata filed.
         If that is the case, make sure the user can access the lookup list.
    Thanks,
    Jason
    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]
    Jason Guo
    TechNet Community Support

  • Sharepoint break REST API connection (anonymous), possible bug in sharepoint

    Hello, I have following problem when I test Rest API using fiddler :
    As i see, server just close connection and does not return any status code at all. I expect to see at least 401 or 500 exception. Is that SharePoint
    bug, or this is expected behavior of the SharePoint? (according HTTP protocol & according SharePoint Rest API )
    Web application settings and site collection settings:

    Hi,
    Can you access the site from browser?
    If you can, would you mind providing more details about how you execute your request? Anonymous or with credential?
    How about setting the “Anonymous Access” to “Anonymous users can access Entire Web site”? It would allow anonymous users access the site.
    Feel free to reply if the issue still exists.
    Best regards
    Patrick Liang
    TechNet Community Support

  • HTTP 403 while using SharePoint Online REST API anonymously

    Hey Team,
    While using REST API to get list items (SharePoint Online) anonymously, I am getting HTTP 403 error:
    Request: http://server/site/_api/web/lists('guid')/items?$select=Title,Products/Name&$expand=Products/Name
    Response: HTTP 403 : System.UnauthorizedAccessException : Access denied. You do not have permission to perform this action or access this resource.
    Authenticated users do not face this issue. The list has anonymous access (View) enabled. Anonymous users can access the lists without facing any issue.
    I am not sure and could not able to find any link that says anonymous users can't use REST API to get SPListItems. Any input in this regard will be highly appreciated.
    Regards,
    Sanjay
    Either you love IT or leave IT

    Hi,
    From this documentation from MSDN about
    Reading data with REST, “Note that you cannot obtain an access token from code that is running on a browser client. You must obtain the access token from code that is running
    on a server”, it will only allow the authenticated users who has an access token to access the REST API.
    The two links below will provide more information about authentication in SharePoint 2013:
    http://msdn.microsoft.com/en-us/library/fp142382.aspx
    http://msdn.microsoft.com/en-us/library/jj687470.aspx
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • Trying to Access SharePoint 2013 Rest Api in HTML page but getting Mime Type Exception with Status Success

    I am trying to invoke the SharePoint Rest Api using HTML page. I have included the Access Control Allow Origin to the web.config file. I am getting Readty State 4 and
    Status Success but still I am getting the below error.
    Refused to execute script from 'http://<server>/_api//web/lists?callback=jQuery172045857910416089_1430217181282&_=1430217363882' because its MIME
    type ('application/atom+xml') is not executable, and strict MIME type checking is enabled.
        <script>
            $(document).ready(function () {
                $("#KMPDiscussions").click(function () {
                    //$.support.cors = true;
                    $.ajax({
                        url: "http://<server>/_api//web/lists",
                        dataType: "jsonp",
                        type: "GET",
                        method: "GET",
                        contentType: "application/javascript",
                        headers: {
                            "content-type":
    "application/json;odata=verbose",
                            "accept": "application/json;odata=verbose",
                        success: function onSuccess(data) {
                            alert("Inside Alert");
                        error: function onError(data){
                            alert("Error: "
    + data);
        </script>
    It always hits the error on callback.
    Is there any other way that I can invoke SharePoint Rest Api from a Cross Domain. Please Help.

    Hi Chris,
    Thanks for the reply,Here iam using different files to be uploaded in library.
    please find the below snapshot of json response and ULS logs.
    12/22/2013 18:31:15.02 w3wp.exe (0x3338) 0x401C SharePoint Foundation Files 
    abq2i High Could not get DocumentContent row: 0x80004005. 79f7629c-4694-c026-
    3349-2049178ee919
    12/22/2013 18:31:15.02 w3wp.exe (0x3338) 0x401C SharePoint Foundation Files 
    aiv4w Medium Spent 0 ms to bind -1 byte file stream 79f7629c-4694-c026-3349-
    2049178ee919 
    12/22/2013 18:31:15.02 w3wp.exe (0x3338) 0x401C SharePoint Foundation Files 
    aise3 Medium Failure when fetching document. 0x80070012 79f7629c-4694-c026-
    3349-2049178ee919
    12/22/2013 18:31:15.39 w3wp.exe (0x3338) 0x0D4C SharePoint Foundation 
    Database ab1a9 High Failed to get document content data.
    System.ComponentModel.Win32Exception (0x80004005): Cannot complete this function     at
    Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object
    ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) 
    79f7629c-76ab-c026-3349-2c9132b13e9a
    12/22/2013 18:31:15.39 w3wp.exe (0x3338) 0x4184 SharePoint Foundation 
    Database ab1a9 High Failed to get document content data.
    System.ComponentModel.Win32Exception (0x80004005): Cannot complete this function     at
    Microsoft.SharePoint.SPSqlClient.GetDocumentContentRow(Int32 rowOrd, Object
    ospFileStmMgr, SPDocumentBindRequest& dbreq, SPDocumentBindResults& dbres) 
    79f7629c-76ab-c026-3349-281167b6cd09
    Thanks again,
    Naresh.

  • Unable to Create Work Document in SharePoint 2010 by one user

    Hi,
       We have a unique issue. One user in our organisation is not able to create Word Document in our SharePoint environments.
    We have SharePoint 2010 Enterprise Edition and Office 2010 Professional Edition. This issue is faced by only one user in our organization. no issues for thousands of other users.
    We tested with our multiple SharePoint environments of different type of web applications. No where user is able to create Word Document using New Document functionality.
    User is able to create Excel, PowerPoint documents of all extensions. User is able to upload Word Document. User is able to Edit the existing word documents both in browser and Word client.
    Since it fails in all SharePoint environments, I am suspecting some common failure point like User Profile issue, CAL etc. Any suggestions from experts like you is highly appreciated.
    Thanks in advance.

    Hi Sivanandham,
    Could you please test two more options below with the user for narrowing down the issue scope?
    Create a new content type inheriting from content type Document and then upload a new word file as the template to the new content type.
    Change the word template for the content type with issue when the user creates a document from the content type.
    Please also check ULS log for more detailed error for further research.
    Best regards,
    Victoria
    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]

  • SharePoint 2013 REST API with C# - Mapping HTTP verbs to data operations - Requesting FormDigest

    SharePoint REST interface maps HTTP verbs to data operations. Endpoints that represent
    Read operations map to HTTP
    GET commands. Endpoints that represent update operations map to HTTP
    POST commands, and endpoints that represent update or insert operations map to HTTP
    PUT commands (Ref:
    How to: Complete basic operations using SharePoint 2013 REST endpoints).
    Is this mapping of HTTP verbs to CRUD operations a design paradigm or whether there are other technical reasons to this mapping
    Is is possible to use a GET command for say an update operation or a POST for say a read operation.If so, what consideration make the choice of either usage
    In the code snippet below FormDigest is requested as POST, why not use GET here?
    private static string GetFormDigest(string webUrl)
    //Validate input
    if (String.IsNullOrEmpty(webUrl) || String.IsNullOrWhiteSpace(webUrl))
    return String.Empty;
    //Create REST Request
    Uri uri = new Uri(webUrl + "/_api/contextinfo");
    HttpWebRequest restRequest = (HttpWebRequest)WebRequest.Create(uri);
    restRequest.Credentials = CredentialCache.DefaultCredentials;
    restRequest.Method = "POST";
    restRequest.ContentLength = 0;
    //Retrieve Response
    HttpWebResponse restResponse = (HttpWebResponse)restRequest.GetResponse();
    XDocument atomDoc = XDocument.Load(restResponse.GetResponseStream());
    XNamespace d = "http://schemas.microsoft.com/ado/2007/08/dataservices";
    //Extract Form Digest
    return atomDoc.Descendants(d + "FormDigestValue").First().Value;
    Thanks - Abhishek

    Many SharePoint REST api methods use parameters. It is much more efficient to post parameters than use query string variables.  Many times complex types are sent and these require json notation objects posted in the body. In the case of "_api/contextinfo,
    it is recommended to use POST rather than a GET when using sensitive data. GET responses can be cached. Since you are getting a security token back in that call it is recommended to use a POST.
    http://blog.teamtreehouse.com/the-definitive-guide-to-get-vs-post
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • SharePoint 2010 SQL Data View will not sort text columns

    Hello All,
    This is a comment not a question. 
    I was hitting my head against the wall for a couple hours with this one.  Data View worked fine until I tried to sort it by one of the test columns in the data.  After much research I figured that it had to be a data type issue.  Sure enough
    I found that the database table was still using the text data type. This has been deprecated but still works in SQL.  Not in SharePoint!  I hope this will help someone.
    Thanks,
    Michelle Metzger

    did you check this post, 
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5f8003a0-f845-4fb6-8b43-a0a234bcb1ea/the-execute-permission-was-denied-on-the-object-multiple-alerts?forum=sharepointadminprevious
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Outlook 2010 show all users presence not just those you added to Jabber?

    A customer has requested that in Outlook 2010 that Presence state is show for all users.  Not just those that have been added to their Jabber for Windows 9.7.1 client.
    Is there any way to do this?
    J4W 9.7.1
    IMP 10.0.1SU1

    So for all users in consideration; kindly check if the proxy address field in AD is populated with the following format or not;
    SIP:uid@sipproxydomainname  ... ( this is also the IM address and please note prefixing with the word SIP: is really important).
    Note this field will ensure whether you get the presence consistently or not. Refer to the following document for more information;
    http://www.cisco.com/c/en/us/td/docs/voice_ip_comm/jabber/Windows/9_7/JABW_BK_C4C679C9_00_cisco-jabber-for-windows-97/JABW_BK_C4C679C9_00_cisco-jabber-for-windows-97_chapter_01.html#JABW_TK_E83CC0F0_00
    Here is the section that you may want to refer to; "Enable Presence Integration with Microsoft Outlook"
    Please rate if you find this helpfull.

  • Sharepoint 2010 locking out users after changing user login

    We have changed several users logon UPN to match our proactis.com domain in azure / office 365 in preparation for sync our active directory.
    But since doing so it would appear that users are no longer getting access to our sharepoint 2010 server randomly. It prompts the user for their username and password. When they then enter this, it rejects it and locks their accounts.
    Has anyone seen this behavior before?

    Hi Proactis,
    Based on your description, my understanding is that the users with changed UPN cannot access SharePoint Online in Office 365.
    If I misunderstood, please feel free to correct me.
    This issue may be due to that the changes aren't synced by the Azure Active Directory Sync tool after you change the UPN of a user account to use a different federated domain.
    I recommend to run the following command to see if the issue still occurs:
    Set-MsolUserPrincipalName -UserPrincipalName [email protected] -NewUserPrincipalName
    [email protected]
    You can refer to the link below for detailed steps:
    http://support.microsoft.com/kb/2669550
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • Internet on Treo Pro (GSM) not working

    If I want to access the internet to browse webpages on my Treo Pro, I do not get anything while connecting through GPRS. When connected through Wifi it does work. I think it is not the internetconnection itself since I do receive my e-mails through G

  • Up loading photos are half black

    When up loading photos into iPhoto pictures are half black or 2 photos are combined together.

  • Log & Transfer - cannot import in

    My friend bought the same camcorder as me (Canon HF M31) so that he can sent me his SD card for me to edit his video. When I received his SD card,I tried to do a Log & Transfer using the highest level but I got this message: "No Name" contains unsupp

  • FM to find whether employee was on outdoor duty on a day

    Dear experts, is there any FM that could return whether for a given day the employee was on an outdoor duty? Also can the number of days for the same be obtained? Regards and New year wishes! Sumit Nene.

  • Installing xmldb

    Hi, After upgrading from 901 to 9201 i noted that the catqm script is commented out in catproc. However you need this script to create the dbms_xmlschema package. I just executed the script manually. Is this ok or are there still other things to run