Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1106 มุมมอง

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.



อวตาร
ละทิ้ง

Hello Nikolaus

Did you find or develop any solution for such requirement ?

ผู้เขียน

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 ตอบกลับ มุมมอง กิจกรรม
3
พ.ค. 25
1848
1
เม.ย. 25
1379
one2one relational field แก้ไขแล้ว
3
ก.ย. 24
14341
2
ก.พ. 24
2565
1
ก.ค. 23
2795