Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Adding Popup Menu Options
Last Post 03/23/2009 11:01 PM by Peter Donker. 1 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
pmarkiewicz
New Member
New Member
Posts:47


--
03/20/2009 5:49 PM

I have not delved into the DMX API yet, so I wondered is it open enough to include support for adding popup menu options?  E.g. if I have an html file, and I want to open it in the current web browser, I know that by visiting the file via its WebDAV URL will display it.  So having an option to "View current file" would be pretty useful to me.

Also, I might want to develop different web applications which consume the contents of a particular file for viewing.  For example, if I have a KML file, and I want to right-click on it to display it in a Google Earth web plugin, would I be able to add such an option?

I ask these questions without knowledge of the API because I do know that it took an upgrade of DMX to be able to right-click and open Word 2007 documents in Word.  But I don't know if that's because the code that generates that menu is proprietary or because it was easier for the upgrade to do that versus users customizing the menu.

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
03/23/2009 11:01 PM
Hi Patrick,

Take a look at the following file:

DesktopModules/Bring2mind/DMX/Resources/DefaultMenus/DefaultMenu.resources

which is copied to

Portals/[id]/DMX/Menu/

This is an XSL file that generates the menu. To see the XML that it operates on, log in as host and go to Main Options and select 'Debug mode'. Restart the application and check the following file that appears when you click in DMX

Portals/[id]/DMX/Temp/LastRequestedMenu.Xml

That should give you some pointers in the right direction.

Peter
You are not authorized to post a reply.