How to Get All the Top Level Folders From the List in Share. Point 2. 01. 3 Online Using REST APIIn this article you will see how to get all the top level folders from the list using the REST API in Share. Point 2. 01. 3 Online. Introduction Share. Point 2. 01. 3 introduces a Representational State Transfer REST service that is comparable to the existing Share. Point client object models. Get Active Window Handle Mfcu' title='Get Active Window Handle Mfcu' />There was a recent newsgroup posting about asynchronous sockets in separate threads. I pointed out many failures in the code, thinking it had been written by the. The base class from which you derive a Windows application object. Syntax class CWinApp public CWinThread Members Public Constructors. Get Active Window Handle MfcclubThis allows the developers to interact remotely with Share. Point data by using any technology that supports REST web requests. This means that developers can perform Create, Read, Update and Delete CRUD operations from their apps for Share. Point solutions and client applications, using REST web technologies and standard Open Data Protocol OData syntax. Installing Mac Os X On New Hdd Installation. In this article you will see the following Create an app using the NAPA Tool in Share. Point 2. 01. 3 Online. Get Active Window Handle Mfc-l2740dw' title='Get Active Window Handle Mfc-l2740dw' />Get Active Window Handle Mfc ClubCross Domain Requests. Get all the top level folders from the list using the REST API. Endpoint URI http sitenameapiwebListsGetbytitledocumentsrootfolderfolders. Note If you are making cross domain requests then you need to add SP. App. Context. Sitetarget and targetlt host web url to the endpoint URI. HTTP Request GET Read a Resource. You will want to do the following before the static text control is shown on the parent window. Get a handle to the window CWnd pwnd GetDlgItemIDCLABEL. For specific uses, the Microsoft Foundation Class Library provides several classes derived from CDC. CPaintDC encapsulates calls to BeginPaint and EndPaint. Create an app using the NAPA Tool Navigate to the Share. Point 2. 01. 3 Online site. Click on Site Contents in the quick launch bar. Click on Napa Office 3. Development Tools. Click on Add New Project. Select App for Share. Point, enter the Project name and then click on Create. Permissions. Ensure appropriate permission is provided to access the content. Click on the Properties button then click on Permissions. Set the required permission to access the content. Default. aspx. Replace the contenst of Default. The following 4 lines are ASP. NET directives needed when using Share. Point components lt Page InheritsMicrosoft. Share. Point. Web. Part. Pages. Web. Part. Page, Microsoft. Share. Point, Version1. Cultureneutral, Public. Key. Token7. 1e. Master. Page. Filemasterurldefault. LanguageC lt Register Tag. PrefixShare. Point NamespaceMicrosoft. Share. Point. Web. Controls AssemblyMicrosoft. Share. Point, Version1. Cultureneutral, Public. Key. Token7. 1e. Register Tag. PrefixUtilities NamespaceMicrosoft. Share. Point. Utilities AssemblyMicrosoft. Share. Point, Version1. Cultureneutral, Public. Key. Token7. 1e. Register Tag. PrefixWeb. Part. Pages NamespaceMicrosoft. Share. Point. Web. Part. Pages AssemblyMicrosoft. Share. Point, Version1. Cultureneutral, Public. Key. Token7. 1e. The markup and script in the following Content element will be placed in the lt head of the page lt asp Content Content. Place. Holder. IDPlace. Holder. Additional. Page. Head runatserver lt script typetextjavascript srchttps ajax. Queryjquery 1. 9. Add your CSS styles to the following file lt link relStylesheet typetextcss href. ContentApp. Add your Java. Script to the following file lt script typetextjavascript src. ScriptsApp. Content lt The markup in the following Content element will be placed in the Title. Area of the page lt asp Content Content. Place. Holder. IDPlace. Holder. Page. Title. In. Title. Area runatserver Page Titlelt asp Content lt The markup and script in the following Content element will be placed in the lt body of the page lt asp Content Content. Place. Holder. IDPlace. Holder. Page. Title. In. Title. Area runatserver REST API Exampleslt asp Content lt The markup and script in the following Content element will be placed in the lt body of the page lt asp Content Content. Place. Holder. IDPlace. Holder. Main runatserver lt div lt p lt b Documents Top Level Folderslt b lt br lt select styleheight 3. Top. Level. Folders lt select lt p lt div lt asp Content App. Replace the contenst of App. URIComponent get. Query. String. ParameterSPHost. Url appweburl decode. URIComponent get. Query. String. ParameterSPApp. Web. Url var scriptbase hostweburl layouts1. Scriptscriptbase SP. Request. Executor. Page function get. Query. String. Parameterparam. To. Retrieve var params document. URL. split1. Param paramsi. Param0 param. To. Retrieve return single. Param1 function load. Page get. List. Top. Level. Folders function get. List. Top. Level. Folders var executor executor new SP. Request. Executorappweburl executor. Async url appweburl apiSP. App. Context. SitetargetwebListsGetbytitledocumentsrootfolderfolderstarget hostweburl , method GET, headers Accept applicationjson odataverbose , success get. Top. Level. Folders. Success. Handler, error get. Top. Level. Folders. Error. Handler function get. Top. Level. Folders. Success. Handlerdata var json. Object JSON. parsedata. Top. Level. Folders document. Element. By. Idselect. Top. Level. Folders if select. Top. Level. Folders. Child. Nodes while select. Top. Level. Folders. Nodes. length 1 select. Top. Level. Folders. Childselect. Top. Level. Folders. first. Child var results json. Object. d. results for var i 0 i lt results. Option document. Elementoption select. Option. value resultsi. Name select. Option. Text resultsi. Name select. Top. Level. Folders. Childselect. Option function get. Top. Level. Folders. Error. Handlerdata, error. Code, error. Message alertCould not get the top level folders from list error. Message Deploy the App. Click on Run Project. The app will be packaged, deployed and launched. Click on Click here to launch your app in a new window. Click on Trust it. All top level folders from the list are displayed. Summary Thus in this article you saw how to get all the top level folders from the list using the REST API in Share. Point 2. 01. 3 Online.