Quick Edit properties, as described in Quick Edit Properties, are asset properties that perform specific tasks and allow a site administrator to modify or make a copy of an existing site, and make changes to the asset properties of the new site.

To create Quick Edit view mappings:

  1. Make a copy of the viewmapping.xml file in your customization directory.

  2. Modify the itemMapping and itemViewMappings to include the new Quick Edit properties. For example:

    <add-item item-descriptor="itemMapping"
        id="SaImDuplicateSiteDefaultCategory">
      <set-property name="name"><![CDATA[SiteCategory:default]]>
        </set-property>
      <set-property name="description">
    <![CDATA[AssetManager new default duplicate site itemMapping]]>
      </set-property>
      <set-property name="mode"><![CDATA[AmMmQuickEdit]]></set-property>
      …
    </add-item>

  3. Modify the site-template-viewmapping.xml file to update the changes you made to the viewmapping.xml file. For example,

    <update-item item-descriptor="itemMapping"
        id="SaImDuplicateSiteDefaultCategory">
      <set-property name="viewMappings" add="true">
        <![CDATA[SaIvmDuplicateSiteDefaultCategoryNew]]></set-property>
    </update-item>

  4. Create the new itemViewMappings. For example,

    <add-item item-descriptor="itemViewMapping"
        id="SaIvmDuplicateSiteDefaultCategoryCRS">
      <set-property name="name"><![CDATA[AssetManager new default duplicate
          site itemViewMapping]]></set-property>
      <set-property name="displayName">
          <![CDATA[SaIvmSiteDefaultCategoryNew.displayName]]></set-property>
      <set-property name="view"><![CDATA[SaIvBaseSiteConfig]]></set-property>
      <set-property name="propertyMappings">
          <![CDATA[defaultCountry=SaPvmTwoCharEditor,
          defaultLanguage=SaPvmTwoCharEditor]]></set-property>
      <set-property name="attributeValues">
          <![CDATA[resourceBundle=aMgrAvNewResourceBundle,
          includedProperties=SaAvDefDupCatIncludedCatsNew,
          alwaysCategorize=SaAvDupDefCatAlwaysCategorize]]></set-property>
    </add-item>

  5. Define the includedProperties attribute values. For example,

    <update-item item-descriptor="attributeValue"
        id="SaAvDefDupCatIncludedCatsCRS" skip-update="true">
      <set-property name="value" add="true"
          value=",defaultCountry,defaultLanguage"></set-property>
    </update-item>