Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi All,
I'm trying to achieve Product Name based on attribute.
Any references thanks in advance.
Regards,
Durga
I am not really sure I understand what you are asking. Can you give more details?
Hi Steve,
Following this is pic which I'm trying to achieve.
The business attributes will be filled by the user and product name to be auto-populated.
Regards,
Durga
I think this can be done with object initialization rules. Note, I have not done this personally, but as I read it, it appears you can have the Product Name generated from a combination of the attributes you enter in. At least, initially.
HI,
Yes numbering could be controlled through through OIR.
Used it, however the name attribute is not present in OIR.
Hi @avillanueva
You right that the name can be set in OIR based on other attributes in general.
There is one point with OIR and Product context.
The type object Product (PDMLinkProduct) is not presented in the type list of OIR definition.
So do you now if any configuration exists to allow OIR definition for Product context? I don't right now and also I haven't searched it.
PetrH
This can also be done with a “post store” listener.
Post store runs before data is “committed” ( or “rollback”) to the dB.
So, you can get the values of your user entered attributes and use those values to reset he Product name before the entry is committed to the database.
Another way to get the job done👍
David.