12Migrating Custom Web Applets
Migrating Custom Web Applets
This chapter describes how to migrate custom Web applets using the command-line interface of the Oracle Migration Tool On Demand client. It contains the following topics:
Custom Web Applets
A custom Web applet embeds external Web content, a report, or a dashboard in Oracle CRM On Demand record-type homepages or detail pages, in the Action bar, or in the Home tab (My Homepage). Typically, the content is embedded by creating a custom Web applet that is added to the page layout for a homepage or detail page. For more information, see the topics about custom Web applets in Oracle CRM On Demand Online Help.
The following table describes the Oracle Migration Tool On Demand client commands used with custom Web applets. For more information about running these commands, see Migrating Custom Web Applets.
Table Commands Used with Custom Web Applets in Oracle Migration Tool On Demand
Command | Description |
---|---|
|
This command exports all the homepage custom Web applets for a specified object, such as Account, or a specific homepage custom Web applet for a specified record type (object), where:
|
|
This command exports all the detail page custom Web applets for a specified object, such as Account, or a specific detail page custom Web applet for a specified object, where:
|
|
This command exports the specified Action bar custom Web applet from Oracle CRM On Demand. |
|
This command exports the specified Home tab custom Web applet from Oracle CRM On Demand. |
|
This command exports all custom Web applets of WebAppletType from Oracle CRM On Demand, where WebAppletType is one of the following:
|
|
This command updates or inserts a custom Web applet into Oracle CRM On Demand, where WebAppletType is one of the following:
|
ReadAll
command.
Privileges Required for Migrating Custom Web Applets
The following privileges are required for the user account running the Oracle Migration Tool On Demand client commands:
For the
Read
andReadAll
command: Enable Web Services Access.For the
Upsert
command: Enable Web Services Access, Manage Custom Web Applets, and Customize Application. In addition, detail page custom Web applets and homepage custom Web applets also require Manage Object Access for custom objects that have been set up in the company tenant, for example, Customize Application - Manage Custom Object 01, and so on.
For information about setting and checking privileges, see Oracle CRM On Demand Online Help.
Elements and Sections in the Web Applet XML Output File
The following topics describe the elements and sections for various types of custom Web applet:
Detail Page Custom Web Applets
The following table describes the elements and sections in the detail page custom Web applet XML output file.
Table Elements and Sections in the Detail Page Custom Web Applet XML File
Description | Element or Section |
---|---|
<ObjectName> contains the system name of the record type (object), which never changes. |
<data:ObjectName>Account</data:ObjectName> |
<DisplayName> contains the name of the custom Web applet. |
<data:DisplayName>My Account Detail Page Applet </data:DisplayName> |
<DisplayNameCurrentUserLang> contains the name of the custom Web applet in the language of the currently-logged in user. |
<data:DisplayNameCurrentUserLang> My Account Detail Page Applet </data:DisplayNameCurrentUserLang> |
<Description> contains the description of the custom Web applet. |
<data:Description></data:Description> |
<Height> specifies the height of the custom Web applet, in pixels. |
<data:Height>700</data:Height> |
If the custom Web applet is a Dashboard applet, then the details appear in the <DashboardType> section, as follows:
|
<data:DashboardType> <data:DashboardPath> Company Wide Shared Folder : Dashboards : Accounts Dashboard </data:DashboardPath> <data:DashboardParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:DashboardParameters> <data:AlwaysRun>false</data:AlwaysRun> </data:DashboardType> |
If the custom Web applet is an HTML applet, then the details appear in the <HTMLType> section, as follows:
|
<data:HTMLType> <data:HTMLHeader></data:HTMLHeader> <data:HTMLBody></data:HTMLBody> <data:AlwaysRun>false</data:AlwaysRun> </data:HTMLType> |
If the custom Web applet is a Report applet, then the details appear in the <ReportType> section, as follows:
|
<data:ReportType> <data:ReportPath> Company Wide Shared Folder : My Company Account Custom Analyses : Account Custom Analysis </data:ReportPath> <data:ReportParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:ReportParameters> <data:ReportPrompts>false</data:ReportPrompts> <data:RefreshLink>true</data:RefreshLink> <data:PrintLink>true</data:PrintLink> <data:ExportLink>true</data:ExportLink> <data:AlwaysRun>false</data:AlwaysRun> </data:ReportType> |
If the custom Web applet is an RSS feed applet, then the details appear in the <FeedType> section, as follows:
|
<data:FeedType> <data:URL></data:URL> <data:OverrideURLFlag>false</data:OverrideURLFlag> <data:TargetWindow>New Window</data:TargetWindow> </data:FeedType> |
If the custom Web applet is a URL applet, then the details appear in the <URLType> section, as follows:
Note: Although it is possible to update or insert a custom Web applet of the URL type that contains a URL for an analysis or dashboard, this functionality is not fully supported, and the URL might not work after an upgrade.
|
<data:URLType> <data:URL>http://www.oracle.com</data:URL> <data:AlwaysRun>false</data:AlwaysRun> </data:URLType> |
<ModernIconName> contains the file name of the modern theme icon for the custom Web applet. For more information about modern theme icons, see Classic and Modern Theme Icons. |
<data:ModernIconName>mod_account_25.png </data:ModernIconName> |
The <ListOfTranslation> section contains the translation values for the custom Web applet. |
<data:ListOfTranslation> . . . </data:ListOfTranslation> |
The <Translation> section contains the translation values for one language:
|
<data:ListOfTranslation> <data:Translation> <data:LanguageCode>ENU</data:LanguageCode> <data:DisplayName>My Account Detail PageApplet </data:DisplayName> </data:Translation> . . . </data:ListOfTranslation> |
Action Bar Custom Web Applets
The following table describes the elements and sections in the Action bar custom Web applet XML output file.
Table Elements and Sections in the Action Bar Custom Web Applet XML File
Description | Element or Section |
---|---|
<DisplayName> contains the name of the custom Web applet. |
<data:DisplayName>My Action Bar Applet </data:DisplayName> |
<DisplayNameCurrentUserLang> contains the name of the custom Web applet in the language of the currently-logged in user. |
<data:DisplayNameCurrentUserLang> My Action Bar Applet </data:DisplayNameCurrentUserLang> |
<Description> contains the description of the custom Web applet. |
<data:Description></data:Description> |
<Height> specifies the height of the custom Web applet, in pixels. |
<data:Height>200</data:Height> |
If the custom Web applet is a Dashboard applet, then the details appear in the <DashboardType> section, as follows:
|
<data:DashboardType> <data:DashboardPath> Company Wide Shared Folder : Dashboards : Accounts Dashboard </data:DashboardPath> <data:DashboardParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:DashboardParameters> <data:AlwaysRun>false</data:AlwaysRun> </data:DashboardType> |
If the custom Web applet is an HTML applet, then the details appear in the <HTMLType> section, as follows:
|
<data:HTMLType> <data:HTMLHeader></data:HTMLHeader> <data:HTMLBody></data:HTMLBody> <data:AlwaysRun>false</data:AlwaysRun> </data:HTMLType> |
If the custom Web applet is a Report applet, then the details appear in the <ReportType> section, as follows:
|
<data:ReportType> <data:ReportPath> Company Wide Shared Folder : My Company Account Custom Analyses : Account Custom Analysis </data:ReportPath> <data:ReportParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:ReportParameters> <data:RefreshLink>true</data:RefreshLink> <data:PrintLink>true</data:PrintLink> <data:ExportLink>true</data:ExportLink> <data:AlwaysRun>false</data:AlwaysRun> </data:ReportType> |
If the custom Web applet is an RSS feed applet, then the details appear in the <FeedType> section, as follows:
|
<data:FeedType> <data:URL></data:URL> <data:OverrideURLFlag>false</data:OverrideURLFlag> <data:TargetWindow>New Window </data:TargetWindow> </data:FeedType> |
If the custom Web applet is a URL applet, then the details appear in the <URLType> section, as follows:
Note: Although it is possible to update or insert a custom Web applet of the URL type that contains a URL for an analysis or dashboard, this functionality is not fully supported, and the URL might not work after an upgrade.
|
<data:URLType> <data:URL>http://www.oracle.com</data:URL> <data:AlwaysRun>false</data:AlwaysRun> </data:URLType> |
The <ListOfTranslation> section contains the translation values for the custom Web applet. |
<data:ListOfTranslation> . . . </data:ListOfTranslation> |
The <Translation> section contains the translation values for one language:
|
<data:ListOfTranslation> <data:Translation> <data:LanguageCode>ENU</data:LanguageCode> <data:DisplayName>My Action Bar Applet </data:DisplayName> </data:Translation> . . . </data:ListOfTranslation> |
Homepage Custom Web Applets
The following table describes the elements and sections in the homepage custom Web applet XML output file.
Table Elements and Sections in the Homepage Custom Web Applet XML File
Description | Element or Section |
---|---|
<ObjectName> contains the system name of the record type (object), which never changes. |
<data:ObjectName>Account</data:ObjectName> |
<DisplayName> contains the name of the custom Web applet. |
<data:DisplayName>My Account Homepage Applet </data:DisplayName> |
<DisplayNameCurrentUserLang> contains the name of the custom Web applet in the language of the currently-logged in user. |
<data:DisplayNameCurrentUserLang> My Account Homepage Applet </data:DisplayNameCurrentUserLang> |
<Description> contains the description of the custom Web applet. |
<data:Description> This is my Account Homepage applet </data:Description> |
<Width> specifies the column width of the custom Web applet, as follows:
|
<data:Width>1</data:Width> |
<Height> specifies the height of the custom Web applet, in pixels. |
<data:Height>700</data:Height> |
If the custom Web applet is a Dashboard applet, then the details appear in the <DashboardType> section, as follows:
|
<data:DashboardType> <data:DashboardPath> Company Wide Shared Folder : Dashboards : Accounts Dashboard </data:DashboardPath> <data:DashboardParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:DashboardParameters> </data:DashboardType> |
If the custom Web applet is an HTML applet, then the details appear in the <HTMLType> section, as follows:
|
<data:HTMLType> <data:HTMLHeader></data:HTMLHeader> <data:HTMLBody></data:HTMLBody> </data:HTMLType> |
If the custom Web applet is a record-type homepage custom report, then the details appear in the <ReportType> section, as follows:
|
<data:ReportType> <data:ReportPath> Company Wide Shared Folder : My Company Account Custom Analyses : Account Custom Analysis </data:ReportPath> <data:ReportFlag>true</data:ReportFlag> <data:ReportPrompts>false</data:ReportPrompts> <data:RefreshLink>true</data:RefreshLink> <data:PrintLink>true</data:PrintLink> <data:ExportLink>true</data:ExportLink> </data:ReportType> |
If the custom Web applet is a Report applet, then the details appear in the <WebAppletReportType> section, as follows:
|
<data:WebAppletReportType> <data:ReportPath> Company Wide Shared Folder : My Company Account Custom Analyses : Account Custom Analysis </data:ReportPath> <data:ReportParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:ReportParameters> <data:ReportPrompts>false</data:ReportPrompts> <data:RefreshLink>true</data:RefreshLink> <data:PrintLink>true</data:PrintLink> <data:ExportLink>true</data:ExportLink> </data:WebAppletReportType> |
If the custom Web applet is an RSS feed applet, then the details appear in the <FeedType> section, as follows:
|
<data:FeedType> <data:URL></data:URL> <data:OverrideURLFlag>false</data:OverrideURLFlag> <data:TargetWindow>New Window</data:TargetWindow> </data:FeedType> |
If the custom Web applet is a URL applet, then the details appear in the <URLType> section. <URL> contains the URL that is invoked when the user clicks the hyperlink.
Note: Although it is possible to update or insert a custom Web applet of the URL type that contains a URL for an analysis or dashboard, this functionality is not fully supported, and the URL might not work after an upgrade.
|
<data:URLType> <data:URL>http://www.oracle.com</data:URL> </data:URLType> |
The <ListOfTranslation> section contains the translation values for the custom Web applet. |
<data:ListOfTranslation> . . . </data:ListOfTranslation> |
The <Translation> section contains the translation values for one language:
|
<data:ListOfTranslation> <data:Translation> <data:LanguageCode>ENU</data:LanguageCode> <data:DisplayName>My Account Homepage Applet </data:DisplayName> </data:Translation> . . . </data:ListOfTranslation> |
Home Tab Custom Web Applets
The following table describes the elements and sections in the Home tab custom Web applet XML output file.
Table Elements and Sections in the Home Tab Custom Web Applet XML File
Description | Element or Section |
---|---|
<DisplayName> contains the name of the custom Web applet. |
<data:DisplayName>MyHomepage Applet </data:DisplayName> |
<DisplayNameCurrentUserLang> contains the name of the custom Web applet in the language of the currently-logged in user. |
<data:DisplayNameCurrentUserLang> MyHomepage Applet </data:DisplayNameCurrentUserLang> |
<Description> contains the description of the custom Web applet. |
<data:Description>This is my MyHomepage applet </data:Description> |
<Width> specifies the column width of the custom Web applet, as follows:
|
<data:Width>1</data:Width> |
<Height> specifies the height of the custom Web applet, in pixels. |
<data:Height>700</data:Height> |
If the custom Web applet is a Dashboard applet, then the details appear in the <DashboardType> section, as follows:
|
<data:DashboardType> <data:DashboardPath> Company Wide Shared Folder : Dashboards : Accounts Dashboard </data:DashboardPath> <data:DashboardParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:DashboardParameters> </data:DashboardType> |
If the custom Web applet is an HTML applet, then the details appear in the <HTMLType> section, as follows:
|
<data:HTMLType> <data:HTMLHeader></data:HTMLHeader> <data:HTMLBody></data:HTMLBody> </data:HTMLType> |
If the custom Web applet is a My Homepage custom report, then the details appear in the <ReportType> section, as follows:
|
<data:ReportType> <data:ReportPath> Company Wide Shared Folder : My Company Account Custom Analyses : Account Custom Analysis </data:ReportPath> <data:ReportFlag>false</data:ReportFlag> <data:ReportPrompts>false</data:ReportPrompts> <data:RefreshLink>true</data:RefreshLink> <data:PrintLink>true</data:PrintLink> <data:ExportLink>true</data:ExportLink> </data:ReportType> |
If the custom Web applet is a Report applet, then the details appear in the <WebAppletReportType> section, as follows:
|
<data:WebAppletReportType> <data:ReportPath> Company Wide Shared Folder : My Company Account Custom Analyses : Account Custom Analysis </data:ReportPath> <data:ReportParameters> P0=1&P1=eq&P2="Account"."Account ID"&P3=%%%Row_Id%%% </data:ReportParameters> <data:ReportPrompts>false</data:ReportPrompts> <data:RefreshLink>true</data:RefreshLink> <data:PrintLink>true</data:PrintLink> <data:ExportLink>true</data:ExportLink> </data:WebAppletReportType> |
If the custom Web applet is an RSS feed applet, then the details appear in the <FeedType> section, as follows:
|
<data:FeedType> <data:URL></data:URL> <data:OverrideURLFlag>false</data:OverrideURLFlag> <data:TargetWindow>New Window</data:TargetWindow> </data:FeedType> |
If the custom Web applet is a URL applet, then the details appear in the <URLType> section. <URL> contains the URL that is invoked when the user clicks the hyperlink.
Note: Although it is possible to update or insert a custom Web applet of the URL type that contains a URL for an analysis or dashboard, this functionality is not fully supported, and the URL might not work after an upgrade.
|
<data:URLType> <data:URL>http://www.oracle.com</data:URL> </data:URLType> |
The <ListOfTranslation> section contains the translation values for the custom Web applet. |
<data:ListOfTranslation> <data:Translation> <data:LanguageCode>ENU</data:LanguageCode> <data:DisplayName>MyHomepage Applet </data:DisplayName> </data:Translation> . . . </data:ListOfTranslation> |
The <Translation> section contains the translation values for one language.
|
<data:ListOfTranslation> <data:Translation> <data:LanguageCode>ENU</data:LanguageCode> <data:DisplayName>MyHomepage Applet </data:DisplayName> </data:Translation> . . . </data:ListOfTranslation> |
Migrating Custom Web Applets
The following topics provide examples of how to use the Oracle Migration Tool On Demand client to migrate custom Web applets:
Extracting a Single Custom Web Applet
This topic describes how to extract a single custom Web applet from the Oracle CRM On Demand server for your environment (customer test environment or production).
Syntax for Extracting a Single Detail Page Custom Web Applet
The following is the syntax for using the Oracle Migration Tool On Demand client to extract a single detail page custom Web applet:
migrationtool -u UserID -s ServerURL Read DetailPageCustomWebApplet SystemNameOfObject DetailPageWebAppletName
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
SystemNameOfObject is the system name of the object (record type) for which you want to extract the custom Web applet, for example, Account.
DetailPageWebAppletName is the name of the detail page custom Web applet that you want to extract.
Syntax for Extracting a Single Action Bar Custom Web Applet
The following is the syntax for using the Oracle Migration Tool On Demand client to extract a single Action bar custom Web applet:
migrationtool -u UserID -s ServerURL Read ActionBarCustomWebApplet ActionBarWebAppletName
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
ActionBarWebAppletName is the name of the Action bar custom Web applet that you want to extract.
Syntax for Extracting a Single Homepage Custom Web Applet
The following is the syntax for using the Oracle Migration Tool On Demand client to extract a single homepage custom Web applet:
migrationtool -u UserID -s ServerURL Read HomepageCustomWebApplet SystemNameOfObject HomePageWebAppletName
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
SystemNameOfObject is the system name of the object (record type) for which you want to extract the custom Web applet, for example, Account. The system names for the record types are listed in System Names for Record Types.
HomePageWebAppletName is the name of the homepage custom Web applet that you want to extract.
Syntax for Extracting a Single Home Tab Custom Web Applet
The following is the syntax for using the Oracle Migration Tool On Demand client to extract a single Home tab custom Web applet:
migrationtool -u UserID -s ServerURL Read HomeTabCustomWebApplet HomeTabWebAppletName
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
HomeTabWebAppletName is the name of the Home tab custom Web applet that you want to extract.
Extracting a Set of Custom Web Applets for a Single Object
This topic describes how to extract a set of custom Web applets for a specified object (record type) from the Oracle CRM On Demand server for your environment (customer test environment or production).
Syntax for Extracting All Detail Page Custom Web Applets for a Single Object
The following is the syntax for using the Oracle Migration Tool On Demand client to extract all detail page custom Web applets for a specified record type:
migrationtool -u UserID -s ServerURL Read DetailPageCustomWebApplet SystemNameOfObject
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
SystemNameOfObject is the system name of the object (record type) for which you want to read a set of custom Web applets, for example, Account.
Syntax for Extracting All Homepage Custom Web Applets for a Single Object
The following is the syntax for using the Oracle Migration Tool On Demand client to extract all homepage custom Web applets for a specified record type:
migrationtool -u UserID -s ServerURL Read HomepageCustomWebApplet SystemNameOfObject
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
SystemNameOfObject is the system name of the object (record type) for which you want to read a set of custom Web applets, for example, Account. The system names for the record types are listed in System Names for Record Types.
Extracting All Custom Web Applets
This topic describes how to extract all custom Web applets from your Oracle CRM On Demand environment; that is, a customer test environment or production environment.
ReadAll
command.
Syntax
The following is the syntax for using the Oracle Migration Tool On Demand client to extract all custom Web applets for Oracle CRM On Demand homepages, detail pages, the Action bar, and the Home tab:
migrationtool -u UserID -s ServerURL ReadAll HomepageCustomWebApplet migrationtool -u UserID -s ServerURL ReadAll DetailPageCustomWebApplet migrationtool -u UserID -s ServerURL ReadAll ActionBarCustomWebApplet migrationtool -u UserID -s ServerURL ReadAll HomeTabCustomWebApplet
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
The output from the Oracle Migration Tool On Demand client is saved in the following directory:
...\repository\WebAppletType\Object\WebApplet.xml
where:
WebAppletType is one of the following:
HomepageCustomWebApplet
DetailPageCustomWebApplet
ActionBarCustomWebApplet
HomeTabCustomWebApplet
Object is the Oracle CRM On Demand object or record, for example, Account.
WebApplet.xml is the series of XML files where the Web applet configuration data is stored, for example, First Web Applet.xml file, Second Web Applet.xml file, and so on.
Example of Extracting All Custom Web Applets for Homepages
The following is an example of extracting all custom Web applets in all homepages from your Oracle CRM On Demand server:
migrationtool -u UserID -s ServerURL ReadAll HomepageCustomWebApplet
Updating or Inserting a Custom Web Applet Definition (Upsert)
This topic describes how to update a custom Web applet definition (if it exists) or insert the Web applet definition (if it does not exist) in your Oracle CRM On Demand environment; that is, a customer test environment or production environment.
The configuration data is updated when the Web applet name exists in the target company for the object or record for which the Upsert operation is being run; otherwise the Web applet is inserted.
The following table shows the result of an Upsert operation if the target company has a Web applet called My Custom Applet for the Account object on the detail page.
Table Result of an Upsert Operation on a Target Company
If the XML definition contains... | Then the result is ... |
---|---|
Name: My Custom Applet Object: Account Location: Detail Page |
The existing My Custom Web Applet is updated for the Account object, which is on the detail page. |
Name: MY Custom Applet Object: Account Location: Detail Page |
MY Custom Applet is inserted into the target company. The company now contains the following Account Web Applets:
|
Name: My Custom Applet Object: Opportunity Location: Detail Page |
My Custom Applet is inserted into the target company for the Opportunity object. The company now contains:
|
Name: My Custom Applet Object: Global Location: Action Bar |
My Custom Applet is inserted into the target company for the Global Web Applet section. The company now contains:
|
Syntax
The following is the syntax for using the Oracle Migration Tool On Demand client to update a custom Web applet (if it exists) or inserting the custom Web applet (if it does not exist):
migrationtool -u UserID -s ServerURL Upsert WebAppletType MyWebAppletXML
where:
UserID is the user sign-in ID that has the appropriate privileges to run the Oracle Migration Tool On Demand client commands.
ServerURL is the URL for the Oracle CRM On Demand server where your company resides.
WebAppletType is one of the following:
HomepageCustomWebApplet
DetailPageCustomWebApplet
ActionBarCustomWebApplet
HomeTabCustomWebApplet
MyWebAppletXML is the fully qualified path name of the customized Web applet XML file, for example:
C:\My Files\MyWebApplet.xml
Examples of Updating or Inserting a Custom Web Applet
The following are examples of updating a custom Web applet (if it exists) or inserting the Web applet (if it does not exist) in your Oracle CRM On Demand server:
For homepage custom Web applets:
migrationtool -u UserID -s ServerURL Upsert HomepageCustomWebApplet "C:\My Files\MyHomepageCustomWebApplet.xml"
For Detail page custom Web applets:
migrationtool -u UserID -s ServerURL Upsert DetailPageCustomWebApplet "C:\My Files\MyDetailPageCustomWebApplet.xml"
For Action bar custom Web applets:
migrationtool -u UserID -s ServerURL Upsert ActionBarCustomWebApplet "C:\My Files\MyActionBarCustomWebApplet.xml"
For Home tab custom Web applets:
migrationtool -u UserID -s ServerURL Upsert HomeTabCustomWebApplet "C:\My Files\MyHomeTabCustomWebApplet.xml"
Note: Quotation marks are required if the file name or path contains spaces.