Sample Duet Enterprise XML Snippet: URL Action

This XML snippet shows how to create a button for a "URL action" for an external content type.

Applies to: Duet Enterprise for Microsoft SharePoint and SAP Server 2.0 | Office 2010 | SharePoint Server 2010

When the user clicks the button for the URL action, the specified URL opens in the user's browser.

Example URL Action

The following XML snippet is an example of the XML to use for an action for a Contact external content type. This content type opens a collaboration external list for the customer who is related to the specific sales contract.

<Action xmlns="http://schemas/oba/2010/Action" 
        Name="OpenCustomerExternal List" 
        Version="1.0.0.0">
  <EntityDependencies>
    <Entity Name="Contact" Namespace= "SAP.Office.DuetEnterprise.Account" Version="1.0.0.0" IsPrimary="true" />
  </EntityDependencies>
  <UrlAction Name="OpenExternal List" 
    Url="http://MyServer/_layouts/OBA/CollabSiteRedirect.aspx?
    CustomerId={0}&amp;
    EntityName=Account&amp;
    EntityNamespace=SAP.Office.DuetEnterprise.Account&amp;
    LobsystemInstance=Account">
    <Parameters>
      <ExpressionParameter Name="Param1" Expression="CustomerId" 
      ValueType="System.String" />
    </Parameters>
  </UrlAction>
</Action>

For an example that shows how to create a declarative solution in Microsoft Outlook that displays the contact details of a sales contact in a task pane, see How To: Create an Outlook Solution Using Duet Enterprise Outlook Application Designer.

See Also

Other Resources

Creating Advanced Code-Based Solutions Using Business Connectivity Services (https://msdn.microsoft.com/en-us/library/ff394635.aspx)