Showing "Import" and "Export" options for Site-Admin UI
To enable the Import Button & Export Option in Site-Admin UI, please follow below mentioned steps.This can help you to import the xls and export the xls for Site-Assets.
Step 1: Override the taskConfiguration file.
Path: /config/atg/remote/multisite/assetmanager/taskConfiguration.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE task-configuration
PUBLIC "-//Art Technology Group, Inc.//DTD Asset Manager Task Configuration//EN"
"http://www.atg.com/dtds/task-configuration/task-configuration_2.0.dtd">
<task-configuration>
<task id="siteadmin.manageSiteAssets" inherit-from="siteadmin.browseSiteAssets">
<activity-id>
siteadmin.manageSiteAssets
</activity-id>
<!-- Enabling the Import Button -->
<property name="showImportButton" value="true"/>
</task>
</task-configuration>
<!DOCTYPE task-configuration
PUBLIC "-//Art Technology Group, Inc.//DTD Asset Manager Task Configuration//EN"
"http://www.atg.com/dtds/task-configuration/task-configuration_2.0.dtd">
<task-configuration>
<task id="siteadmin.manageSiteAssets" inherit-from="siteadmin.browseSiteAssets">
<activity-id>
siteadmin.manageSiteAssets
</activity-id>
<!-- Enabling the Import Button -->
<property name="showImportButton" value="true"/>
</task>
</task-configuration>
Site-Admin UI with "Import" Enabled |
Step 2: Override the SiteAdminToolbar with following content.
Path: /config/atg/remote/multisite/toolbar/SiteAdminToolbar.xml
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE browse-hierarchy
PUBLIC "-//Art Technology Group, Inc.//DTD Asset Manager Browse Hierarchy//EN"
'http://www.atg.com/dtds/toolbar/toolbar_1.0.dtd'>
<toolbar
resource-formatter="/atg/remote/multisite/ResourceFormatter">
<operation-menu id="siteOperationMenu">
<toolbar-scope asset-area="siteadmin" pane-id="browse"/>
<operation-menu-item id="export" />
</operation-menu>
<operation id="export" label-resource="toolbar.action.label.export"
event="AssetManager.export"
active-for-selected-item-count="ONE-OR-MORE"
shortcut-resource-bundle="ATGResources"
shortcut-resource-key="operation.export.shortcut"
shortcut-modifiers="CTRL"/>
</toolbar>
Export XLS for Site Assets |
Hi, Can you do a writeup on how to import delta product/item data into ATG CA . In production systems the product data would be mastered outside & would change on a daily basis. This delta feed would need to be imported to ATG CA (the pub database) & then deployed to the production database. My question is on how to import delta data into ATG CA/BCC? Do we have to write custom code or is there anything out of the box? If its out of the box how does it trap errors & report.
ReplyDeleteThanks for sharing import/export functionality in ATG but as per oracle they dont recommend the use of export/import for Site functionality.
ReplyDeleteI completely agree with it. Exporting the xls can be for understanding the Site's statics for quick view, and for those who didn't had BCC access.
DeleteHi, is there a way to disable the menu items? if i would remove the "duplicate" or "delete" item how can i do it?
ReplyDeleteBy any chance does anybody know if there are set of event listeners for the event mentioned in toolbar.xml ? The above settings dont seem to work in ATG 11.0
ReplyDeleteThe export button appears but clicking on it leads to a message saying Selected assets are not exportable. No errors in the logs.
Do you find the reason why we are not able use export in SiteAdministration. Did you fix this one.
DeletePlease let me know how we can add the export option for External Users (profile) in BCC
ReplyDelete