on ‎2018 Nov 28 5:37 PM
Hy everybody. I have a problem when creating a wizard in backoffice (hybris 6.7)
I have an entity with an atribute and persistence property and others atributes with persistence dynamic.
When i try to see the wizard i get the following error.
Does anybody knows which could be the problem. The context type of wizard and name of qualifier is corect.
If i remove the property with the persistence property, it shows the wizard but when y try to save it i get an error.

Thanx a lot.

Request clarification before answering.
You can not save the value in a dynamic attribute. You can use the value in a dynamic attribute for calculation/display but you can not save the value in a dynamic attribute. You can save the value only in the attributes whose persistence type="property". Please refer https://help.hybris.com/6.6.0/hcd/8bb46096866910149208fae7c4ec7596.html for more details on the dynamic attribute.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What I was trying to do is to have an input in a wizard and this input is for a dynamic attribute. When I try to save the model associated to this wizard, I use an validator interceptor and depending of the value of this input I'll modify values from model.
For example if the values of attribute is "home" a property from model has a values and if its "out" the property will have another values.
Do you know how we can solve the this situation...
I have an entity "creditLine". This entity has an property which is a type of another entity "creditLineData" and so on. Final entity has some fields: name, surname etc.
What I want is to create a wizard for a new "creditLine" but in that wizard I need inputs for values of properties from "creditLineData". Then with validatorInterceptor I'll process this data and create and assign each entity property We really dont know how to make it.
Thanx a lot
You can achieve it using proper relations. You can check https://wiki.hybris.com/pages/viewpage.action?pageId=294094223#Trail~CustomizingBackoffice-CockpitNG... for an example. Here, Stadium has relation with Match and Match has a relation with Team. This is not the exact solution but a hint to proceed towards the solution.
You can download the extensions from https://wiki.hybris.com/display/R5T/hybris+5+Developer+Training+Trails+5.7+-+Part+I+-+Core and explore the entities.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.