DIY Suggestion Box Glen Parker System Administrator University of South Florida.

29
DIY Suggestion Box Glen Parker System Administrator University of South Florida

Transcript of DIY Suggestion Box Glen Parker System Administrator University of South Florida.

DIY Suggestion Box

Glen ParkerSystem Administrator

University of South Florida

•Demo

•Dissection

•Discussion

10000ft

Overview

•bb-manifest file

•entry points & permissions

•config file, data storage

•sending email

•bbUI:list

Overview (again)

•bb-manifest file

•entry points & permissions

•config file, data storage

•sending email

•bbUI:list

bb-manifest.xml <module-type ext-ref="suggestions" title="Suggestions for new Blackboard Features" uicreatable="false"><jsp-dir>module</jsp-dir><jsp><view>view.jsp</view> </jsp> </module-type>

bb-manifest.xml

<module type="suggestions" useraddable="false" isadmin="true" isdeletable="true" isdetachable="true" title="Suggestions for new Blackboard Features ">... </module>

bb-manifest.xml <application handle="suggestions" type="shared" ...> <link> <type value="tool"/> <type value="course_tool"/> <type value="system_tool"/> </link>

Blackboard_Building_Blocks_Developer_Guide_for_Release_8.pdf

bb-manifest.xml

“attribute” name=user.authinfo actions=get “attribute” name=user.personalinfo actions=get “socket” name=* actions=connect,resolve

Overview (again)

•bb-manifest file

•integration points & permissions

•config file, data storage

•sending email

•bbUI, bbNG

•bbUI:list

config files

usf-suggestions/ |---config/ |---custom.properties |---data/ |---webapps |---WEB-INF/ |---module/ |---........

config files

File dir = blackboard.platform.plugin.PlugInUtil. getConfigDirectory("usf","suggestions");dir = /usr/local/blackboard/.../plugins/usf-suggestions/config/

File cfg = new File(dir,"custom.properties");

data storage

SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmss"); Date mydate = new Date();String filename = sdf.format(mydate) + ".txt";example data file: 20090716170000.txt

Overview (again)

•bb-manifest file

•integration points & permissions

•config file, data storage

•sending email

•bbUI, bbNG

•bbUI:list

sending email

Session MimeMessa

ge InternetAddress

Properties

Transport.send();

Overview (again)

•bb-manifest file

•integration points & permissions

•config file, data storage

•sending email

•bbUI

•bbUI:list

bbUI / bbNG

public RequestRecord(String netid, String email, String fname, String lname, String phone, ..... String file) requestList.add(rec);

bbUI / bbNG

<bbUI:list collection="<%=requestList %>" objectId="ud"><bbUI:listElement label="Full Name" name="Full Name" comparator="<%= cmSortByLastName %>"><%=ud.getFullName() %> </bbUI:listElement>

QuestionsGlen [email protected]

Slides & Noteshttp://presentation.glenparker.net

Also on http://edugarage.com