diy suggestion box

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

Upload: aelwen

Post on 22-Jan-2016

73 views

Category:

Documents


0 download

DESCRIPTION

DIY Suggestion Box. Glen Parker System Administrator University of South Florida. 10000ft. Demo Dissection Discussion. Overview. bb-manifest file entry points & permissions config file, data storage sending email bbUI:list. Overview (again). bb-manifest file - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: DIY Suggestion Box

DIY Suggestion Box

Glen ParkerSystem Administrator

University of South Florida

Page 2: DIY Suggestion Box

•Demo

•Dissection

•Discussion

10000ft

Page 3: DIY Suggestion Box

Overview

•bb-manifest file

•entry points & permissions

•config file, data storage

•sending email

•bbUI:list

Page 4: DIY Suggestion Box
Page 5: DIY Suggestion Box
Page 6: DIY Suggestion Box
Page 7: DIY Suggestion Box
Page 8: DIY Suggestion Box
Page 9: DIY Suggestion Box
Page 10: DIY Suggestion Box
Page 11: DIY Suggestion Box
Page 12: DIY Suggestion Box
Page 13: DIY Suggestion Box
Page 14: DIY Suggestion Box
Page 15: DIY Suggestion Box

Overview (again)

•bb-manifest file

•entry points & permissions

•config file, data storage

•sending email

•bbUI:list

Page 16: DIY Suggestion Box

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>

Page 17: DIY Suggestion Box

bb-manifest.xml

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

Page 18: DIY Suggestion Box

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

Page 19: DIY Suggestion Box

bb-manifest.xml

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

Page 20: DIY Suggestion Box

Overview (again)

•bb-manifest file

•integration points & permissions

•config file, data storage

•sending email

•bbUI, bbNG

•bbUI:list

Page 21: DIY Suggestion Box

config files

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

Page 22: DIY Suggestion Box

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");

Page 23: DIY Suggestion Box

data storage

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

Page 24: DIY Suggestion Box

Overview (again)

•bb-manifest file

•integration points & permissions

•config file, data storage

•sending email

•bbUI, bbNG

•bbUI:list

Page 25: DIY Suggestion Box

sending email

Session MimeMessa

ge InternetAddress

Properties

Transport.send();

Page 26: DIY Suggestion Box

Overview (again)

•bb-manifest file

•integration points & permissions

•config file, data storage

•sending email

•bbUI

•bbUI:list

Page 27: DIY Suggestion Box

bbUI / bbNG

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

Page 28: DIY Suggestion Box

bbUI / bbNG

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

Page 29: DIY Suggestion Box

QuestionsGlen [email protected]

Slides & Noteshttp://presentation.glenparker.net

Also on http://edugarage.com