Delete hidden content controls

Modified on Mon, 5 Oct at 1:54 PM

BaseExtensions can be used to delete table rows, table cells, and hidden content in a placeholder. The feature can be used as both an event or a button.


CMD

<Cmd case="BaseExtensions:deleterow-hidden-ccs" include="ccYourRef" />

Description: Deletes table rows if there is no content in the content control or if the title of the content control is defined in parameter.

Parameter:

include

Define what a content control must include to be deleted. We are able to have several parameters which define what a content control must include. Use the include parameter multiple times followed by a number, e.g.:

XML
<Cmd case="BaseExtensions:deleterow-hidden-ccs" include-1="x" include-2="xx" include-3="xxx" />

CMD

<Cmd case="BaseExtensions:delete-hidden-ccs" ignore="x" />

Description: Deletes hidden content controls if it does not contain the defined string in parameter.

Parameter:

ignore

Define what a content control must include when it should not be deleted. If a content control meet the requirements to be deleted, but contains the string in this parameter, it will not be deleted. Just as the include parameter, this parameter can be used multiple times in the command.


CMD

<Cmd case="BaseExtensions:deletecontent-hidden-ccs" />

Description: Deletes hidden content in placeholders with content controls.

Parameter: None.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article