# Onedrive related context menu items

**URL:** <https://resource.dopus.com/t/onedrive-related-context-menu-items/42171>\
**Category:** Help & Support\
**Created:** [September 8, 2022, 2:24am UTC](https://resource.dopus.com/t/onedrive-related-context-menu-items/42171 "2022-09-08T02:24:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![slouw](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@slouw](https://resource.dopus.com/u/slouw)\
**Post date:** [September 8, 2022, 2:24am UTC](https://resource.dopus.com/t/onedrive-related-context-menu-items/42171/1 "2022-09-08T02:24:17Z")

</div>

Not sure if I should have added to this blog  
[How can I add OneDrive's Share & related items to Dopus Context Menu?](https://resource.dopus.com/t/how-can-i-add-onedrives-share-related-items-to-dopus-context-menu/40550)  
Or start a new topic?  
Please advise so I know for next time?

Reading the blog above I see there is a fix in [Directory Opus 12.27.2 (Beta):  
Fix for OneDrive context menus not appearing when Files On Demand is turned off.](https://resource.dopus.com/t/directory-opus-12-27-2-beta/41255)

In my case certain context menu items are missing though I have Onedrive **Files on Demand** enabled. (Box 1 in pretty pic below)  
The context menu items I am after are shown in Box 3.

I have just upgraded to current [Directory Opus 12.29](https://resource.dopus.com/t/directory-opus-12-29/42089) but no change.

Should they be appearing in my Opus context menu?  
I have a very bespoke context menu as you can see.  
Most of that customisation predates Onedrive.  
Still maybe I have broken something?  
Thanks for any reply.....

 ![image](https://resource.dopus.com/uploads/default/original/3X/8/5/854d44268f5b87a7aa843ebf73f013de693f7605.png)

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [September 8, 2022, 2:26am UTC](https://resource.dopus.com/t/onedrive-related-context-menu-items/42171/2 "2022-09-08T02:26:13Z")

</div>

Do they appear if you hold the shift key down?

---

<div class="post-metadata">

**Author:** ![slouw](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@slouw](https://resource.dopus.com/u/slouw)\
**Post date:** [September 8, 2022, 2:30am UTC](https://resource.dopus.com/t/onedrive-related-context-menu-items/42171/3 "2022-09-08T02:30:38Z")

</div>

Indeed they do

 ![image](https://resource.dopus.com/uploads/default/original/3X/a/b/abf76e3888966068ad3d5f610b6ed43286381bf5.png)

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [September 8, 2022, 2:45am UTC](https://resource.dopus.com/t/onedrive-related-context-menu-items/42171/4 "2022-09-08T02:45:59Z")

</div>

So presumably you've turned off Windows context menu items by default using the **Preferences / Miscellaneous / Windows Integration / Hide Windows items on file context menus** option. You'll need to add a command to the context menu to specifically add the OneDrive menu items if you want them always visible.

Try adding this command to the context menu (All Files & Folders is probably where you want to put it):

`FileType CONTEXTMENU {CB3D0F55-BC2C-4C1A-85ED-23ED75B5106B} CONTEXTFORCE`

---

<div class="post-metadata">

**Author:** ![slouw](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/898d66/32.png) [@slouw](https://resource.dopus.com/u/slouw)\
**Post date:** [September 8, 2022, 4:00am UTC](https://resource.dopus.com/t/onedrive-related-context-menu-items/42171/5 "2022-09-08T04:00:54Z")

</div>

Yes indeed it turns out I do have Windows context menu items turned off.  
And blow me down your context menu entry gives me precisely what I need!  
Amazing! Stupendous!  
Thank you Jon wonderful.....

 ![image](https://resource.dopus.com/uploads/default/original/3X/2/f/2fe79e8721cd3d786e744b5514c281cda74769f0.png)

I see there is an internal command [FileType](https://www.gpsoft.com.au/help/opus12/index.html#!Documents/FileType_Command.htm) and the **CONTEXTFORCE** switch specifically overrides the **Hide Windows items on file context menus** option you have mentioned above.

For those who have the stomach here are the switches used in the command:

 ![image](https://resource.dopus.com/uploads/default/original/3X/4/3/436406cf8bb2ec6fcdfb9ca26f032bf77862e813.png)

What exactly is a GUID?  
Well I am reading here [Tip: Organise and Speed-Up Context Menus](https://resource.dopus.com/t/tip-organise-and-speed-up-context-menus/1204) to try and find out....

thanks again Jon appreciate it

---

<div class="post-metadata">

**Author:** ![Jon](https://resource.dopus.com/user_avatar/resource.dopus.com/jon/32/12713_2.png) [@Jon](https://resource.dopus.com/u/Jon)\
**Post date:** [September 8, 2022, 4:09am UTC](https://resource.dopus.com/t/onedrive-related-context-menu-items/42171/6 "2022-09-08T04:09:20Z")

</div>

GUID = Globally Unique IDentifier, basically a very very very big number that uniquely identifies something (anything), in this case a context menu extension.
