How to hide "add to favorites" button on folder right click context menu ?

Add-in Express™ Support Service
That's what is more important than anything else

How to hide "add to favorites" button on folder right click context menu ?
How to hide "add to favorites" button on folder right click context menu ?  
alvin chan




Posts: 30
Joined: 2019-10-07
Hi Support, please advise how to hide the "Add to Favorites" button on right click context menu ?

I use idmso "ToggleShowInFavorites" is not working .

Please refer the screenshot .
[img]https://drive.google.com/open?id=1jLij6flpM7INy4iJ5itTam77wdzHMXGq[/img]


Please advise .
Posted 31 Oct, 2019 02:52:24 Top
Andrei Smolin


Add-in Express team


Posts: 16991
Joined: 2006-05-11
Hello Alvin,

I've opened outlookexplorercomtrols.xlsx and filtered the Control Name column using "favorites". The controls shown in the ContextMenuFolder context menu are: AddToPublicFolderFavorites and ToggleFolderShowInFavorites. Try to use the second one.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 31 Oct, 2019 05:12:43 Top
alvin chan




Posts: 30
Joined: 2019-10-07
Hi Andrei

has tried both ,but not working , please advise.
Posted 31 Oct, 2019 05:20:20 Top
Andrei Smolin


Add-in Express team


Posts: 16991
Joined: 2006-05-11
Hello Alvin,

ToggleFolderShowInFavorites works for me. Does the Ribbons property of your ADXRibbonCommand contains OutlookExplorer in the Ribbons property.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 31 Oct, 2019 06:27:23 Top
Andrei Smolin


Add-in Express team


Posts: 16991
Joined: 2006-05-11
Ah, what works for me is disabling that control using an ADXRibbonCommand having these properties:
Enabled = False
IdMso = ToggleFolderShowInFavorites
Ribbons = OutlookExplorer

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 31 Oct, 2019 06:29:28 Top
alvin chan




Posts: 30
Joined: 2019-10-07
Hi Andrei

Great ,it is working, Thank you .
Posted 31 Oct, 2019 20:39:55 Top
Andrei Smolin


Add-in Express team


Posts: 16991
Joined: 2006-05-11
You are welcome.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 01 Nov, 2019 02:39:00 Top