This topic contains 1 reply, has 2 voices, and was last updated by sparlea 6 years, 7 months ago.
- Topic
Hi,
I followed the documentation to create a new field using Migrations. Then I followed this solution to create a form extension to be able to show the field in the update form.
I can see the field in the update form. I can save the value to the table.
Now how do I show this field in the view form? The renderDynamicFields is showing the field. But it shows all the custom fields in one column, one below the other. I want to have some control in displaying the fields in a two column layout. When I try doing this:
1{{ UI.renderProperty('oro.account.name.label'|trans, account.test_field2) }}I am getting the following error:
1Neither the property "test_field2" nor one of the methods "test_field2()", "gettest_field2()"/"istest_field2()" or "__call()" exist and have public access in class "Oro\Bundle\AccountBundle\Entity\Account"I tried using the macro renderDynamicField(account, “test_field2”), but it gave me an error saying that the second parameter should be FieldConfigModel type.
I have actually hit a wall. Can somebody please help me?
Thanks.
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.