Posted: 7 Jan 2020 9:10 EST Last activity: 8 Jan 2020 3:16 EST
Complex Data Type Section Issue
I need to store a complex data. I wanted to keep all data within a single Data Type <Something>-Data-Machine with Fields 'Code' (Text, Key), Name (Text) and FunctionList (PageList of type <Something>-Data-Function).
The <Something>-Data-Function Data model is simple, contains 3 properties (Text, Integer & Boolean)
Next I created a section 'EditMachine' in Data Class which allows me to select Code from data page list. The section contains an embeded section 'NewView' which is based on D_<something>MachineSavable datapage. OnChange triggers refresh that should fill the embeded section with Machine data. Well it works... partly.
The 'NewView' Section contains another embeded section 'NewView_FunctionList' which should display data of 'FunctionList' (as table). However the section fails to render on refresh with error in tracer
Activity Name ReloadSection
Step Number 12
Step Status FAIL
Step Status Info The reference 1578405639151 is not valid. Reason: invalid property name: '1578405639151'
('Property Reference' looks like current timestamp)
Can Data Type be used like that to store PageList properties? Why the section refresh fails?