ChildBucket_StaticContent
| Description | Loads the text that defined inside staticContent.xml XML.The XML should be located inside folder com.priint.accpack.childbuckettable.GenericChildBucketTablePlugin/WerkII/defaultWerkII can be replaced by tenant name. |
| Placeholder Id | 537688883 |
| 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.comet.bridge.dataprocessing.HtmlFunctions.tidyToXhtml and com.priint.pubserver.comet.bridge.dataprocessing.HtmlFunctions.htmlToTaggedText: Convert html tag to tagged text(Default).Or com.priint.pubserver.plugins.dataprocessing.htmlToPlainText : Remove all html tags |
Example staticContent.xml:
caution
HTML value tags should be escaped as < and > to prevent XML parsing errors.
<?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="product_description">
<entry assortment="" country="" lang="" well="">Product<br/>Description</entry>
<entry assortment="" country="US" lang="eng" well="">Product<br/>Description</entry>
</translation>
<translation identifier="price">
<entry assortment="" country="" lang="" well="">Price</entry>
<entry assortment="" country="US" lang="eng" well="">Price</entry>
</translation>
</translations>
</con:custom>
<con:dependencies/>
<con:instances/>
</con:PluginConfig>
How to Add This Placeholder to the Child Bucket Table
- Set
placeholderId="537688883"attribute on the<keyValue>element. - Set a function variable as a child element of
<keyValue>.
<keyValue cellValue="//static_transform['product_description']" entityIdentifier="product_attribute" key="description" placeholderId="537688883">
<functionVariables>
<variable name="identifier" value="product_description"/>
</functionVariables>
</keyValue>