Skip to main content

ChildBucket_KeyValueById

DescriptionA generic key value placeholder that gets a dynamic value of key value by identifier, dynamic value means Xpath value.
Can be used for individual values inside of the ChildBucketTable.
Placeholder Id537688584
Placeholder typeText
EntityPlaceholder should work with KeyValue records
ContextSupported: _language and _country
Function variablesXpath: xpath partern to get value of KeyValue example: concat(@value, '-', ' $')
Data QueryEntityManager.getEntityKeyValuesByIdentifier
Data Mappingcom.priint.accpack.childbuckettable..datamapping.KeyValueDataMapping.keyValueToString
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

How to Add This Placeholder to the Child Bucket Table​

  1. Set placeholderId="537688584" attribute on the <keyValue> element.
  2. Set a function variable as a child element of <keyValue>.
  • Using a simple XPath expression:
<keyValue entityIdentifier="product_attribute" key="plant_name" cellValue="@value" placeholderId="537688584" >
<functionVariables>
<variable name="xpath" value="@value"/>
</functionVariables>
</keyValue>
  • Using a plugin method:
<keyValue entityIdentifier="product_attribute" key="plant_name" cellValue="plugin(globalName='com.priint.project.demo.ChildBucketTableTransformPlugin',methodName='transformName')" placeholderId="537688584">
<functionVariables>
<variable name="xpath" value="plugin(globalName='com.priint.project.demo.ChildBucketTableTransformPlugin',methodName='transformName')"/>
</functionVariables>
</keyValue>