Beruflich Dokumente
Kultur Dokumente
Bátorfi Zsolt
platform szakértő
Microsoft Magyarország
Napirend
I. Funkcionális áttekintés
Fejlesztési irányvonalak
Tartalomkezelés
Csoportmunka
Workflow
Üzletintelligencia
Kliens oldali újdonságok
Napirend, folyt.
II. Architektúrális áttekintés
Fundamentumok, fejlesztői szemmel
Rendszerfelépítés
Tárolási modell
Biztonság
Keresés
Eseménykezelés
Workflow
Megoldások csomagolása, telepítése
Fejlesztőeszköz támogatás
Napirend, folyt.
III. Megosztott szolgáltatások
Excel Services
Report Center
Form Services
Document Repository
Web Content Management
Business Data Catalog
Fejlesztési irányvonalak
Collaboration Content
management
Portals
Search
Streamlined Business
processes intelligence
Word Business
processing modeling
Business
data
Presentations managemen
t
Information
Management
Extranet
Enterprise Internet
Division
Team
Individual
producing, managing, and securing any kind of
content
http://contoso/mysite SPSite
Lists And Libraries
Fields and Field Types
Customizable Lists and
SPSite
Libraries
SPWeb (Root)
Field Types:
SPList (Catalog)
SPListItem
Rich Text
Choice
SPFolder
SPFile Currency
(plus other lists and libraries)
Lookups to Lists, Users
SPWeb Calculated Columns
SPFolder
SPFile
(plus other lists and libraries)
Libraries
Check-in/Checkout
Check-in/Check-out of files
What’s New?
Required Checkout
Stricter version enforcement
Better control in multi-user situations
Required Properties Enforcement
Documents with missing properties are
checked out by default
Can’t check in with missing properties
MajorCampaign.doc
Lists 3.0 – Public Version
Versioning
3.1 – Only
authors can
Basic Versioning see
What’s New? Check-
out
Major/Minor Versioning
Major Versions are 3.2 – Only
“Published” – all readers user with
document
can see checked out
Minor Versions are can see
“Drafts”
Check-in
3.2
Office Team
Customer
Research
Auditing
Track Changes on Data
SPWeb
SystemUpdates
SPContext
SPList
SPListItem
Use this in web pages!
SPFolder SPUtility
SPFile
Extensible Admin
(plus other lists and libraries)
Objects
Search Development
Customize/extend Search Center
Add tabs
Modify XSLT, CSS on results
Modifying query parameters
Custom search Web Parts
Customize alerts
Custom search Web service clients
Index custom data
Protocol handlers and IFilters
Business Data Catalog
Search Center
Anatomy Of Results Page
SEARCH BOX HIDDEN SHARED OBJECT
ACTION LINKS
STATISTICS PAGINATION
MATCHING
KEYWORDS
AND BEST BETS
Events
Control Built-In SharePoint Behaviors and Integrate with
WSS
What’s New?
Events on lists and libraries
Pre-synchronous with cancellation and filtering
Multiple event receivers
Event Receivers per-list Item
Bind Events at Web or Item Level
List schema events
Web deletion events
Office Workflow
Ecosystem Access
SharePoint
Authoring
BrowserDesigner
OutlookApps
UI
SharePoint Services
Source Task
List List
History Reporting
List & Admin
Initiation and
parameter
WF Web
setting
Wizard-basedService
authoring
Task Completion
Task
Initiation and
Administration
Notification
Forms
parameter
Reporting
Reporting/Status
integration
setting
Task
Initiation
Completion
Application
Ad-hoc
deployment
Customization
Parameter setting
(Forward/Delegat
Ad-hoc
e)
Customization
Task Completion
(Forward/Delegate)
Task Notification
and Completion
Workflow Authoring
Scenarios
Hoc
Structured
LOB
Integration
Custom Tracking
Apps
Service Requests
SharePoint Asset Tracking
Designer Workflow Custom Form Actions Document Processes
Email Notification Spec Review
Exception Handling Weekly Status Report
Tracking Applications
Out-of-the-Box Issue tracking
Solutions
(with customization) Routing and Approval Office Server Features
Review – Approval List Moderation
Ad
Signature collection Publishing Process
East Asian workflow Document Expiration
Workflow Authoring Tools
SharePoint Designer (Web Designer) Visual Studio (Pro-Dev)
Activities Activities
Re-use OOB/deployed activities Re-use OOB/deployed activities
Can author new activities
Forms Forms
Auto-generated Forms Designed Forms
-ASPX -InfoPath
-ASPX
Deployment Deployment
Workflow authored live against server Solutions package generated
Runtime compilation Box administrator installable
Windows Workflow
Foundation
Extensible framework and tools for building
workflow into Windows applications
Common workflow technology for Microsoft
products, ISVs and customer solutions
A framework to build on – not a server or
application
Key features
Unified model for human and system workflow
Extensible activity framework
Allows workflows to run in any application or server
Visual designer for graphical and code-based authoring
Availability
Included in WinFX – powers Office “12” workflow
Windows Workflow
Foundation Visual Designer
Key Concepts
Workflows are a set of activities
Activities are the building blocks A Workflow
Workflows run within a Host Process:
Any application or server
An
Developers can build their own Activity
Custom Activity Libraries
Components Custom Activity Library
Base Activity Library: Out-of-box Windows
activities and base for custom Workflow Foundation
activities
Runtime Engine: Workflow execution Base Activity Library
and state management
Runtime Services: Hosting flexibility Runtime Engine
and communication Runtime Services
Visual Designer: Graphical
and code-based construction Host Process
Visual Studio Workflow
Designer
The Visual Studio Workflow Designer
Provides a project system for developing
workflow solutions
It lets you quickly define a workflow
graphically
Drag activities from Toolbox onto design
surface
Configure activity properties in Properties window
Code-beside for business logic (your code)
Provides a mechanism for compiling workflows
Integrated workflow and code debugging
What Are Activities?
Workflow consists of Activities…
The workflow itself is an Activity
Activity is the basic building block
Unit of Reuse
Unit of Execution
Has associated properties, conditions and events
Configured in Markup and/or Code
Supports pre/post interception hooks into execution in
user code
Activities fall under two broad categories
Basic
Composite
Office Activity Examples
Workflow Document
Workflow History Entry Send To Official File
Audit Entry Get Range (XLServer)
Task Management Translate Document
Create Task Web
Complete Task Send email
On Task Change Create alert
Delete Task Validate User Rights
Canned Tasks Request Permissions
Review Task FP Only
Approval Task Calculator Action
Client side scrub task Create Random Number
Item Render ASPX Page to HTML
Update Item Assign Survey Task
Copy/Delete Item
On Item Change
Office Workflow Host
WSS host provides:
Persistence
Event Delivery
Timer
History and Reporting
WSS Application Integration
Workflow Foundation is hosted in
WSS process on all front-end
machines
Workflow instances are aggressively
Development Steps
Site Settings
View Welcome
ToolBar Menu
“ECB”
What Is Provisioning?
Core component of the SharePoint
platform
Users choose site definition
Site definition defines your web application
Web Site
Site Definition Provisioning
Instances
XML/A or ODBO
Teradata
DW UDM
Ad-Hoc Reports
Rich Reports
Oracle Cache
DB2 LOB
Dashboards
Excel Services
What is it?
Design and
author Export/Snapshot into Excel
Save to
SharePoint Programmatic Access Excel 2007
HTML rendering + web services Web Front End Web Front End
Application server
Excel Web
Access Web Front End
Excel Web
Services
Excel Web
Access
Excel Web
Services
Functions
Application Server Services
Application Server
Solution platform User-Defined
Functions
Excel Calculation
Services
User-Defined
Functions
Excel Calculation
Services
Capabilities
Business logic
Publish XSN execution
Forms
Replay event
log
InfoPath
Generate
ASPX
Designer
XSN WSS
Download Download
Return
script and
XSN, XML
updated data
data array Postback event
array log via XMLHTTP
Take offline as needed
Capabilities
Business logic
execution
Forms
ASPX
XSN WSS
Postback event
log via XMLHTTP
Submit Submit
Smart Invocation
Open in smart client, if available.
- Links in document libraries, Web pages, email, etc.
Special URL parameters to force opening in browser
Design Once With Code
Design code once
Use new managed OM (CLR 2.0)
System.Xml. (No more MSXML)
Smart client
Code runs in client
Data connections called from client
Browser
Code runs on server
Data connections called from server
Conditional formatting, validation, rules, calculations:
– all run in browser (Ajax)
Out-of-band postback
Used for code, or for action that must run on server
Can control when postback happens:
Two Types Of Form
Deployment
Simple publishing by end users
Publish directly from InfoPath to
SharePoint
as document library
or create Site Content Type
(for use in multiple doc libs)
Form templates must be:
Without code
Domain trust
Data connections using Data Connection
Library
Two Types Of Form
Deployment
1. Upload to server by administrator
Publish from InfoPath ready for upload
to Office Server
Administrator then uploads via central
administration site, or command line
Form can then be activated to any
Site Collection
Supports forms with
Code
Data Connections managed by administrator
Full trust
Mobile
Server Administration
Server administrator is the gatekeeper of
forms with code:
Controls the form lifecycle
Upgrade forms with no down-time
Gracefully retire forms with quiescing
Makes forms available to site collections
Any form template can be used in multiple places
across
the server
Site content type for each form template
Improved library integration and sharing
Uses standard WSS administration tools:
Central admin site, command line, and object model
InfoPath-SharePoint
Integration
Key Investments
Browser Forms
Form Collaboration and Template
Reuse
Workflow
Form Conversion for Archiving
Smart Client:
Hosting In Windows Form
Managed and unmanaged InfoPath form
control
Examples:
Document Information Property Editor
Workflow Dialogs
Automate
OM and events for Host/Control interaction
IOLECommandTarget for full control
Caveats
ActiveX will not load in browsers (security)
Web Site Integration:
1. Launching Forms From
Links
Document Libraries
Smart invocation
Browser setting
Links in Web pages or documents
Additional query parameters can control
behavior
XsnLocation - What form to open and from where
XmlLocation - What initial data to use
OpenIn - Open in browser / client / either
SaveLocation - Save Location for data
Source - Navigate URL when form is closed
http://mySite/_layouts/formserver.aspx
?xsnlocation=/formservertemplates/loanapplication.xsn
&openin=browser
Web Site Integration:
2. Hosting Forms Aspx Pages
Create custom pages containing InfoPath
forms
Place other chrome and controls around the
form
Dynamically load forms
Change the data in the form
Get the data from the form
After the form has been submitted…
Caveats
ASPX page needs to run on Office “12” server
where forms services are available
The Goals Of
Records Management
Reduce risk of non-compliance and
legal liability
Records Manager
Organize,
Maintain, &
Dispose
Search,
Collect
Hold, &
Triage
Lawyers &
Knowledge Worker / Paralegals
Records Custodian
Records Warehouse
Our Records Repository
Records Manager
Organize,
Maintain, &
SMTP & SOAP OFI Dispose
Collect Records
Search,
Repository
Hold
Hold, &
Triage
Knowledge Worker / Policy “Vault”
EnforcementBehaviors
Records Custodian Lawyers &
Paralegals
Windows SharePoint
Services
Our Records Repository
“Ship” To
Records Nondigital
Custodian records
Records Manager
Organize,
3rd-party
imaging Maintain, &
SMTP & SOAP OFI Dispose
Knowledge Desktop
Worker Items Official File
Records Search,
Send To Hold, &
Repository
Hold
SharePoint Triage
Lawyers &
Documents Policy “Vault”
EnforcementBehaviors
Paralegals
Standard funkcionalitás:
Versioning Workflow
Check-in 2 Stage
and out Undelete
FileName PageLayout Title Body Image
Welcome.aspx PageLayout.aspx Welcome To News Lorem ipsum dolor sit ... /Images/Chair.jpg Content types Link Fix-
Access control up
etc.
Egy mesterlap anatómiája
<link rel=“stylesheet”<SharePoint:SiteActions
…> …>
Login control
Editing control
CSS hivatkozás
…Tetszőleges tartalom
vagy ASP.NET egyedi kontrol/WebPart
Tárolási modell
Webhelyek gyűjteménye
Hierarchikus tárolás
Többszintű hozzáférés szabályzás
Beépített navigációs forrás
Az oldalak dokumentumtárakban helyezkednek el
A sablonok kötött listákban tárolódnak (Master Page Gallery)
A vizuális elemek (CSS, XSLT) elkülönülnek (Style Library)
Home (web)
= Pages library
(Doc library)
Konverterek
docx
WordML
XML
XSN
Word Web-based
Authoring Authoring
Content
Deployment Requests Internet
Approval Web Front End
NLB
Approvers Workflow
` DBServer
Production
Authoring Farm Farm Internet
Az internetes webhelyek
típusrendszere
hotmail.com Alkalmazás orientált
local.live.com
msn.com
xbox.com
msdn.com
WS ADO.NE
Proxy T
Web
Database
Service