Is it possible to show OneDrive file status?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
xpanta
Posts: 3
Joined: 10 Aug 2018 08:04

Is it possible to show OneDrive file status?

Post by xpanta » 10 Aug 2018 08:41

Hi, I am new to XYplorer and I am extremely happy with my decision. Money well spent.

However, I have one question. Is there a way to show on the Panel which files have been synced and which haven't with OneDrive? In Windows Explorer when I click on any of MS OneDrive folders I see there is a "Status" column that shows a "cloud" icon (the file is accessible only when online), a green icon (file is accessible on my device), etc. Is it possible to have this information available on XYplorer, too?

Chris

jupe
Posts: 1330
Joined: 20 Oct 2017 21:14
Location: 20H2 x64

Re: Is it possible to show OneDrive file status?

Post by jupe » 10 Aug 2018 08:57

Yes, you can show the same Icons in a Custom Column, here are instructions: viewtopic.php?f=3&t=18502&p=157994#p157988

xpanta
Posts: 3
Joined: 10 Aug 2018 08:04

Re: Is it possible to show OneDrive file status?

Post by xpanta » 10 Aug 2018 09:17

wow! Thanks, it worked! This is awesome! :-)
jupe wrote:Yes, you can show the same Icons in a Custom Column, here are instructions: viewtopic.php?f=3&t=18502&p=157994#p157988

jupe
Posts: 1330
Joined: 20 Oct 2017 21:14
Location: 20H2 x64

Re: Is it possible to show OneDrive file status?

Post by jupe » 10 Aug 2018 11:00

You probably already realize this, but just in case you are interested, you can also make it so that this extra column is only visible when you are in the OneDrive path via FVS.

https://www.xyplorer.com/tour.php?page=fvs

matthack
Posts: 11
Joined: 12 Feb 2019 11:04

Re: Is it possible to show OneDrive file status?

Post by matthack » 24 Feb 2019 11:23

Does this script still work? I can't get it to show the Icons

jupe
Posts: 1330
Joined: 20 Oct 2017 21:14
Location: 20H2 x64

Re: Is it possible to show OneDrive file status?

Post by jupe » 24 Feb 2019 11:28

Yes it still works, if you recently upgraded to 1809 Windows, then you need to adjust the script as indicated in the other topic here:

viewtopic.php?f=3&t=18502&p=157994#p162730

matthack
Posts: 11
Joined: 12 Feb 2019 11:04

Re: Is it possible to show OneDrive file status?

Post by matthack » 24 Feb 2019 18:56

jupe wrote:
24 Feb 2019 11:28
Yes it still works, if you recently upgraded to 1809 Windows, then you need to adjust the script as indicated in the other topic here:

viewtopic.php?f=3&t=18502&p=157994#p162730
Thanks for the reply - I still can't get it to work. Even with the 303 adjustment.
Here is what i have done so far:

1. Copied the icon file to my script folder
2. Put "snippet;" in my adress bar
3. Pasted the provide code
4. Changed 304 to 303
5. Added the custom column

Any other ideas? My OS language is german.

Thanks in advance!

highend
Posts: 9336
Joined: 06 Feb 2011 00:33

Re: Is it possible to show OneDrive file status?

Post by highend » 24 Feb 2019 19:14

Post the output of:

echo <prop #303>;

(paste it into the address bar and hit enter)...
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

matthack
Posts: 11
Joined: 12 Feb 2019 11:04

Re: Is it possible to show OneDrive file status?

Post by matthack » 24 Feb 2019 21:13

https://imgur.com/a/Mmd5rKJ
Same thing with 303 and 304 :eh:

highend
Posts: 9336
Joined: 06 Feb 2011 00:33

Re: Is it possible to show OneDrive file status?

Post by highend » 24 Feb 2019 21:41

Get the script from this post (viewtopic.php?p=150223#p150223) and execute it (e.g. via Menu - Scripting - Load Selected Script File) and look over all the properties and see if you find the OneDrive ones...
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

matthack
Posts: 11
Joined: 12 Feb 2019 11:04

Re: Is it possible to show OneDrive file status?

Post by matthack » 25 Feb 2019 18:34

Thanks for the reply - it's 303. I changed the script, but the column is staying empty. Any other ideas?

jupe
Posts: 1330
Joined: 20 Oct 2017 21:14
Location: 20H2 x64

Re: Is it possible to show OneDrive file status?

Post by jupe » 25 Feb 2019 19:04

My guess is that you keep following the steps from start to finish, whereas you had already added the column incorrectly the first time, what you need to do is right click the Status column header then select configure custom column, and then update the script in there instead, what I am guessing you have been doing is adding multiple snippets but not updating the actual column you have visible.

2019-02-26_080604.png
2019-02-26_080604.png (6.98 KiB) Viewed 1860 times


If you have already done the above and it is still not working, a couple questions, I assume you extracted the icons from the zip file? Have Files-On-Demand enabled ? Is the return of prop #303 in german or english?

matthack
Posts: 11
Joined: 12 Feb 2019 11:04

Re: Is it possible to show OneDrive file status?

Post by matthack » 27 Feb 2019 13:01

I have found the problem - I have to use the German language state! I just guessed the translation of the first state and it worked. Now I just have get a list of the other two states...

Any ideas?

jupe
Posts: 1330
Joined: 20 Oct 2017 21:14
Location: 20H2 x64

Re: Is it possible to show OneDrive file status?

Post by jupe » 27 Feb 2019 13:09

We have already told you how to check, set each state to a file one by one then select it and enter in the address bar, echo <prop #303>; no need for guessing, when you do get the states figured out, please post the 3 german states in the other topic here: viewtopic.php?f=3&t=18502&p=157994#p162745 so we can hopefully avoid having to go through all this again for the next new german user, and I've updated the custom column script to work on both Windows versions without assuming the user would properly read the other topic and modify it themselves. (you keep using your already edited version though)

LukeDukem
Posts: 4
Joined: 07 Sep 2019 13:51

Re: Is it possible to show OneDrive file status?

Post by LukeDukem » 07 Sep 2019 14:31

Hi guys.
I have problems to show the correct OneDrive Status in xyplorer. The script and custom column works fine so far, and all icons are in the xy icons folder.
But the file status is wrong. I'm trying a few days now to solve this... using newest xyplorer version + german windows 10.

I discovered the german status text by adding a custom column with text output and the script:

Code: Select all

return property("#303", <cc_item>)
It says for every file: "Synchronisierung ausstehend" / english: "Synchronization pending"
absolutely independent of whether the files or folders are offline or online available.

Is there another posibility / method, to get the (correct) file onedrive status?

Post Reply