Marketing content image map input file definitions
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.
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 .
- Rectangle: Specify the upper left and lower right coordinates. Define these two coordinates in
the format:
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 thehtmlDefinition
column or element. Prefix thehref
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.