Onenote for windows 10 not syncing6/17/2023 ![]() In my case, the dummy file was only a log showing the date of the deletion ![]() This is not acceptable in my case because this must be done programmatically from my C++ application.Īfter a lot of (stupid) research/trials/errors (especially manually changing the OneDrive settings), the only solution I found is quite simple (and stupid) : update my C++ code to :Ĭheck that a dummy file exists in the OneDrive folder the name of this file is equal to the hostname of the user's machine, so there will be as many dummy file as there are users using my application on their machines. ![]() On the web, there are many suggestions to work around this problem but all these solutions recommend to resync OneDrive manually. This seems to be a synchronization problem. OneDrive does not always immediately delete a file that has been programmatically deleted in the OneDrive folder located on a client PC. ![]() If not, I feel like this is a massive limitation of the Graph API service that seriously hampers ability to engage as a 3rd party developer w/ Microsoft products. Is there any way to do this? I'll even accept relatively hacky options. Either syncing with the cloud has to happen constantly, or it must be possible to trigger syncing locally after I've made a sequence of notebook changes using the graph API. In order to make any interactive OneNote add-on with the Graph API, I the developer need an alternative. OneNote Windows 10 synchronizes very regularly with the cloud representation if one is currently changing content on a local notebook, but synchronization nonetheless happens irregularly and far from realtime (at least w/ respect to the Graph API), especially if a user is waiting or idle. As such, to impact the state of my OneNote Windows 10 Desktop application, the Windows 10 app must synchronize with the corresponding cloud-based representation. The Graph API that exists for programmatically controlling OneNote is a web service that affects some cloud-based representation of the user's OneNote notebooks.
0 Comments
Leave a Reply. |