I want to add a productgroup to a customer using the structure tree. see screenshot: http://prntscr.com/ke5evm
How can I get the user-id (parent) of this new object? see screenshot: http://prntscr.com/ke5fd9
Problem: We want to check, if the user has already a productgroup attached with the same name. If so, we want to set an error in order to refuse adding the same productgroup twice.
How can i access the parentId when creating new objects?
Thanks
I think I need to access the current location (Ablageort) within the form script. This is the id of the customer whome I want to add the new object.
I found a solution to this problem: In the Designer I can use the option "Unique" or "Eindeutig".
Now its working, and the same productgroup does not get added. But when I try to add the same productgroup I dont get an error message. That should be fixed.
381 questions
506 answers
416 comments
164 users