Advanced InfoPath Development InfoPath / SharePoint 2010 Prepared By: Suzanne George Sr. Architect Perficient - Microsoft.

Slides:



Advertisements
Similar presentations
EBSCO Discovery Service
Advertisements

Scott Shearer SharePoint Evangelist/Developer FlexPoint Technology
SharePoint Forms All you ever wanted to know about forms but were afraid to ask.
©2011 Quest Software, Inc. All rights reserved. Steve Walch, Senior Product Manager Blog: November, 2011 Partner Training Webcast.
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
With Folder HelpDesk for Outlook, support centres and other helpdesks can work efficiently with support cases inside Microsoft Outlook. The support tickets.
Designing InfoPath Forms: The Dos and Donts Deploying InfoPath Forms: Making the right choice Adding custom business logicin case the built-in stuff isnt.
SP Business Suite Deployment Kick-off
SESSION TWO SECURITY AND GROUP PERMISSIONS Security and Group Permissions.
Microsoft Office 2010 Access Chapter 1 Creating and Using a Database.
Calendar Browser is a groupware used for booking all kinds of resources within an organization. Calendar Browser is installed on a file server and in a.
2013 Workflow Basics IN PLAIN ENGLISH FOR BUSINESS USERS.
Automating SQL Buildouts With Hyper-V and SQL Server 2008 R2 Robert L Davis, Sr. DBA, Microsoft Corp.
1 | SharePoint Saturday St. Louis 2015 SharePoint Adoption Broken? Learn how to fix it with Workflow and Forms! Mike Bueltmann Nintex
Slide 1 FastFacts Feature Presentation 12/16/2014 To dial in, use this phone number and participant code… Phone number: Participant code:
How to Use Microsoft PowerPoint What is PowerPoint? Presentation software that allows you to create slides, handouts, notes, and outlines. Slide.
ClubRunner Connect. Communicate. Collaborate. ClubRunner and Rotary International Database Integration Introduction and Overview Introduced: November 2010.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for SharePoint, An Introduction Art Haddad Rich Zwaap.
©2011 Quest Software, Inc. All rights reserved. Steve Walch, Senior Product Manager Blog: November, 2011 Partner Training Webcast.
Microsoft SharePoint 2010 Upgrade Preview FSU SharePoint Users Group Presents: Thursday, December 1 st, 2011.
1 of 5 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
Update your servers to service pack 2. Ensure that the environment is fully functioning. Migrate to 64 bit servers is necessary. REVIEW UPGRADE BEST PRACTICES.
SHARE POINT 2010 TRINAY TECHNOLOGY SOLUTIONS © Copyright Trinay Technology Solutions, 39 Buckland St, #5321 Manchester, CT
131 Agenda Overview Review Roles Lists Libraries Columns.
Presented by Chad Kafka This Month’s Topic: Wikispaces Advanced Today’s session is an introduction to what a WIKI is and how they can be used in education.
SqlReports Dean Dahlvang PSUG-MO March About Dean Dean Dahlvang Director of Administrative Technology for the Proctor.
San Diego 2014 SharePoint Saturday San Diego November 15, 2014 UCSD Extension SharePoint Saturday San Diego November 15, 2014 UCSD Extension.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
SharePoint and SharePoint Online: Today and what's next? Presented by Luke Abeling – IT Platforms.
Microsoft SharePoint Document Libraries & Management 1.
TechEd /22/2017 5:40 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Sick of InfoPath? Come get sicker… a quick look into developing no-code business forms for the curious cookie Presenter: Hector Perez.
KWizCom SharePoint Cascading Lookup Plus
Introducing Reporting Services for SQL Server 2005.
6 th Annual Focus Users’ Conference 6 th Annual Focus Users’ Conference Communication Tools Presented by: Lauren Velazquez Presented by: Lauren Velazquez.
Welcome to the Manage Scoping module of the “MIP Release 3 Study Workflow Training” course! This module guides you through the process of managing the.
0 eCPIC User Training: Dependency Mapper These training materials are owned by the Federal Government. They can be used or modified only by FESCOM member.
Using the Right Method to Collect Information IW233 Amanda Murphy.
Microsoft Access 2010 Chapter 10 Administering a Database System.
Michael Hofer Senior Consultant Microsoft Corporation.
South Dakota Library Network MetaLib Management Basics Categories Administration South Dakota Library Network 1200 University, Unit 9672 Spearfish, SD.
1 © Xchanging 2010 no part of this document may be circulated, quoted or reproduced without prior written approval of Xchanging. MOSS Training – UI customization.
Wordpress Website Project Requirement. Home – Slider and News Admin can add news. All the 12 LATEST NEWS TITLE will be listed here. TOP = NEWEST, BOTTOM.
Career Cruising Resume Builder. Resume Builder The Resume Builder can be found on the Career Cruising home screen upon logging in. The tab is located.
FEATURES AND CUSTOMIZATIONS THAT IMPROVE SHAREPOINT’S USER ADOPTION Patrick Curran, MCT SPSDC 06/08/2013.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Munis Version 9.1 & 8.3 Sneak Peek System Administration.
SQL Server Reporting Services for.NET Developers Bret Stateham
Lindsey Velez, Director of Instructional Technology Single Sign-On One Click.
Buy Back Time with Better, Faster, Easier Budgeting for Microsoft Dynamics GP Zubin Gidwani Founder
ILink Systems, Inc Feb, 2014 Government IT Solutions.
1 Branding 1 st Activity: Demonstrate the ability for Site Owners to adjust the Logo of the site within the SharePoint Site Navigate to Site Assets Upload.
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
SP Business Suite Deployment Kick-off
Patrick Desbrow, CIO & VP of Engineering October 29, 2014
Beyond the BDC\BCS Model
SharePoint Architect & Developer
Leveraging BI in SharePoint with PowerPivot and Power View
Kanban Task Manager SharePoint Editions ‒ Introduction
Overview of Social Computing in Microsoft SharePoint 2010
Customizing the SharePoint Mobile Experience
Tech Ed North America /1/2019 2:58 AM Required Slide
Advanced InfoPath Development InfoPath / SharePoint 2010
Patents e-Commerce Update: Public and Private PAIR
SharePoint 2010 – SharePoint 101
Patents e-Commerce Update: Public and Private PAIR
SharePoint Foundation 2010
敦群數位科技有限公司(vanGene Digital Inc.) 游家德(Jade Yu.)
Tutorial Introduction to help.ebsco.com.
Presentation transcript:

Advanced InfoPath Development InfoPath / SharePoint 2010 Prepared By: Suzanne George Sr. Architect Perficient - Microsoft West Region

Welcome! Restrooms – past the elevators to the left on the left hand side Electronic devices – please set to silent/vibrate More on our Microsoft Our Microsoft Visit Us Online: Michael Ellis Director of Microsoft Solutions (720) Suzanne George Senior Technical Architect Twitter: spgenie Advanced InfoPath Development

About Perficient 3 Locations in 24 Cities in North America: Austin, Chicago, Cincinnati, Cleveland, Columbus, Dallas, Denver, Detroit, Fairfax, Houston, Indianapolis, Minneapolis, New Orleans, Philadelphia, San Jose, St. Louis (Operational HQ), Southern California, Toronto Offshore Development Centers in Europe and China + Recruiting Facility in Chennai, India Total headcount of 2000+

Top 5% of 33 Microsoft National Systems Integrators Gold Certified in 8 Competencies with 98% Customer Satisfaction rating 2012, 2010 Healthcare Provider Partner of the Year 2012 Cloud Partner of the Year, Northeast District 2011 SharePoint Best Practice Award, Southwest District 2010 Online Services Partner of the Year SharePoint Conference 2009 Multi-Solution Capability Award Winner Best Customer Experience Award Nationally, regionally and industry managed Perficient receives priority support, early software previews, access to Microsoft Technology Centers for clients and ‘Gold’ level training Why Perficient? 4

Enter to win 5 Be sure to fill out one of the cards at your seat before the session is over to enter for a chance to win a copy of The SharePoint 2010 Handbook signed by co-author and today’s speaker Suzanne George, or a Microsoft Surface Device.

Agenda InfoPath – Getting started Designing foundations What you need to know Debugging InfoPath Creating a Vacation Request Form 6

InfoPath – Love it or Hate it!?! 7 The Promise of InfoPath The Developer Dream Why Me?? Where is the developer??

InfoPath - Start with the basics! To use or not to use InfoPath? Just because you can doesn’t mean you should! – Pros: Easy to use interface, integration with SharePoint Lists and Form Web Parts, Office Integration. Power Users can do simple stuff. Lookups and repeating tables are easy to do. – Cons: Advanced developers find it frustrating Can’t publish people picker fields Publishing columns / changes to column names No CSS type support (expand/collapse regions) evaluate the requirements and prioritization of features over simplicity and maintainability 8

Designing Your InfoPath Form for Success Design first! – Where is the data? Database, List or Library, in the form? – Where does the business logic belong – Workflow, Code-Behind, or InfoPath Rules? Where will approval happen? – Form Views – how many views will you need, when will they show, and who has access to update? – Form Controls – what types of controls are needed for the data, which controls will be exported, etc. – Styles – how will the form look and does it make sense to the user? 9

The InfoPath Need to Know List Deployment – Central Admin vs. Publish (Form Options) Know how to retrieve your InfoPath Form w/Powershell – Export-SPInfoPathAdministrationFiles -path d:\Temp\file.cab Know how to export source files before checking in to TFS. (Also possible to rename FormName.xsn to FormName.cab to view/extract contents) When removing exported columns, the are not removed from a list! Here is how to fix it… 10 Add-PSSnapin microsoft.SharePoint.PowerShell $web = Get-SPWeb $list = $web.Lists["ApplicationSupport"] $field = $list.Fields["SR Assigned To"] $field.AllowDeletion = “true” $field.Sealed = “false” $field.Delete() $list.Update() $list.Fields | Select-Object InternalName $web.Dispose()

Debugging an InfoPath Form Debugging Essentials – Check form with Design Checker – Set debug mode click the Build tab and then, at the bottom, click Advanced. In the Advanced Build Settings dialog box, click the Debug Info list and then click full In the Tools -> Options dialog box, in the area to the left, expand Debugging and then click General. Clear the Enable Just My Code (Managed only) check box. Select the Suppress JIT optimization on module load (Managed only) check box. Build/Deploy – Set Central Administration Logging for InfoPath Use ULS Viewer for log information Urls: vs2010/ vs2010/ 11

An example… Vacation Form The requirements – User to input form – All data stays inside form, certain fields are exported to list – Version History – After approval start SharePoint workflow – SharePoint list views need to have People “is [Me]” functionality 12

InfoPath Advanced Code 13 How to refresh a data source from code behind Export all current InfoPath forms Install InfoPath form from powershell More powershell commands: Add-PSSnapin microsoft.SharePoint.PowerShell Export-SPInfoPathAdministrationFiles -path d:\file.cab string currentAccName = “domainName\\" + SPContext.Current.Web.CurrentUser.Name; // string currentAccName = MainDataSource.CreateNavigator().SelectSingleNode("/my:myFields/my:CurrentUserAccountName", NamespaceManager).Value; DataSources["GetUserProfileByName"].CreateNavigator().SelectSingleNode("/dfs:myFields/dfs:queryField s/tns:GetUserProfileByName/tns:AccountName", NamespaceManager).SetValue(currentAccName); this.DataConnections["GetUserProfileByName"].Execute(); string querystr = "/dfs:myFields/dfs:dataFields/tns:GetUserProfileByNameResponse/tns:GetUserProfileByNameResult/tns: PropertyData/tns:Values/tns:ValueData/tns:Value"; XPathNodeIterator rows = DataSources["GetUserProfileByName"].CreateNavigator().Select(querystr, NamespaceManager); write-text "adding form solution: $solutionWsp to $defaultsiteurl" $formloc = ($installdir + "\" + $solutionWsp) Install-SPInfoPathFormTemplate -Path $formloc -Confirm:$false #wait for job to finish

InfoPath and SharePoint YAY!!! A real Visual Studio 2012 experience Not many feature changes How to Upgrade form (nope… not a double-click!) Prep your environment Relink references in code-behind Edit the Manifest.xml Look for hostname / portal names and replace. Update data connections Support Claims Look for old hostnames in data source files/connection files

Conclusion 15 Design first, code once! InfoPath can be powerful and leverage both PowerUsers and developers capabilities More things you can do with InfoPath Automatically check-in / out forms Populate dynamic approvers in form based upon information in the form Dynamically hide and show data Mash-ups Read/Write to database tables Questions?

Conclusion 16 Other blog posts… infopath-development/ infopath-development/ upgrading-your-forms/ upgrading-your-forms/

Suzanne George For further information, please contact: Suzanne George Sr. Technical Architect Perficient - Microsoft West Region Twitter: spgenie Books co-authored: 17 The SharePoint 2010 Handbook: A Collection of Short Chapters for Delivering Successful SharePoint Projects Microsoft® SharePoint® 2010 Administrator's Companion