Accessing External Data from SharePoint 2010

I want to access external data from my SharePoint site.
I'm told that I need to follow these two articles.
http://msdn.microsoft.com/en-us/library/ff953161.aspx
http://msdn.microsoft.com/en-us/library/ff625800.aspx
I followed the first article but I get this error when I open the external list in my SharePoint site:
"Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator."
I don't know how to write a custom code
BTW I have installed PowerPivot on my SharePoint server.
Can someone please help me? I need to do this very quickly.

Hi,
Can you please elaborate whether the data you are getting is from excel file or from database.
1. If you are populating it from excel , then you can use the Excel service, Power pivot etc mechanism.
2. If you are getting it from SQL database then you can use BCS service application and use the OOTB external list and content type to display the same in your home page.
Links of artcles are given below.
http://www.concurrency.com/blog/accessing-external-data-using-business-connectivity-services-in-sharepoint-2010/
http://msdn.microsoft.com/en-us/library/ff677562(v=office.14).aspx
Hope this will help.
Thanks and Regards, -- Santanu Kumar Choudhury ----- SharePoint 2007/10/13 Developer

Similar Messages

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

  • Displaying Access Data in SharePoint 2010/2013

    We have an old application. The website is designed using Front Page that retrieves data from an Access Database. The web site has a few fields. The user enters the information and hits the Submit Button. The application runs a SQL query and fetches
    data from Access DB. Data then shows up in a Grid.
    I want to create this solution in SharePoint. Still not sure whether the data should reside in SharePoint or in Access.
    What is the best approach?
    I should transfer data into SharePoint from Access. Then prompt the user to enter some data.
    Would InfoPath be a good choice?
    If I leave the data in Access, is Data View Web Part the preferred way to get data?
    Thanks so much!
    Mayank

    Hi Mayank,
    According to your description, my understanding is that you want to dispaly Access Database data in SharePoint.
    If your Access Database is a web database, you can publlish your Access database to SharePoint with the following method:
    http://blogs.technet.com/b/hub/archive/2010/11/08/publish-your-access-database-to-sharepoint.aspx
    https://support.office.com/en-in/article/Edit-or-publish-a-web-database-on-SharePoint-2010-af230551-9801-495d-87b0-75eed01073ac
    If your Access Database is a desktop database, you can publish your Access database to SharePoint with the following method:
    https://www.youtube.com/watch?v=cutjdCTdLQE
    Best Regards,
    Eric
    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]

  • Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013

    Issue with list saving data after sites upgrade from sharepoint 2010 to sharepoint 2013 
    Newform.aspx of list:-
    Custom List is not saving data sometimes in the new form after 15 minutes and only blank entry record got created without saving data, even though some columns are mandatory fields?

    Hello dcakumar,
    Sounds like a strang issue. If you can reproduce this can you see some errors in the ULS logs?
    - Dennis | Netherlands | Blog |
    Twitter

  • Calling an external web service from SharePoint 2010

    Hi Friends,
    Idea is to call an external web service from SharePoint 2010 list.
    Can we do this using visual studio 2010, how.
    another pointers, please advise.

    Hi,
    You can create Windows Communication Foundation (WCF) web services that you can consume as external content types from Microsoft Business Connectivity Services (BCS).
    For more information, you can refer to:
    http://msdn.microsoft.com/en-us/library/office/gg318615(v=office.14).aspx
    http://www.c-sharpcorner.com/UploadFile/Roji.Joy/connecting-to-a-web-service-using-business-connectivity-serv/
    http://blogs.msmvps.com/windsor/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Integrate SAP Business Data Into SharePoint 2010 Using BCS & LINQ

    One of the core concepts of Business Connectivity Services (BCS) for SharePoint 2010 are the external content types. They are reusable metadata descriptions of connectivity information and behaviours (stereotyped operations) applied to external data. SharePoint offers developers several ways to create external content types and integrate them into the platform. The SharePoint Designer 2010, for instance, allows you to create and manage external content types that are stored in supported external systems. Such an external system could be SQL Server, WCF Data Service, or a .NET Assembly Connector.
    Interoperability between SAP NetWeaver Portal and Microsoft SharePoint technologies is a very important topic in many companies. This session will take you on a tour from basic considerations to specific implementations of interoperability between SAP NetWeaver Portal and Microsoft SharePoint technologies.
    [PLAY SESSION - INTEROPERABILITY BETWEEN SAP NETWEAVER PORTAL AND MICROSOFT SHAREPOINT TECHNOLOGY|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/media/streamingmedia/events/sap-teched-2010/lectures/pmc202%20interoperability%20between%20sap%20netweaver%20portal%20and%20microsoft%20sharepoint%20technology/index.html]

    No need to answer, this was general information content for users.

  • How to copy Excel sheet data to SharePoint 2010 List?

    Hi,
       I need to export excel data to SharePoint 2010 list. I have created 22 columns in list which are of following Column types:
    Single line of text,
    Multiple line of text,
    Choice
    Number,
    Date,
    Person or Group.
    Now i need to export the excel data to SharePoint list.
    When iam trying to copy data from excel to List , it is showing as "The selected cells are read only".
    can someone guide on this to export spread sheet data to SharePoint list without importing Spreadsheet.
    Thanks in advance.
    Badri

    I've updated the example of using PowerShell to include a Person field (user field) and a choice field.
    The CSV file has the following columns:
    TRIP_NO
    VESSEL_NAME
    FLAG
    AGENT_NAME
    CURRENT_LOCATION
    RPT_DATE
    EMPLOYEE
    EMPLOYEE_TYPE
    #Get the CSV file and connect to the SharePoint list
    $vessellist = import-csv -Path C:\Temp\VesselInPortReport.csv
    $l = (Get-Spweb "http://devmy101").GetList("http://devmy101/Lists/smarInPort")
    #Get the lists EmployeeType field (choice)
    $employeeType = $l.Fields["EmployeeType"] -as [Microsoft.SharePoint.SPFieldChoice]
    #Loop through the items and add them to the list
    $r = 1;
    foreach($item in $vessellist)
    $ni = $l.items.Add();
    #Add the Title, using the rows VESSEL_NAME column
    $ni["Title"] = $item.VESSEL_NAME;
    #Add the "Date Recorded" field, using the csv rows "RPT_DATE" column
    [DateTime]$rd = New-Object System.DateTime;
    if([DateTime]::TryParse($item.RPT_DATE, [ref]$rd)){
    $ni["Date Recorded"] = $rd;
    #Add the csv rows "TRIP_NO" column to the new list items "Trip Id" field (SPFieldNumber)
    [Int64]$tn = New-Object System.Int64;
    if([Int64]::TryParse($item.TRIP_NO, [ref] $tn)){
    $ni["Trip Id"] = $tn;
    #Add some other text properties
    $ni["Flag"] = $item.FLAG;
    $ni["Agent Name"] = $item.AGENT_NAME;
    $ni["Current Location"] = $item.CURRENT_LOCATION;
    #Add user information
    $ni["employee"] = $w.EnsureUser($item.EMPLOYEE); #In this case, the $item.EMPLOYEE value from the spreadsheet is a persons name. Eg. "Matthew Yarlett"
    $employeeType.ParseAndSetValue($ni,$item.EMPLOYEE_TYPE); #In this case, the $item.EMPLOYEE_TYPE value from the spreadsheet is valid choice present in the EmployeeType list field. Eg. "Manager"
    #Update the item
    $ni.Update()
    Write-Host ([String]::Format("Added record:{0}",$r));
    $r++;
    Regards, Matthew
    MCPD | MCITP
    My Blog
    Please remember to click "Mark As Answer" if a post solves your problem or "Vote As Helpful" if it was useful.
    I just added a webpart to the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • How to show data from sharepoint list in mm dd yyyy format using Server Object Model

    In SharePoint 2010
    List "Employee", Colum Name "JoinDate" 
    has stored data in  (01/31/2014 12.00 PM) mm\dd\yyyy hr:mm PM format.
    How to display this data in mm\dd\yyyy only using C# on custom web part?

    //Write the code to read your list item
    SPListItem item = list.Items[0];
    //Get a DateTime object with the list column value
    DateTime date = Convert.ToDateTime(item["Date Column Name"]);
    String strDate = date.ToString("mm-dd-yyyy hh:mm tt");
    //you can also try ("dd/mmm/yyyy")
    http://sharepoint.stackexchange.com/questions/12820/safest-way-to-get-a-date-from-sharepoint-into-a-c-datetime-field-using-object

  • Cannot access external data , Failed to get the document information.

    Hi All,
    In my dashboard there are live office connections which has optional prompts defined in SAP BI. I have bound the cells to these prompts in live office object properties.
    There are no errors while refreshing the LO connections from excel sheet.
    But when i run that dashboard and give BLANK value for that prompt then it throws the error :
    Cannot access external data , Failed to get the document information. (LO 26315).
    Reply highly appreciated.
    Thanks & Regards,
    DJ

    Hi Hardik,
    I am building a similar solution as yours connecting webi reports to Bex queries and reading the webi data through live office into the dashboards. I am using almost similar versions as yours - BW 7.1 SP5, BO 4.1 SP4, Dashboards and Live Office SP4 versions. I am facing issues setting up the live office connections itself. I create the Live office connections within an excel and when I try to import this excel spreadsheet into my dashboard designer, it runs forever and crashes.
    Could you please list out the steps you performed to get the Dashboard to preview live office data? Do you have OLAP connections for BW cubes and created WebI reports using these connections or You created a Universe on top of the Bex Queries?
    It would be great if you could share the steps performed.
    With respect to your issue, check if the report engine service is running. Do you have any error message details apart from this error?
    Thanks.
    Regards,
    Rohini.

  • Create an InfoPath Form to Auto Populate Data in SharePoint 2010

    In Anne Stenberg's Blog from 2 Nov 2011 3:00 PM "How to Create an InfoPath Form to Auto Populate Data in SharePoint 2010" she artfully steps through how to create an InfoPath Form to Auto Populate Data. It works but... Jason, another user, 
    wrote whenever the form is opened again either to view or edit, it displays the current users information instead of the value of the person who completed the form in the first place.
    Anne's response was "Hi Jason - I had forgotten I had that problem, too. Change the Form Load rule's condition to
    DisplayName is blank and that should work."
    My problem is I can't find anything other than AccountName in "Select a Field or Group" [GetUserProfileByName (Secondary)] to use in the Condition statement that will correct the problem.
    Any help will be very appreciated.
    Thanks,
    Joe

    Hi Joe,
    I recommend to add one more condition in Form Load to make the form not be populated with current user’s information (You can change Title to another column which should not be blank when users create a new item).
    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]

  • BAPI name to access employee data from systems like CSS, ISP GTP etc

    Hi All,
    Could you please suggest which BAPIs we need to use to access employee data from systems like CSS, ISP GTP etc
    Regards,
    Poonam
    Moderator message: Welcome to SCN!
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 20, 2011 2:09 PM

    Hi All,
    Could you please suggest which BAPIs we need to use to access employee data from systems like CSS, ISP GTP etc
    Regards,
    Poonam
    Moderator message: Welcome to SCN!
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 20, 2011 2:09 PM

  • How to genetare reports(ssrs) with form library's data in sharepoint 2010

    Hi,
    How to genetare reports (ssrs) with form library's data in sharepoint 2010.I am saving infopath(2010) xml form data in form library.I have 500 and more forms in the form library( more forms can come in future).How to generate reports from this xml data (i
    want to make it automate)? Reports should get updated automatically when any changes made to data and if new form entered in the library.
    Please suggest possible solutions.I can not go for code base solution.( somthing SSIS, BCS or web service ....etc or anything else will be fine)
    Thanks in advance.

    Hi,
    According to your post, my understanding is that you wanted to generate SSRS report with form library in SharePoint 2010.
     In order to use the data stored on the InfoPath form, you need to add the controls on the form to be columns in SharePoint(This is the OOTB way without code).
    You can add the control during the publish process:
    Then when you create the SSRS report using the form library as the data source, you can use the fields just as the fields created in SharePoint.
    There is a tool called InfoPath DB in codeplex, you can have a look at it.
    http://infopathdb.codeplex.com/
    More reference:
    http://sharepoint.stackexchange.com/questions/28825/how-to-query-a-form-library-in-sharepoint-2010
    http://sharepoint.stackexchange.com/questions/38492/reporting-against-a-form-library
    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

  • Xcelsius SWF with QaaWS through SSL: Cannot access external data

    I am getting the following error while loading Xcelsius Dashboard in https mode.
    Error: Error #2170, Cannot Access External Data
    Connection Type: Query as a Web Service
    To access external data, add a cross-domain policy file to the external data web server.
    The same dashboard is working on the following conditions:
    1)     In http mode(both from a hosted website and from a clarity portlet)
    2)     When I click preview from Xcelsius designer.
    3)     When I run the .swf file directly.
    The error is coming only when I host the swf file into a website (or running from a clarity portlet).
    I am using the following cross-domain-policy file.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
         <site-control permitted-cross-domain-policies="all"/>
            <allow-http-request-headers-from domain="" headers="" secure="true" />
            <allow-access-from domain="*" secure="true" />
    </cross-domain-policy>
    Any comments will be appreciated here.
    Thanks,

    Hi
    I am facing the #2032 Error while running the Dashboard in portal developed using SAP Netweaver BW connection.
    Scenario:
      1>Actually our dashboard changes as fiscal year or budget type changes,so we have set trigger for the queries.
      2>for 3-4 trigger times the dashboard changes as required without any error but after that when we change fiscal year or budget type it shows the following error:
    Error:"Cannot Access External Data"
    { The BICS Remote web Service could not process your request.Open a CSN message on component BW-BEX-ET-XC and attach the technical details of the error from the following link:
    http://sgsgsav0s2006:5000/bicsremotedebug?geterrorticket=KSF-1324043982210(this link changes each time the error pops up}
    This error will popup and then the dashboard randomly displays data for some queries and for some it does not pull data.
    After reloading the dashboard it runs fine for 3-4 times after that it again shows the error.This happens for 4-5 times then dashboard stucks at Initializing Screen for 10 mins then #2032 error comes.Then we restart our developement portal and the Dashboard runs fine for some time.
    This happens even while triggering 4 queries.
    We have
       Xcelsius 2008 Sp3
       Flash Player 10
       SAP EHP 1 for SAP NetWeaver 7.0
       SAP_BW sp08
       SAP_ABA sp08
       SAP_BASIS sp08
    Dont know how to check Java Stack Version.
    Please reply soon,so that we can proceed.
    Thanks
    Edited by: chinmaypadhi on Dec 29, 2011 7:44 AM

  • Re: BICCannot Access External Data - Error

    Dear All,
    I am developing xcelsius dashboards (ver 2008 SP3 ) using SAP Netweaver connection to populate the data directly from a SAP BEx query.
    While refreshing the query in SAP portal with parameters, I am getting the following error.
    Please guide me to resolve this error.
    Error:
    Cannot Access External Data
    The BICS Remote Web Service could not process your request. Open a CSN message on component BW-BEX-ET-ER and attach the technical details of the error from the following link: http://bidev:50600/bicsremotedebug?geterrorticket=NEO-1279082559784
    Thanks
    Soma

    Hi,
    Is your problem resolved ??
    we are also getting same error with SAP BW NW Connection
    please reply as we have go live this friday
    thanks
    khyati

  • Cannot Access External Data - Dash error

    I'm facing some problems to access a Dashboard. This problem is intermittent and ,at the same time, one user can access and another get the error message "Cannot Access External Data ; Value of from=GetReportBlock_Sales_Dashboard_Gap_Analysis entered is incorrect.".
    No changes were made on this Dashboard and since middle of last year everything runs Ok.
    This dashborad uses QaaWs.
    The BW query runs OK and no incorrect data was found.
    All caches were cleaned.
    Could anyone suggest what should I do?
    Tks!

    Hi
    I would suggest to monitor the system when the error happens
    1. http traces as per SAP note 1231878 - How to trace a SWF file's data connectivity inside Internet Explor
    2. webi processing server traces on your BOE server as per SAP note 1335757 - Enabling and disabling tracing in XI 3.1 for specific services without requiring a restart
    3. QAAWS traces as per SAP note 1199027 - How to turn on log4j logging for Query As A Web Service (QAAWS) / Live Office
    Regards
    F,

Maybe you are looking for

  • How to count number of Java Web Start application downloads?

    Hello, The title says it all. Is there a reliable and secure way to get the number of times my application jars have been downloaded? Reason: I am trying to determine whether a business model that charges (say) 1 cent, each time a jar is downloaded,

  • Preview in browser stopped working

    Running CS4 version 10 build 4117 and today when I went to do some work I cannot use "preview in browser" Edit List has both firefox and IE listed but when I click the globe it tells me no browsers selected. tried removing browsers and re-selecting t

  • Can an external video camera connect through a Mac to Apple TV?

    The business has a conference room that they would like use for video conferencing. They have a flat screen TV and asked if they could mount a video camera above the TV, that is connected to a MacBook Pro or MacMini, and use the external camera for v

  • SMARTFORM CRM - access to PCAT item - UPDATED

    Hi, I need to be able to access some details from the pcat area on a smartform. We are using CRM 5.0. I am looking for an example of how you would config the smartform to connect to the pcat area and return a customised description. We need to do thi

  • New Session on click of link

    I m having a scenario in which a Admin logins , and searches for other users of the website, the admin can modify the profile of the user, when he clicks the link a new window should open with user login , i have tired out URL rewriting using respons