When the "New" menu item on a Document Library expands the default seems to be to list the document templates for that list and the "New folder" as the final element (if "New folder" has not been disabled). I have added a new custom menu item but it is displayed after "New folder" and I would like it to be shown at index 0 in order to be the default action if the user clicks "New" rather then expanding the menu.
I have tried to delete all document templates and disabling the "create folder" menu item, adding the custom menu item and then enabling the "create folder" menu, but then "Create folder" is insert before my custom menu item...doh.
Is there a way to ensure that my custom menu item remains at index 0 or a way to ensure that my custom menu item is the default menu item?
TIA