As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<action id="create_summary"> <label>Create Summary</label> <image>/images/icons/recover.gif</image> <script>/Company Home/Data Dictionary/Scripts/atest.js</script> <params> <param name="id">#{actionContext.id}</param> </params> </action>
Now How can i get the javascript node object from args["id"] in my atest.js. And after getting it I want to access topics and posts of the forum and based on that i want to make summary html page.
var curForum; forums = companyhome.childByNamePath("Forums"); logger.log(forums.name); forumsChildren =forums.children; for(i=0;i<forumsChildren .length;i++) { child =forumsChildren[i]; if(child.id.equals(args["id"])) { curForum = child; logger.log("Current Forum Name : " + curForum .name); } }
I have used parametes like 1. SpaceDetailsBean.space - to get current forum as space - Got Exceptions2. ForumBean.forum - to get all children of the forum - Throws Exception in ArrayList