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
O3G_________U1N______
W_T____O____5_____9KG
Y_O___69Y___IID______
3_D____Y____7_S___NFN
DS5_________AM9______