Поделиться через


How to Open a Web Browser

 

Applies To: System Center 2012 SP1

You can configure a ribbon button to open a web browser and browse to a specific web page. You can use this to point users or your add-in to your company webpage, support forums, or your support information webpage. A “web browser add-in” does not require any coding and is created by defining and configuring a ribbon entry.

To configure a ribbon button to open a web browser

  1. Inside the root XML node of the manifest file, create a node named ActionAddIn.

  2. Add an attribute named Contexts to the action node, and set the value to one or more context values. For more information about which context values can be used, see Context values.

  3. Add an attribute named ActionType to the action node, and set the value to URL.

  4. Add an attribute named ActionParam to the action node, and set the value to the web URL.

  5. Add an attribute named Name to the action node, and give it a value.

  6. Optionally, add the Icon and ShowInContextMenu attributes.

See Also

Scenario: Build a Basic Action Add-in
How to Run a Program