2013 mn it govt symposium - implement no code solutions with sharepoint and infopath
DESCRIPTION
Presentation how ways to use SharePoint and InfoPath to create a no-code business solution.TRANSCRIPT
![Page 1: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/1.jpg)
2013 Minnesota Government IT SymposiumFor State Agencies, Counties, Cities, Higher Education and Nonprofits
December 10-12, 2013 RiverCentre, St. Paul, MN www.mngts.org/itsym
(Presented by GTS Educational Events)
Session #98Implementing No Code Solutions with SharePoint and InfoPath
Donald Donais, Avtex Consulting LLC
Thursday, December 12th, 20131:30-2:30 p.m.
![Page 2: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/2.jpg)
SharePoint 2013 OverviewApril 9, 2023
![Page 3: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/3.jpg)
Avtex SharePoint [email protected]
Blog – Tales from IT Sidehttp://talesfromitside.wordpress.com
Twitter@dondonais
Donald Donais
![Page 4: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/4.jpg)
Agenda
• Before You Build• What Tools Are We Using?• Base InfoPath Knowledge• Base SharePoint Knowledge• InfoPath Features and Capabilities• Tips for Automation• Other Considerations
![Page 5: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/5.jpg)
BEFORE YOU BUILD
![Page 6: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/6.jpg)
Answer Basic Questions• Is There a Workflow Involved?
Translation of Business Process into SharePoint Workflow/Forms
• What is needed in the form? Fields for Form Information Fields for Workflow Interactivity within the Form Data Connectivity Browser vs. Client
• What is the Overall Solution? SharePoint List and/or Workflow InfoPath Form and/or Workflow .NET Form and/or Workflow 3rd Party Form and/or Workflow
![Page 7: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/7.jpg)
WHAT TOOLS ARE WE USING?
![Page 8: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/8.jpg)
SharePoint Tools
• SharePoint SharePoint 2007 SharePoint 2010 SharePoint 2013 SharePoint Online P1 & P2
• SharePoint Specific Version SharePoint Standard or Online P1 – InfoPath Client/Filler
Only SharePoint Enterprise or Online P2 – InfoPath
Client/Filler or Web Form
![Page 9: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/9.jpg)
SharePoint Tools
• InfoPath SharePoint 2007 = InfoPath 2007 – 2013 SharePoint 2010 = InfoPath 2010 – 2013 SharePoint 2013 = InfoPath 2013
• Document Process Mapping Tool Visio XMind Etc.
![Page 10: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/10.jpg)
BASE INFOPATH KNOWLEDGE
![Page 11: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/11.jpg)
What Is InfoPath?
• Drag and Drop Experience WYSIWYG
• InfoPath Forms Divided Yet United Template = .xsn Data = .xml
• Data Permanently Connected to Template Template Changes – So Does the XML In Other Words – Delete a Field, There Goes Your Data
• Client Options InfoPath 2007 = One Application InfoPath 2010 & 2013 = Designer and Filler Applications
![Page 12: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/12.jpg)
BASE SHAREPOINT KNOWLEDGE
![Page 13: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/13.jpg)
SharePoint with InfoPath
• SharePoint Form Libraries Standard and Enterprise Versions InfoPath Template (XSN) is Content Type
• SharePoint Lists/Libraries (Apps) Can be Used as Data Source
• InfoPath Form Services Enterprise and P2 Available Web Form
![Page 14: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/14.jpg)
SharePoint Specific Features
• Out of the Box Web Parts Form Services Web Parts or Apps
• SharePoint Web Services Web Services Used to Pull Information Example: Automatically Populate Users Name in form
• Data Connection Libraries Sometimes Needed – Working In Claims SharePoint
Environment Or Connecting to Other Data Sources
![Page 15: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/15.jpg)
INFOPATH FEATURES AND CAPABILITIES
![Page 16: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/16.jpg)
Validation• Create Custom Validation Scenarios• Require Something to Exist• Validate the Format
![Page 17: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/17.jpg)
Formulas
• Functionality Without Coding
• Compare Fields• Change Field Values• Work with Dates/Times• Simple Math Functions• Retrieve User Name
(userName)
![Page 18: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/18.jpg)
Rules• Based on Formatting or
Action• Actions Include:
Set a field’s value Query for Data Submit data Send Data to Web Part (2010
& 2013)• Use Conditions to Control
When the Rule is Used
![Page 19: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/19.jpg)
Views
• Different Layouts Possible
• Still Based on the Same Data
• Not All Fields Need to be Displayed ‘Read Only’ View Print View
• Restrict View to a Specific User Role
![Page 20: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/20.jpg)
Web Based Forms
• SharePoint 207-2013 InfoPath Form Services• Fill Out Forms Via the Web
InfoPath Client NOT Required
• .NET Code-Behind Supported Requires Publishing to Forms Server
• Smart Client Only Features: Most Controls Filters, Roles, Conditional Formatting, Rules and
Validation Some Script, Custom Task Panes
![Page 21: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/21.jpg)
InfoPath – Enabling Web Forms• Compatibility Checker
Checks for Feature Compatibility
Browser Checker InfoPath 2003 Filler InfoPath 2007 Filler and
2007 Web Browser Form InfoPath 2010 Filler Form
and Web Browser Form InfoPath Filler Form (2013)
and Web Browser Form (2013)
![Page 22: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/22.jpg)
InfoPath – Connecting to the Outside World• Can Be Connected to
Multiple Data Sources Web Service SQL Database Xml Document SharePoint List
• Pull in Dynamic Data• Connection Library
Uses Office Data Connection
SharePoint can Host Many Connections
![Page 23: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/23.jpg)
Demo• Create Expense Report
![Page 24: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/24.jpg)
TIPS FOR FORM AUTOMATION
![Page 25: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/25.jpg)
Using Default Values
• Some Information Needs Default Values
• Example: Date of Submission
• Simply Use Function – Today()
• Use In Combination with Read Only Field
![Page 26: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/26.jpg)
Automatically Display User Info• User Profile Service
Available Formula Option: username() User Profile Service Data
Connection Other Properties Available
• Data Connection http://ServerName/_vti_bin/
UserProfileService.asmx?WSDL
GetUserProfileByName
![Page 27: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/27.jpg)
Cascade Dropdowns
• Data May Need to be Related to an Item• Other Fields Become Populated• Data Connections to SharePoint List• Data Connection Contain Data and Query
Data to Display Specific Information Query to Retrieve Information to Use In Form
• Can Use a Rule to Trigger the Cascade to Other Fields
![Page 28: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/28.jpg)
Demo• Working With User Profile• Cascade Dropdowns
![Page 29: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/29.jpg)
OTHER CONSIDERATIONS
![Page 30: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/30.jpg)
Adjusting Form Options• Web and Filler Options
Capabilities of Removing Save, Close, Views, etc.
• Offline Capabilities Fill Out Form If Not Connected To
Data
• Email Attachments Options for Email Form through
Microsoft Outlook
• Property Promotion Used to Move Fields to be Columns
in SharePoint
• Compatibility Version of InfoPath/SharePoint
Working With
![Page 31: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/31.jpg)
Deployment of InfoPath Forms• SharePoint Form Library
Presentation Was About This Method Use This Method Doing One Off
Deployments
• SharePoint Content Type Deploy Once and Reuse Define Several InfoPath Forms for
One Library
• Admin-Approved Form Template Deploy When Have C# or VB Code
and Need Web Form Done Through Central Administration
or PowerShell
![Page 32: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/32.jpg)
InfoPath and Office – The DIP
• InfoPath Fragment Usable Inside of Office
• Facilitates Metadata Entry
• Associate InfoPath Form with a Content Type
• Associate a Content Type with a Document Library
• New Documents will Contain the Custom DIP
![Page 33: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/33.jpg)
Customizing SharePoint Lists
• SharePoint Lists New/Edit Forms• Add New Fields• Rearrange Existing Fields• Apply themes• Add Validation Rules• Add Views
![Page 34: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/34.jpg)
Web Forms and URL’s• InfoPath URL’s = UGLY!
• Some Components Not Needed Remove %2F, %3A, %2E, etc. from URL
• Components Needed Server Name – http://portal.Contoso.com/demo/layouts/FormServer.aspx? Xsn Location –
XsnLocation=http://portal.Contoso.com/demo/CheckRequest/Forms/template.xsn
• Add Other Components &Source=URL to redirect after close &DefaultView=ViewName
![Page 35: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/35.jpg)
Extending InfoPath
• Web Service Calls to LOB data Ability to Use Familiar Development Tools
• JScript Coding Easy to Deploy in InfoPath Client Lacks the Power of .NET
• .NET Code Behind Full .NET Connectivity More Difficult to Deploy Visual Studio and Source Control Issues
![Page 36: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/36.jpg)
Q & A
![Page 37: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/37.jpg)
Resources
• Deployment of InfoPath Forms http://bit.ly/1elqfHI
• Connect URL to Specific Form or view http://bit.ly/1aUTHzi
• Tips and Tricks for Making Form Filling Faster http://bit.ly/1izX5r5
• InfoPath – Query Specific SharePoint List Data http://bit.ly/1dmTjSf
• InfoPath User Profile Within SharePoint Claims Environment http://bit.ly/xZTRw5
![Page 38: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/38.jpg)
MN SharePoint Users Group Website
• SharePoint Resource Documents• SharePoint Resource links• RSS Feeds • Meeting Schedule• Past User Group Presentations• Past User Group Recordings• Sponsorship Information
• http://sharepointmn.com• Email: [email protected]
![Page 39: 2013 MN IT Govt Symposium - Implement No Code Solutions with SharePoint and InfoPath](https://reader034.vdocuments.site/reader034/viewer/2022051609/54809638b4af9ff2518b456c/html5/thumbnails/39.jpg)
THANK YOU!Avtex IT Pro Consultant
Blog – Tales from IT Sidehttp://talesfromitside.wordpress.com
Twitter@dondonais