You may request notification for Writing to LAMS database. |
1:
Writing to LAMS database
By: Praveen Pawar
|
06/15/09 06:38 PM | |||
Hello all,
I have used the Tool Builder to build a custom tool based on the Notebook tool. I have added a link in the Basic tab that launches an external application. There are a few steps taken in this application, but ultimately, the output of this application is simply a URL. I would like this application to report the URL back to LAMS, for the particular instance of the activity for a given saved learning design. I was thinking a sound approach would be to create a JSP page in LAMS and have the application call the JSP page, passing in the toolContentID, contentFolderID and the URL in the request. Something along the lines of: http://lamsurl:8080/lams/www/addlinks.jsp?&toolContentID=19&contentFolderID=8abde6e621e28c990121e29d89e20071&URL=www.testurl.com I would then like to save the URL in the tl_activityname11_content table, in the content field. Does anyone have any tips on how this could be achieved? At a broader level, what is the best way of invoking a JSP page and performing an update on the LAMS database? Many thanks, Praveen. Posted by Praveen Pawar |
Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum