Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

How to access a custom/user-defined XML node?

In order to access a custom/user-defined node, you just have to concatenate the XML-xpath into one identifier and use it within the getPropertyViewHelper. For example:

<immobilie>
  <kontaktperson>
    <email_direkt>mail(at)example(dot)org</email_direkt>
  </kontaktperson>
</immobilie>
{oi:getProperty(object: immobilie, index: 'kontaktperson_emailDirekt')}

or:

<immobilie>
  <verwaltung_techn>
    <user_defined_simplefield feldname="reserviert">ja</user_defined_simplefield>
  </verwaltung_techn>
</immobilie>
{oi:getProperty(object: immobilie, index: 'verwaltungTechn_userDefinedSimplefield_reserviert')}

In the identifier each XML nodename is divided by a _. If the nodename contains a _ it will be transformed to lower-camel-case.

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
6JA__________Q_______
__X____P____QG____EEM
19R___52I____C_______
__Q____T_____P____LW8
HN5_________8Y3______