AnsweredAssumed Answered

Bean in JS - relationship (7.5)

Question asked by dominik.kohout@log.at on Sep 8, 2015
Latest reply on Sep 9, 2015 by Emil Maran
I have got this PHP code:
$bean = BeanFactory::newBean('Module');
$bean->name = 'name';
$bean->load_relationship('rel');
$bean->rel->add($id);
$bean->save();

How would this Code look in JS?

Outcomes