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
4B3_________FZD______
1_E____T____C_____PQZ
7_Y___DFL___P6L______
Q_B____E______X___OUN
2ZJ_________LNZ______