Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1114 Zobrazení

Is there an OCA Module to have dynamic fields?


I basically want to store this data:

"attributes": [ { "key": "AssignOrt", "value": "Wels" }, { "key": "OrteInformationsId", "value": "430000879" }, { "key": "GEMKZF", "value": "40301" }]


I'm thinking about a Mixin or something to ease the creation of this datastructure.

I think of somthing like the functionality in the product.template for the variant creation. -> I eg. need a view to see all the values for eg. AssignOrt.



Avatar
Zrušit

Hello Nikolaus

Did you find or develop any solution for such requirement ?

Autor

No.
I solved it by storing the json in a Char Field. (Performance wasn't an issue)
Then I created compute fields loading the data and extracting the information if exists.
It still needs manual programming for every field ... so it's good enough but would be cool to get something that solves this without manual adeption.

Related Posts Odpovědi Zobrazení Aktivita
3
kvě 25
1851
1
dub 25
1382
3
zář 24
14343
2
úno 24
2575
1
čvc 23
2795