Top Banner
Introduction to InfoPath and Best Practices Paul Galvin
17

Paul Galvin: Introduction to Infopath and Best Practices

Jun 14, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Paul Galvin: Introduction to Infopath and Best Practices

Introduction to InfoPath and Best Practices

Paul Galvin

Page 2: Paul Galvin: Introduction to Infopath and Best Practices

AgendaQuick ApologyAbout the speakerIntroduction to InfoPathBuilding a templateTemplate featuresTips and tricks- Including FBA

Page 3: Paul Galvin: Introduction to Infopath and Best Practices

About the Speaker

Paul GalvinSharePoint MVPComputer Generated SolutionsTwitter: @pagalvinBlog: http://www.mstechblogs.com/paul/

Page 4: Paul Galvin: Introduction to Infopath and Best Practices

Objective: Build a TemplateConsistency

Users will love itDevelopers more productive

Save time!

Page 5: Paul Galvin: Introduction to Infopath and Best Practices

Intro to InfoPathInfoPath Client on desktop/laptop

Design formsFill out forms (red-headed step child)Creating a template (XSN file) (really, a CAB)

Browser-enabled FormsMOSS EnterpriseReduced functionality

Page 6: Paul Galvin: Introduction to Infopath and Best Practices

Demo

Quick Form from scratch

Page 7: Paul Galvin: Introduction to Infopath and Best Practices

Intro to InfoPath

Overall ProcessDesign the form with the clientPublish the form to SharePointEnd users fill out the form

PublishingPublish as the template for a libraryPublish as a content type (becomes template for the CT and re-use the CT wherever CT’s are accepted)

Page 8: Paul Galvin: Introduction to Infopath and Best Practices

Building Forms Best Practices

Designing forms badly is very easyDesigning forms well is fairly easyMaintaining badly designed forms challenges the patience of Zen masters

Page 9: Paul Galvin: Introduction to Infopath and Best Practices

Best Practices - Consistency

Buttons- Save/Exit/Discard

Behavior- Confirmations- Explain consequences

Common functionality (views)

Page 10: Paul Galvin: Introduction to Infopath and Best Practices

ViewsMain Page- Embed instructions

Default hide?Consider an Instructions Page view

Naming Convention1. Main2. ApprovalP. PrintZ. Dev Notesetc.

Version numbers- Place directly on the form

Page 11: Paul Galvin: Introduction to Infopath and Best Practices

Views - Demo

Quick demo of views

Page 12: Paul Galvin: Introduction to Infopath and Best Practices

Form as a DatabaseStatusRecord ApprovalsInternal flags for dynamic hide/viewSave manager hierarchy"WasEmailed" flags

Page 13: Paul Galvin: Introduction to Infopath and Best Practices

Form as a Database

Quick demo

Page 14: Paul Galvin: Introduction to Infopath and Best Practices

Trick – Security via Custom ListsBusiness scenario:

- Don’t want to use AD or SharePoint groups to define business level approval groups

- (little kids)

Technique- Create a custom list- Item level permissions- Query the data source- Check to see if a result was returned

Demo

Page 15: Paul Galvin: Introduction to Infopath and Best Practices

Trick – Case Insensitive Comparisons

Use the translate() function

Demo

Page 16: Paul Galvin: Introduction to Infopath and Best Practices

ResourcesCase-insensitive comparisonshttp://paulgalvin.spaces.live.com/blog/cns!

1CC1EDB3DAA9B8AA!5664.entryhttp://tinyurl.com/yec655n

Page 17: Paul Galvin: Introduction to Infopath and Best Practices

Thank You!

Email: [email protected]: http://www.mstechblogs.com/paulTwitter: @pagalvin