Welcome to Office 365 APIs | Microsoft Docs
Skip to main content

Office 365 APIs

This site contains the documentation for Office 365 REST APIs exposed on the OneNote and Outlook endpoints. The documentation is no longer actively updated. It is here for your reference, in case you have already included any of the API in your project.

Office 365 services, such as OneNote, Outlook, Excel, OneDrive, Microsoft Teams, Planner, and SharePoint, are now exposed in Microsoft Graph. Microsoft Graph is a unified API endpoint for accessing data across Microsoft 365, which includes Office 365, Enterprise Mobility, and Security and Windows services. It provides a simplified developer experience, with one endpoint and a single authentication token that gives your app access to data across all these services.

Our recommendation:

  • If you are starting a new app, please use Microsoft Graph.
  • If you are maintaining an existing project, use this documentation set for reference. In addition, plan your move to the latest APIs in Microsoft Graph to take advantage of all the new functionality and innovation there.
  • If you are adding new functionality to an existing project, integrate that new functionality by using Microsoft Graph.

With Microsoft Graph, you can access Office 365 data and more, from solutions across mobile, web, and desktop platforms. So whether you're building web applications by using .NET, PHP, Java, Python, or Ruby on Rails, or creating apps for the Universal Windows Platform (UWP), iOS, Android, or on another device platform, it's your choice.

In this section

 none
Cascading drop-down lists - a sorry saga! RRS feed

  • Question

  • WSS 3.0

    My client has asked for some functionality that I think can only be achieved in a web part.

    I need to show a drop-down list of Products (this list comes from a database - and I can populate the drop-down fine).  When the user selects a Product, a second drop-down needs to show associated Sub Products.  I made the first drop-down AutoPostback=True, but I couldn't figure out how to store the value from the drop-down before it was recreated in the Createchild

    It doesn't seem possible in a normal web part, so I tried bundling the two drop-downs as a user control and sticking it in the Son Of SmartPart but although the control rendered, no code behind was firing so the drop-downs were empty.

    This seems like it ought to be easy, but I'm finding it difficult (but I'm not really a SharePoint developer).

    I've looked long and hard but most solutions seem to depend on SharePoint lists rather than data from databases.

    Any ideas gratefully received.

    Edward

    Friday, March 16, 2012 4:06 PM

Answers

  • I apologise for wasting everyone's time!  There should be a law against numpties like me posting on forums.

    Turns out that the problem was that I'd bound the dropdown list to a dataset instead of iterating through the rows and adding the items.  I now have a working cascading drop down web part built on database calls.  My client might even pay me.

    Anyway, thank you for your attention to my inattention.

    Edward

    Monday, March 19, 2012 9:06 AM

All replies

  • you can work with BDC to achive the case cade drop down list while accessing the data from external database.

    MCTS,MCPD Sharepoint 2010. My Blog- http://sharepoint-journey.com
    If a post answers your question, please click "Mark As Answer" on that post and "Vote as Helpful


    Friday, March 16, 2012 6:16 PM
  • HI,

    IF you can use MOSS 2007 you can use BDC to achieve it. If SPS 2010 you can do this with external content type. However with WSS 3 these two functionalities are  not available.

    However if you have designed your logic through webpart code it should workout for you.

    Do share your code and we will check the issue it has


    Thanks, Rahul Rashu

    Friday, March 16, 2012 8:39 PM
  • I apologise for wasting everyone's time!  There should be a law against numpties like me posting on forums.

    Turns out that the problem was that I'd bound the dropdown list to a dataset instead of iterating through the rows and adding the items.  I now have a working cascading drop down web part built on database calls.  My client might even pay me.

    Anyway, thank you for your attention to my inattention.

    Edward

    Monday, March 19, 2012 9:06 AM
  • Just a tip to let you know there actually is solutions available that can help you achieve this in lists: http://spservices.codeplex.com/wikipage?title=$().SPServices.SPCascadeDropdowns&referringTitle=Documentation
    Monday, March 19, 2012 7:49 PM
Welcome to Office 365 APIs | Microsoft Docs
Skip to main content

Office 365 APIs

This site contains the documentation for Office 365 REST APIs exposed on the OneNote and Outlook endpoints. The documentation is no longer actively updated. It is here for your reference, in case you have already included any of the API in your project.

Office 365 services, such as OneNote, Outlook, Excel, OneDrive, Microsoft Teams, Planner, and SharePoint, are now exposed in Microsoft Graph. Microsoft Graph is a unified API endpoint for accessing data across Microsoft 365, which includes Office 365, Enterprise Mobility, and Security and Windows services. It provides a simplified developer experience, with one endpoint and a single authentication token that gives your app access to data across all these services.

Our recommendation:

  • If you are starting a new app, please use Microsoft Graph.
  • If you are maintaining an existing project, use this documentation set for reference. In addition, plan your move to the latest APIs in Microsoft Graph to take advantage of all the new functionality and innovation there.
  • If you are adding new functionality to an existing project, integrate that new functionality by using Microsoft Graph.

With Microsoft Graph, you can access Office 365 data and more, from solutions across mobile, web, and desktop platforms. So whether you're building web applications by using .NET, PHP, Java, Python, or Ruby on Rails, or creating apps for the Universal Windows Platform (UWP), iOS, Android, or on another device platform, it's your choice.

In this section