if (forumKeyProperty == null) {
// First call of forum, create new forum and save forum key as property
forum = fom.addAForum();
forumKey = forum.getKey();
forumKeyProperty = cpm.createCourseNodePropertyInstance(thisCourseNode, null, null, FORUM_KEY, null, forumKey, null, null);
cpm.saveProperty(forumKeyProperty);
//System.out.println("Forum added");
} else {
// Forum does already exist, load forum with key from properties
forumKey = forumKeyProperty.getLongValue();
forum = fom.loadForum(forumKey);