Skip to main content

ChildBucket_StaticContent

DescriptionLoads the text that defined inside staticContent.xml XML.
The XML should be located inside folder com.priint.accpack.childbuckettable.GenericChildBucketTablePlugin/WerkII/default
WerkII can be replaced by tenant name.
Placeholder Id537688883
Placeholder typeText
Context supported_language , _country, _assortment, _well
Function variablesIdentifier: identifier of static content
Data Querycom.priint.accpack.childbuckettable.dataquery.StaticContentQueryPlugin.getStaticContentByIdentifier
Data Mappingcom.priint.pubserver.plugins.datamapping.DataMappingPassThrough.passThrough
Data Processingcom.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&lt;br/&gt;Description</entry>
<entry assortment="" country="US" lang="eng" well="">Product&lt;br/&gt;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​

  1. Set placeholderId="537688883" attribute on the <keyValue> element.
  2. 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>