setElement

Set XML to a s7:elementID.

setElement.elementID=<XML>

If a FXG node element has a s7:elementID defined, the <XML> value is replaced as a child element. The <XML> must be encoded.

Example

Assume a s7:elementID="group2" attribute is defined for a Group node then the following is valid:

&setElement.group2=<TextGraphic+fontFamily%3D"DefaultFont"+fontSize%3D"50"+x%3D"20"+y%3D"500"><content><p><span>New+Text+Graphic+Tag+For+Demo<%2Fspan><%2Fp><%2Fcontent><%2FTextGraphic>

This example removes all children from the group2node and replaces it with new TextGraphic child node.

On this page

Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now