Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150848 | Jan 22,2020 03:50 AM UTC | Feb 25,2020 12:00 PM UTC | WinForms | 20 |
![]() |
Tags: TreeViewAdv |
Query |
Response |
Thank you very much. I have actually figured it out. I added an if clause in the GetTokenAsync method checking to see if an account is logged into (using GetAccountsAsyc), and if so, it calls AcquireTokenSilentAsyc which works great. |
We are glad that you if could achieve your requirement. |
I do have a fairly related question though in regards to using the graph API. XlSIO having compatibility with the API is awesome! Is there also compatibility between the treeViewAdv and Graph?
I currently load a network drive (such as C: drive) into that control using FileInfo. Is it possible to load the control with a OneDrive directory?
|
Could you please let us know whether the requirement is to load the contents of Excel file downloaded from the One Drive as nodes in the TreeViewAdv and then after performing some modifications in the nodes in TreeViewAdv, you want to load the modified TreeViewAdv as Excel file and upload back to One Drive.
Also please let us know incase if we have misunderstood the query in TreeViewAdv as it will help us to further proceed on this. |
var stream1 = await graphClient.Me.Drive.Root.Children.Request().GetAsync();
|
var stream2 = await graphClient.Me.Drive.Root.ItemWithPath("Notebooks").Children.Request().GetAsync();
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.