These are some tips and lesson learn from my battles with Freemarker Array operations.
- Check the actual JSON to determine the where the array is located e.g. root or sub items.
- Start with simple listview for Freemarker.
- Do backup and unit test often.
- Array location in sub items level may not be accessible directly.
- Index start from zero.
- Build your code template for Arrays because there are no many examples for ODA.
- Validation check in ODA does not work for Freemarker.
Array operations in ODA is one of the challenges faced during coding in ODA. While the validation do not work, you may need to test often to find the errors.