p$TDV:SMPAPI:EtTxExiB
p$TDV:SMPAPI:EtTxExiB
Check if a given text component exists.
If a component name is generated from an article identifier, for example, this function can be used to check if a special text component has been created for this special article. If not, a standard component is used.
Syntax: | Component2 = p$TDV:SMPAPI:EtTxExiB( Component ) | ||
| Argument | Type | Meaning |
| Component | String | Name of the text component without path and file extension |
Result: | String | The component transferred in component or an empty string (''), if the component does not exist | |
Example: | Component = p$TDV:SMPAPI:EtTxExiB( 'OfferHeader' ) | ||