TechFuse 2012 Presentation: Microsoft CRM online development session

23
CRM Online Development Bart Sneary – VP CRM Solutions Neil Iversen – Principal

description

TechFuse presentation on how and why to develop with Microsoft CRM Online. Presented by Neil Iverson and Bart Sneary from Avtex.

Transcript of TechFuse 2012 Presentation: Microsoft CRM online development session

Page 1: TechFuse 2012 Presentation: Microsoft CRM online development session

CRM Online Development

Bart Sneary – VP CRM SolutionsNeil Iversen – Principal Architect

Page 2: TechFuse 2012 Presentation: Microsoft CRM online development session

Agenda

• Intro to CRM and XRM Framework • Whirlwind intro to CRM Development– Extensibility Options– Deployment Steps

• Integrating with CRM Online– Calling into CRM– Authenticating with Live ID

• Extending CRM Online– Allow CRM to Push Data– Azure End Point

Page 3: TechFuse 2012 Presentation: Microsoft CRM online development session

PC Browser Mobile

Marketing Effectiveness

Sales Productivity

Customer Care

Extended CRM Applications

RELATIONSHIPS | INTERACTIONS | PROCESS | INSIGHTS

xRM Framework

Microsoft Dynamics CRM: The End-to-End Solution

Page 4: TechFuse 2012 Presentation: Microsoft CRM online development session

• Entity/Attribute framework for table creation/relation• API’s of various kinds to talk to with SDK• Forms/Views/Search/.Net 4.0 UI already there• Access to client/server/workflow/API• Security Model (down to the field)• Browser, Mobile Web, Mobile Device, Outlook clients• Native Charts/Dashboards/SSRS Reporting• Option for cloud or premises-based app

Why Develop with CRM instead of Custom?

Page 5: TechFuse 2012 Presentation: Microsoft CRM online development session

Structure of CRM

Page 6: TechFuse 2012 Presentation: Microsoft CRM online development session

Economic Reasons for Using Cloud

CRM Online/Partner Hosted• Operating expense instead of large capital up-front outlay• Time to Value (instant on)• Software version is always current (user productivity)• Fewer IT resources needed• Utilize IT resources only to innovate, not maintain systems• Never overbuy licenses/can scale down as applicable• No reliance on any other particular infrastructure (like SQL, AD, or Exchange)• No need for VPN• Unlimited MS Support included**

** CRM Online Only

Page 7: TechFuse 2012 Presentation: Microsoft CRM online development session

Technical Reasons for Using Cloud

CRM Online• Access anywhere you can get to Internet• Universal Authentication Provider• Disaster Recovery included• Uptime SLA• Data security (MS datacenter standards)• Upgrades/Patches/Robust Hardware always in place as made available• Scale users up/down as needs change• Business Users in control of mundane administration of application so developers

can focus on building functionality• Remove connectivity to your datacenter as a single point of failure

Page 8: TechFuse 2012 Presentation: Microsoft CRM online development session

CRM Development – Common Extensibility• On Client– Form Customization

• On Server – Workflows– Plugins

• Off Server– SQL Database – Web Services• Multiple ways to access

Page 9: TechFuse 2012 Presentation: Microsoft CRM online development session

CRM Deployment• JavaScript Deployment• DLL Deployment• Solution Deployment– Managed– Unmanaged

Page 10: TechFuse 2012 Presentation: Microsoft CRM online development session

CRM Development - Plugin• Custom code that can be run on entities • Can be fired for different events• Sandbox– Level of protection for the server and data– Restricts the .NET calls available to the plugin– All Cloud deployed code runs in a sandbox

Page 11: TechFuse 2012 Presentation: Microsoft CRM online development session

DEMO: COMPLEX CALCULATION PLUGIN

Page 12: TechFuse 2012 Presentation: Microsoft CRM online development session

Interacting with CRM Online• Nearly identical to an On Prem installation• Authentication is the primary difference– Live ID is the default credential (other types are available)

• Understanding Authentication is key• Fiddler is great for debugging

Page 13: TechFuse 2012 Presentation: Microsoft CRM online development session

http://www.infoq.com/articles/ws-standards-wcf-bustamante

Page 14: TechFuse 2012 Presentation: Microsoft CRM online development session
Page 15: TechFuse 2012 Presentation: Microsoft CRM online development session
Page 16: TechFuse 2012 Presentation: Microsoft CRM online development session

Interacting with CRM Online• Live ID Authentication (on behalf of user)– Requires• Username• Password• Organization URL

• Object Model– AuthenticationProviderType.LiveId– Set User/Pass credentials– Microsoft.Crm.Services.Utility.DeviceIdManager.LoadOrRegisterDevice()

There be Dragons!

Page 17: TechFuse 2012 Presentation: Microsoft CRM online development session

DEMO: ACCESSING CRM FROM THE CLOUD

Page 18: TechFuse 2012 Presentation: Microsoft CRM online development session

Getting Data Out of CRM• No direct SQL Access for the Cloud• Asynchronous usage scenario– Examples• Portal Integration• Heavy calculation• Data Augmentation• Data Copy/Backup to another system

Page 19: TechFuse 2012 Presentation: Microsoft CRM online development session

Getting Data Out of CRM – Azure Service Bus• Azure provides a shared queue– Reliability– Durability

• Workers can consume work– Processing can take as long as required

Page 20: TechFuse 2012 Presentation: Microsoft CRM online development session

Cloud CRM and Azure Service Bus• Setup Azure – Access Control– Service Bus

• Setup CRM– Add Service Endpoint– Add Plugin to place in Service Bus

• Write Code to call Azure Service Bus

Page 21: TechFuse 2012 Presentation: Microsoft CRM online development session

DEMO: CRM AND THE AZURE SERVICE BUS

Page 22: TechFuse 2012 Presentation: Microsoft CRM online development session

Cloud CRM• Very similar to On Premise• Can Leverage other Cloud solutions• Can be Leveraged by other Cloud Solutions• Rich Platform to extend

Page 23: TechFuse 2012 Presentation: Microsoft CRM online development session

Questions?