Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

34

description

 

Transcript of Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Page 1: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010
Page 2: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Developing no-code solutions for SharePoint 2010 with InfoPath 2010 and SharePoint Designer 2010

Toni FrankolaSharePoint MVP

Acceleratio d.o.o.http://sharepointusecases.com@ToniFrankola

Page 3: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010
Page 4: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010
Page 5: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Agenda

• Motivation for no-code solutions• Tools

– SharePoint Designer– InfoPath

• Office365 – the future in the cloud

Page 6: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Prerequisites

• Target audience: Site admins, power users

• Previous exp. with SharePoint 2007 or 2010• Knowledge of something like HTML, XML...

– Javascript is a plus

• InfoPath ≠„info path” ili „Infopath”

Page 7: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

The tools

Page 8: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

SharePoint 2010 Editions

Feature / Edition Foundation Standard Enterprise

Price FREE Server License+ Standard CALs

+ Stanard pricing+ Enterprise CALs

Form libraries + + +

Open forms in InfoPath + + +

Open forms in Web Browser - - +

Customize list forms in InfoPath

- - +

Page 9: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

SharePoint Designer 2010

• (new) Fluent UI• (new) Manage

– Content Types– Columns– Views– Custom Actions– Content (pages, structure…)

• (Improved)– Workflow management + new actions– Editing page properties

Page 10: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

What’s new in InfoPath 2010• New fluent-UI• Pre-built Page and Section Layouts• New controls (Picture buttons, Hyperlink, Date

and time picker, Person/Group pickers, Signature Line)

• New Rules and UI• Quick publish• Customize List forms via InfoPath• Use in SharePoint Workspace

Source: http://goo.gl/MYWW5

Page 11: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

InfoPath applications• Designer

– Office client application required to design forms

• Filler– Office client application used to fill forms

• Browser– InfoPath form displayed in browser

Page 12: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

InfoPath Features MatrixCONTROL 2010 BROWSER 2010 FILLER 2007 BROWSERCombo Box X XMultiple-Selection List Box X XBulleted List X XNumbered List X XPlain List X XPerson/Group Picker X X XExternal Item Picker X XPicture Button X XVertical Label XPicture X XInk Picture XHyperlink X XSignature Line XScrolling Region XHorizontal Region XRepeating Recursive Section XHorizontal Repeating Table XMaster/Detail XChoice Group X XRepeating Choice Group XChoice Section X X

Bulleted, numbered, and plain lists, multiple selection list boxes, Combo boxes, Choice group and sections, and Filtering functionality.Source: http://goo.gl/bB9LO

Page 13: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

SP Designer vs. InfoPath

SPD IP

$$$

Simple

Limits

Foundation

More complicated

Unlimited options

Page 14: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Adjusting UI

Quick-Launch?

What’s this?

Page 15: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

DEMO

• Adjusting Blog UI

Page 17: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Workflows

• New– Reusable workflows

• Not list dependant• SharePoint Designer Export/Import• Activated as a feature

– Site workflows– New actions– Impresionalization

Page 18: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

The hottest workflow?

• Annual leave approval• Day counters, permissions

Page 19: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

SharePoint forms

Page 20: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

SPServices

• http://spservices.codeplex.com• JQuery library• Form ehancements…

Page 21: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

JQuery best practices

• Don’t use CEWP• Central repository• Use it as a feature (if possible)

Page 22: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

DEMO

• Upgrading forms with SPServices

Page 23: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Data view web part

• The „hidden” jem– Only via SP Designer

• Show dana from other sources

• List joins• You can adjust output

Page 24: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Adjustments (wizard)

• Conditional formatting• Inline editing• Show/Hide content• Sorting, groups and other• For advanced SP peeps: XSLT

Page 25: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

DEMO

• Quick reports with DVWP

Page 26: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Business data list (web part)

DB

BCS

XSLT

Page 27: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

How this works…

• Formatting example:

• Best practices: Save XSLT code• Similar:

- Search- Blog posts- Content Query Web Part- …

Page 28: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

InfoPath

Page 29: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

Better applications with InfoPath

• Easy to use• Quick dev• WOW effect!• My favourite • Word „forms” > InfoPath forms

– Validations, checks, db integration, UI customization

SPD IP

Dodatni troškovi

Jednostavan

Ograničen

Foundation

Kompliciraniji

Široke mogućnosti

Page 30: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

DEMO

• InfoPathmagic

Page 31: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010

office365

• No-code = „Cloud ready”• SP Designer, InfoPath, Sandboxed

Page 32: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010
Page 33: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010
Page 34: Windays 2011 - SharePoint no-code solutions with InfoPath 2010 and SharePoint Designer 2010