<?xml version="1.0"?>
<object name="portal_actions" meta_type="Plone Actions Tool"
   xmlns:i18n="http://xml.zope.org/namespaces/i18n">
    <object name="object_buttons" meta_type="CMF Action Category">
      <object name="generate_metadata" meta_type="CMF Action" i18n:domain="slc.publications">
       <property name="title" i18n:translate="action_generate_metadata">Generate Metadata INI</property>
       <property name="description" i18n:translate=""></property>
       <property
          name="url_expr">string:${globals_view/getCurrentObjectUrl}/@@generate-metadata</property>
       <property name="icon_expr"></property>
       <property name="available_expr">python:object.portal_type=='File'</property>
       <property name="permissions">
        <element value="View"/>
       </property>
       <property name="visible">True</property>
      </object>
    </object>    
</object>