Hi, I am trying to understand how the widget "creatediscussion" connects with the module in Hilary "oae-discussion" to create a new discussion and insert into cassandra
I see that this code does it. oae.api.discussion.createDiscussion(displayName, discussionTopic, visibility, [], members, function (err, data) { // If the creation succeeded, redirect to the discussion profile if (!err) { window.location = data.profilePath; } else { oae.api.util.notification( oae.api.i18n.translate('__MSG__DISCUSSION_NOT_CREATED__', 'creatediscussion'), oae.api.i18n.translate('__MSG__DISCUSSION_COULD_NOT_BE_CREATED__', 'creatediscussion'), 'error'); } }); and there is a oae.api.discussion.js in 3akai-ux/shared/oae/api that I assume is the file that connects with Hilary. Am I wrong? Also I am trying to create a "oae.api.meeting.js" and place it in the oae.api,js file. It says there that the file is a plugin so I guess I have to do something else for it work, right? Could you please help me? Jacqueline
_______________________________________________ oae-dev mailing list oae-dev@collab.sakaiproject.org http://collab.sakaiproject.org/mailman/listinfo/oae-dev