Build a new class of apps that extend and personalize the way we create and consume information right from within Office.
Download
Report
Transcript Build a new class of apps that extend and personalize the way we create and consume information right from within Office.
Build a new class of apps that extend and personalize the way we create
and consume information right from within Office and SharePoint
New Apps
A new class of apps enabling new
scenarios and new user experiences
Familiar Toolsets
Embracing Web standards to provide
developers choice and flexibility
Flexible Lifecycle
Deploy and maintain your apps publically
on the new Office Store, or internally with
Flexibility and control
SharePoint
Web
Your Hosted
Site
SharePoint
Web
Azure
Host
web
Client side technologies and
declarative workflows
App Web
(from WSP)
SharePoint
Web
App
Web
App
Web
SharePoint Web
App Web
Lists and
other data
Azure
SharePoint
Web
Your Hosted App
Logic
HTML / JS UI
Workflow
Lists and other data
Other Resources
e.g. CRM
Your
Hosted
Site
Submit an
Idea
Ask a
Reviewer to
Review
Accepted
Create an
event on the
Calendar
Ask the
Speaker to
Upload Slides
Wait for
Review
Ideas List
Rejected
Send a
Decline Email
Calendar
Tasks List
Idea in
Review
OnBypass
OnReviewed
Ideas List
Idea
Reviewed
Calendar
OnAccepted
OnRejected
Tasks List
Idea
Accepted,
Do Planning
Idea
Rejected,
Send Email
Bypass
Approval UI
AfterPlanning
Final State
AfterEmail
Workflow Services Manager
Deployment
Instance
Subscription
Messaging
Interop
Service
Service
Service
Service
Service
function initWorkflowServicesManager() {
//Context retrieved. Now retrieving WorkflowServicesManager.
_wsm = new SP.WorkflowServices.WorkflowServicesManager.newObject(_hostCtx, _hostWeb);
_hostCtx.load(_wsm);
_hostCtx.executeQueryAsync(initWorkflowDeploymentService);
}
function initWorkflowDeploymentService() {
//Now retrieving WorkflowDeplyomentService.
_wds = _wsm.getWorkflowDeploymentService();
_hostCtx.load(_wds);
_hostCtx.executeQueryAsync(
validateWorkflowDefinition,
function (sender, arg) { handle(arg.get_message(), arg.get_stackTrace()) }
);
}
function validateWorkflowDefinition() {
//Test for valid workflow Xaml.
_result = _wds.validateActivity(xamlTextarea.value);
_hostCtx.executeQueryAsync(
function () {},
function (sender, arg) { handle(arg.get_message(), arg.get_stackTrace()) }
);
}
function saveWorkflowDefinition() {
//Save the workflow Xaml.
_wDef = new SP.WorkflowServices.WorkflowDefinition.newObject(_hostCtx, _hostWeb);
_hostCtx.load(_wDef);
_hostCtx.executeQueryAsync(
function () {
_wDef.set_xaml(xamlTextarea.value);
_wDef.set_displayName(displayNameTextarea.value);
_result = _wds.saveDefinition(_wDef);
_hostCtx.executeQueryAsync(
function () {},
function (sender, arg) { handle(arg.get_message(), arg.get_stackTrace()) }
);
}
);
}
function getDesignerActions() {
//Display supported designer actions.
_result = _wds.getDesignerActions(_hostWeb);
_hostCtx.executeQueryAsync(
function () {},
function (sender, arg) { handle(arg.get_message(), arg.get_stackTrace()) }
);
}
Search for
Movies
Movie List
Update Data
MySPC
http://myspc.sharepointconference.com