To open a document from your SharePoint repository in the
Oxygen XML Author Component applet, add
a new custom action to the contextual menu of your Documents Library:
- Open your SharePoint site in Microsoft SharePoint
Designer®.
- Click Lists and Libraries in the
Navigation pane.
- Open the Documents library.
- Go to the Custom Actions panel.
- Click the New button to add a new custom action.
- Give the action a name (for example, Open In Oxygen XML Author).
- In the Select the type of action section, select the
Navigate to URL option and enter the following
text:
javascript:openInAuthor("{ItemUrl}")Note: This
translates to a call to the openInAuthor(itemUrl) JavaScript function
defined in the HTML fragment that was embedded in the Script Editor Web Part. The
{ItemUrl} parameter will be expanded to the URL of the list item that
the action is invoked on.
- Click the OK button to save the action.