FAQ
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.
More frequently asked questions
- Fatal error beim Update in einer non-composer Installation?
- After import the connection is not selected in immobilie record, what's wrong?
- How to access a custom/user-defined XML node?
- How to access file/image meta data in Fluid?
- Der Importer wirft bei der Ausführung den Fehler "Exception: No site found in root line of page xy" - woran liegt das?
- The search/list view shows a SQL error - what can I do?
- Why don’t my custom translations appear in the search result email?
- Why are links or images incorrect in the search result email?
- After an update, list entry information is no longer displayed - what can I do?
