Upload
gene-vangampelaere
View
1.161
Download
1
Tags:
Embed Size (px)
DESCRIPTION
The last 3 months 3 students of Howest (New Media and Communication Technology) did an internship at Howest. They all had to use SharePoint as an application platform. At the end of this internship they want to share their tips & tricks to the SharePoint community. The following topics will be discussed: SPServices, JQuery, Custom webparts and the use of SmartPart. They will do this in a live webcast on june, 14th at 04PM-04:30PM (GMT+1 – European time) Feel free to join the webcast and to provide them some feedback!
Citation preview
WEBCAST #SHAREPOINT INTERNSHIP AT HOWEST
Lynn Franceus & Tom Cracco
Why use it?
Javascript Customising of SharePoint forms with
extra functions More user usability possible
Easy to implement
SPCascadeDropdowns
Only related information visible
List Student has a field Opleiding so its able to depend on the selected HowestOpleiding-item
SPCascadeDropdowns
SPLookupAddNew
Add new item in list while filling in an form
Add new item Return to original
form Re-enter previous
filled fields
SPDisplayRelatedInfo
See read-only fields from item
Able to check if correct item is selected
Start workflow
Add column/ datafield in XSLT Data View
Onclick-methode on text to start javascript-function
1 easy click instead of 4
By Tom Cracco
Object Model & Use of SmartPart
Object Model
Retrieving information
Retrieving current SharePoint site collection SPContext.Current.Site
Possibility of CAML Query
Value from column: data-object =<SPListItem-
Object>(“static column name”)
Object Model
Saving Information
Retrieving new blank item <SPList-object>.Items.Add
Writing to column <SPListItem-object>(“static
column name”) = data-object
Saving item <SPListItem-
object>.Update()
Use of SmartPart
Creating User Control for Smartpart
Open Visual Studio
New website project
Add new ASP.NET User Control
After build: copy ‘.ascx’ and ‘.ascx.vb’
from project map to usercontrols map on SharePoint server
Use of SmartPart
Adding SmartPart to webpage
Add new webpart
Select SmartPart ( with AJAX)
Use of SmartPart
Adding User Control to SmartPart
Select user control to be displayed