Hi Nixon, Here you can find the typedef: https://github.com/ZepHakase22/AtlasDataLake/blob/V0.1-tested/enel/enel_types.json
The suspected type is “P_O_table” Here you can find the entity: https://github.com/ZepHakase22/AtlasDataLake/blob/V0.1-tested/enel/P_O/organizational_unit.json Thanks in advance for your support 😊 BR Emiliano Carlesi Email: [email protected]<mailto:[email protected]> Skype for Business: [email protected]<mailto:[email protected]> Skype: emiliano.carlesi Mobile: +39 3487837153 Phone: +39 0650939115 [logo-firma] Le informazioni contenute nella presente comunicazione e i relativi allegati contenuti in questo messaggio sono strettamente riservate ed esclusivamente indirizzate al destinatario indicato. Vogliate tener presente che qualsiasi uso, riproduzione o divulgazione di questo messaggio è vietata. Nel caso in cui aveste ricevuto questa mail per errore, vogliate cortesemente avvertire il mittente e distruggere il presente messaggio. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi dell’art. 616 c.p. , che ai sensi del Regolamento UE 679/2016 From: Nixon Rodrigues <[email protected]> Sent: Thursday, December 13, 2018 12:02 PM To: [email protected] Subject: Re: UI error with custom type Emiliano, Looks like an issue with the custom type you created, I think some attributes are missing in the entity created with this type.. If possible please send across the custom typedef created for review. On Thu, Dec 13, 2018 at 4:14 PM Emiliano Carlesi <[email protected]<mailto:[email protected]>> wrote: Hi, I create some custom types and , using API, I store it. All the types correctly appear in the UI. The problem appear when I try to visualize in the UI an entity of a custom type. I get this JS error: DetailPageLayoutView.js?bust=1542737703263:111 Uncaught TypeError: Cannot read property 'position' of undefined at DetailPageLayoutView.js?bust=1542737703263:111 at underscore-min.js?bust=1542737703263:1 at Function.s.map.s.collect (underscore-min.js?bust=1542737703263:1) at Function.s.sortBy (underscore-min.js?bust=1542737703263:1) at N.d.<anonymous> (DetailPageLayoutView.js?bust=1542737703263:110) at s (backbone-min.js?bust=1542737703263:1) at r (backbone-min.js?bust=1542737703263:1) at m (backbone-min.js?bust=1542737703263:1) at N.d.k.trigger (backbone-min.js?bust=1542737703263:1) at N.d.reset (backbone-min.js?bust=1542737703263:1) The error is here in the JS code: var valueSorted = _.sortBy(collectionJSON.attributes.columns, function(val) { return val.attributes.position; /* attributes is undefined */ }); If a create e DataSet instance everything works, so I think the problem is related to my type. Thanks for your time 😊 BR Emiliano Carlesi Email: [email protected]<mailto:[email protected]> Skype for Business: [email protected]<mailto:[email protected]> Skype: emiliano.carlesi Mobile: +39 3487837153 Phone: +39 0650939115 [logo-firma] Le informazioni contenute nella presente comunicazione e i relativi allegati contenuti in questo messaggio sono strettamente riservate ed esclusivamente indirizzate al destinatario indicato. Vogliate tener presente che qualsiasi uso, riproduzione o divulgazione di questo messaggio è vietata. Nel caso in cui aveste ricevuto questa mail per errore, vogliate cortesemente avvertire il mittente e distruggere il presente messaggio. La diffusione, distribuzione e/o copiatura del documento trasmesso da parte di qualsiasi soggetto diverso dal destinatario è proibita, sia ai sensi dell’art. 616 c.p. , che ai sensi del Regolamento UE 679/2016
