ChildBucket_StaticContent
| Description | Loads the text that is stored inside of the staticContent.xml staticContent.xml should be located inside folder com.priint.accpack.childbuckettable.GenericChildBucketTablePlugin /WerkII /default WerkII can be replaced by |
| Placeholder type | Text |
| Context supported | _language , _country, _assortment, _well |
| Function variables | Identifier: identifier of static content |
| Data Query | com.priint.accpack.childbuckettable.dataquery.StaticContentQueryPlugin.getStaticContentByIdentifier |
| Data Mapping | com.priint.pubserver.plugins.datamapping.DataMappingPassThrough.passThrough |
| Data Processing | com.priint.pubserver.plugins.dataprocessing.htmlToPlainText : remove all html tags Or com.priint.pubserver.comet.bridge.dataprocessing.htmlToTaggedText : convert html tag to tagged text |
Example of staticContent.xml
<?xml version="1.0" encoding="UTF-8"?><con:PluginConfig xmlns:con="com.priint.pubserver.config.manager/20130620">
<con:name>staticContent.xml</con:name>
<con:type>staticContent</con:type>
<con:custom>
<translations xmlns:cfg="http://priint.com/pubserver.appserver.config/v1">
<translation identifier="1">
<entry assortment="" country="" lang="" well="">テキストコ1</entry>
</translation>
<translation identifier="2">
<entry assortment="" country="" lang="" well="">テキストコ2</entry>
</translation>
<translation identifier="3">
<entry assortment="" country="" lang="" well="">テキストコ3</entry>
</translation>
<translation identifier="4">
<entry assortment="" country="" lang="" well="">テキストコ4</entry>
</translation>
<translation identifier="5">
<entry assortment="" country="" lang="" well="">各色・混合5</entry>
</translation>
<translation identifier="6">
<entry assortment="" country="" lang="" well="">テキストコ6</entry>
</translation>
<translation identifier="7">
<entry assortment="" country="" lang="" well="">テキストコ7</entry>
</translation>
<translation identifier="8">
<entry assortment="" country="" lang="" well="">テキストコ8</entry>
</translation>
</translations>
</con:custom>
<con:dependencies/>
<con:instances/>
</con:PluginConfig>
How to Add This Placeholder to the Child Bucket Table
- Set the
placeholderId="537688883"attribute on the<keyValue>element. - Set a function variable as a child element of
<keyValue>.
<keyValue cellValue="//static_transform['1']" entityIdentifier="sku_attribute" key="Minimum working temperature" placeholderId="537688883">
<functionVariables>
<variable name="identifier" value="'1'"/>
</functionVariables>
</keyValue>