Marketing content image map input file definitions

Use a MarketingContentImageMap.csv input file to load data to create image map information for the marketing content that belongs to a store. After you load the data, business users can manage the new image map information with the Marketing tool.

You can extract the image map information for marketing content objects with the Data Extract utility to create a MarketingContentImageMap.csv input file that you then can load with the Data Load utility. For example, if you want to copy or move marketing content and related data between stores or instances, such as for creating one or more test environments. Sample configuration files are provided for you to use with the Data Extract utility to extract the image map data from the COLLIMGMAPAREA database table.

Sample configuration files are also provided for you to use with the Data Load utility to load the image map data. When you load the MarketingContentImageMap.csv file, the Data Load utility populates the COLLIMGMAPAREA database table.

For more information about extracting and loading marketing data, see
When you load image map data for marketing content, you might need to load additional information. For example, if the content does not exist in your target store, you must first load the data to create the content. For more information about the marketing content-related data that you can load, see:
Note: When you load changes to replace multiple click actions (image map) for marketing content with no click actions, the multiple click actions can remain after the load process completes. If your input file includes data to set the marketing content to have no click actions, the utility updates the record for the content to reflect the input file change. However, if your input file does not include data to remove the click actions from the COLLIMGMAPAREA table, the click action data remains after the load operation completes. These click actions continue to be associated with the content and display for the content in Management Center and the storefront. To remove the click actions, delete the content, which causes a cascade delete operation that removes the click actions. Then, load data to re-create the content, and if needed, any of the click actions that need to remain. You can also use the Marketing tool to remove or change the click actions for marketing content.

Definitions

contentName
(Required, String) The name of the marketing content.

Maps to COLLATERAL.NAME.

languageId
(Required, Integer) The language ID for the language-specific fields in this input file.

Maps to COLLIMGMAPAREA.LANGUAGE_ID.

coordinates
(String) The coordinates of the image map. The coordinates identify the size and location for the click action area. The coordinates for each shape must be in the following format:
  • Rectangle: Specify the upper left and lower right coordinates. Define these two coordinates in the format: X1, Y1, X2, Y2 (Where X1, Y1, is the upper left coordinate, and X2, Y2 is the lower right coordinate).
  • Circle: Specify the center point for the circle and the radius. Define the center point location for your circle and radius in the format: X, Y, Radius (Where X, Y are horizontal and vertical coordinates for the center of the circle, and R is the radius of the circle).
  • Polygon: You must specify at least six coordinates and you must specify an even number of coordinates to complete the polygon shape. Use the format X1, Y1, X2, Y2, ... Xn, Yn

Maps to COLLIMGMAPAREA.COORDINATES .

title
(String) The hover text that a customer views when they hover over the click action area.

Maps to COLLIMGMAPAREA.TITLE.

altText
(String) The alternate text for the click action area.

Maps to COLLIMGMAPAREA.ALT.

shape
(String) Specify the shape of the image map. You can specify one of the following shapes for the image map area:
  • rect for a rectangle.
  • circle for a circle.
  • poly for a polygon.

Maps to COLLIMGMAPAREA.SHAPE.

sequence
(Double) The sequence that the image map area displays for the marketing content.

Maps to COLLIMGMAPAREA.SEQUENCE.

target
(String) The location where the target page is to display when it opens. For example, you can set the value to be _blank, _parent, _self, or _top.

Maps to COLLIMGMAPAREA.TARGET.

url
(String) The URL that opens when a customer clicks the click action area. Specify a URL href for each area you include in the HTML code for the htmlDefinition column or element. Prefix the href path with the context or servlet path for the URL or image path. For example, [webapp/wcs/preview/servlet]/[CategoryDisplay?categoryId=10001].

When you use the Data Extract utility to generate the MarketingContentImageMap.csv file, the utility converts any product or category ID values to the corresponding product or category external identifier. When you then load the data, the utility converts the external identifiers to the correct ID value for the product or category in the target database.

Maps to COLLIMGMAPAREA.URL.

htmlDefinition
(String) The html definition for the image map.

When you use the Data Extract utility to generate the MarketingContentImageMap.csv file, the utility converts any product or category ID values to the corresponding product or category external identifier. When you then load the data, the utility converts the external identifiers to the correct ID value for the product or category in the target database.

Maps to COLLIMGMAPAREA.HTMLDEF.

field1
(String) Customizable field. Can be used to store other attributes.

Maps to COLLIMGMAPAREA.FIELD1.

field2
(String) Customizable field. Can be used to store other attributes.

Maps to COLLIMGMAPAREA.FIELD2.

field3
(String) Customizable field. Can be used to store other attributes.

Maps to COLLIMGMAPAREA.FIELD3.

field4
(String) Customizable field. Can be used to store other attributes.

Maps to COLLIMGMAPAREA.FIELD4.

field5
(String) Customizable field. Can be used to store other attributes.

Maps to COLLIMGMAPAREA.FIELD5.

delete
(String) Indicates whether to delete the record. Specify 1 to delete the record.
Note: If you want to delete all of the database records that match the records in a file, you can run the Data Load utility in delete mode. For more information, see Configuring the data load order.