We have a large amount of Quote Line Item fields (up to 20 possibly), and we're attempting to place them in a custom view rather than in the line item columns.
These display as per the metadata, which I can manually manage at custom/modules/Products/clients/base/views/custom-view/custom.view.php
$viewdefs['Products']['base']['view']['custom-view'] = array(
'panels' => array(
'fields' => array(
array('name' => 'custom_field_1_c'),
array('name' => 'custom_field_2_c'),
However, I want users to be able to manipulate this information within the application, rather than relying on a developer to change this.
When I previously asked on the community it was recommended that I not use any Sugar classes such as MetadataManager.
So with that in mind, what are the best practices with me managing my own metadata? I could use NowDoc, but that just makes it really terribly formatted (due to the lack of indentation). It's also terribly risky given that if I make a mistake, I could end up with a syntax error.
Is there any recommended way to manage custom view metadata?