Recorded for SharePoint Saturday VA Beach 2019
If you are like me, you love InfoPath. Even if you don't love it, you probably have respect for it (even if grudgingly). It had been around for a long time and we have done some amazing things with it but it could be a bit decrepit at times. Along comes PowerApps and it is awesome and continually getting better but it's no InfoPath... Yet. In this session, we will look at the differences between the two and when to use each.
6. Baltimore SharePoint User Group
SharePoint User Group of DC
FEDSPUG/Women in SharePoint DC
Flow User Group
SharePoint .NET Group
SPSEvents
SharePoint Fest
Collab365
MicrosoftTech Community
9. Disclaimer
• Microsoft cloud technology is constantly being
updated.
• As such, although we try to keep up to date
slides, it is extremely difficult.
• Please excuse any inconsistencies between our
slides and the cloud.
• Also, please excuse me if I fumble around if
Microsoft added something or moved a button.
@ladygwenavear www.nikkiatcarter.me
13. Whatis
InfoPath?
Microsoft InfoPath is a
software application for
designing, distributing, filling
and submitting electronic
forms containing structured
data.
VERSION INCLUDED IN...
RELEASE
YEAR
InfoPath 2003
Microsoft Office 2003 Professional
and Professional Enterprise
2003
InfoPath 2007
Microsoft Office 2007 Ultimate,
Professional Plus and Enterprise
2007
InfoPath 2010
Microsoft Office 2010 Professional
Plus;Office 365
2010
InfoPath 2013
Microsoft Office 2013 Professional
Plus; Office 365
2013
@ladygwenavear www.nikkiatcarter.me
14. Features
Rules
DataValidation
Formatting and Conditional Formatting
ActiveX Controls
XPath Expressions and Functions
Connections to External Datasources
Code Behind - JScript,Visual Basic, C#, and other
languages
SharePoint integration
Customized User Roles
@ladygwenavear www.nikkiatcarter.me
15. Howisit
used?
Stand Alone
• Outlook
• Access
• Excel
• Word
• XML Schema
• Other business systems or applications using
web services
• SharePoint
• And more!
Connect to:
@ladygwenavear www.nikkiatcarter.me
17. FormsTypesinSharePoint
• The SharePoint List Form template is used to
customize the SharePoint form that is used to
create, view, and edit items in a SharePoint List.
• The SharePoint Form Library template is used
to design a form in a SharePoint form library.
Has more functionality than the InfoPath
SharePoint List Form.
@ladygwenavear www.nikkiatcarter.me
19. WhatisPowerApps?
• PowerApps is a software to build
custom business applications
without the knowledge of app
development or custom coding. It is
included in most Office 365
subscriptions plans and is yet
another feature of Office 365, just
like OneDrive, Planner, and others.
Announcements Date
Introducing Microsoft
PowerApps
Nov 30,
2015
Announcing Public Preview for
PowerApps
April 28,
2016
Microsoft PowerApps and Flow
are generally available starting
tomorrow
Oct 31,
2016
@ladygwenavear www.nikkiatcarter.me
20. Features
Rules
DataValidation
Formatting and Conditional Formatting
ActiveX Controls
XPath Expressions and Functions
Connections to External Datasources
Code Behind
SharePoint integration
Customized User Roles
@ladygwenavear www.nikkiatcarter.me
22. PowerApps
Optionsfor
SharePoint
• Can only open from SharePoint list, not in
PowerApps Gallery
• Only works for lists (not libraries)
• Can’t embed in a page
• Can’t move between sites/environments
SharePoint Customized
• Appears in PowerApps Gallery and Mobile
• Works for lists and libraries
• Can embed in SharePoint Page
• Use anywhere
Standalone App
@ladygwenavear www.nikkiatcarter.me
28. BreakDownof Office365Email
ConnectorinPowerApps
Here is the code:
Office365.SendEmail(“user1@email.com, user2@email.com", "New Cook Ross Onboarding
Request for New Employee: " & DataCardKey.Text,"Please see this new request was created
"&Text(Now(), "[$-en-US]mm/dd/yyyy hh:mm:ss")&Char(13)&Char(13)&"Employee Name: "&
DataCardKey.Text&Char(13)&"Email Address: "&
Email_DataCardValue2.Text&Char(13)&"Office 365 LicenceType:
"&O365Lic_DataCardValue3.Selected.Value&Char(13)&"Mobile Number:
"&Mobile_DataCardValue4.Text&Char(13)&"Multi-Factor Authentication:
"&MFA_DataCardValue13.Selected.Value&Char(13)&"Email Group Membership(s):
"&GrpMem_DataCardValue6.Text&Char(13)&"8x8 VoIP Setup?
"&VoIP_DataCardValue7.Selected.Value&Char(13)&"8x8 VoIP Number and Extension:
"&VoIPNo_DataCardValue8.Text,{From:"Ncarter@c3isit.com"});SubmitForm(SharePointForm
1)
@ladygwenavear www.nikkiatcarter.me
29. BreakDownof Office365Email
ConnectorinPowerApps
Here is the breakdown on the code needed:
Office365.SendEmail(
“user1@email.com, user2@email.com",
"New Cook RossOnboarding Request for New Employee: " & DataCardKey.Text,
"Please see this new request was created "&Text(Now(), "[$-en-US]mm/dd/yyyy hh:mm:ss")&Char(13)&Char(13)&"Employee
Name: "& DataCardKey.Text&Char(13)&"Email Address: "& Email_DataCardValue2.Text&Char(13)&"Office 365 LicenceType:
"&O365Lic_DataCardValue3.Selected.Value&Char(13)&"Mobile Number: "&Mobile_DataCardValue4.Text&Char(13)&"Multi-
Factor Authentication: "&MFA_DataCardValue13.Selected.Value&Char(13)&"Email Group Membership(s):
"&GrpMem_DataCardValue6.Text&Char(13)&"8x8 VoIP Setup? "&VoIP_DataCardValue7.Selected.Value&Char(13)&"8x8 VoIP
Number and Extension: "&VoIPNo_DataCardValue8.Text,
{From:”user@email.com”, CC:“user1@email.com, user2@email.com", BCC:“user1@email.com, user2@email.com"}
);
SubmitForm(SharePointForm1)
Beginning of Function
To Emails
Body
Any part of this and the entire thing is
optional. So if you need from but not the
others, only use From. If you don’t need
any don’t use the entire thing.
End of Function
Submit Data to SharePoint
NOTE: Use commas (,), not semicolons (;),
between emails and between parts of the
function. Semicolons go between functions
but you don’t need one after the last function.
@ladygwenavear www.nikkiatcarter.me
30. Hereiswhatthebodyofthe
emaillookslike:
Please see this new request was created 10/16/2018 17:38:26
Employee Name:Test User4
Email Address: tu4@e.com
Office 365 Licence Type: E5
Mobile Number: 555-555-5555
Multi-Factor Authentication: No
Email Group Membership(s): grp3
8x8VoIP Setup?Yes
8x8VoIP Number and Extension: 444-444-4444 ext 1234
Please see this new request was created "&Text(Now(), "[$-en-US]mm/dd/yyyy
hh:mm:ss")&Char(13)&
Char(13)&
"Employee Name: "& Empl_DataCardKey.Text&Char(13)&
"Email Address: "& Email_DataCardValue2.Text&Char(13)&
"Office 365 LicenceType: "&O365Lic_DataCardValue3.Selected.Value&Char(13)&
"Mobile Number: "&Mobile_DataCardValue4.Text&Char(13)&
"Multi-FactorAuthentication:"&MFA_DataCardValue13.Selected.Value&Char(13)&
"Email Group Membership(s): "&GrpMem_DataCardValue6.Text&Char(13)&
"8x8VoIP Setup? "&VoIP_DataCardValue7.Selected.Value&Char(13)&
"8x8VoIP Number and Extension: "&VoIPNo_DataCardValue8.Text
Concatenates the
strings together
Hard return
newline
Gets the time at date at the moment
@ladygwenavear www.nikkiatcarter.me
31. NotesonUsingtheOffice365
EmailConnectorinPowerApps
• Put the code in a button’s OnSelect property instead in the
SharePointForm’s (usually named SharePointForm1) OnSuccess property
• Side Note: DO NOT use SubmitForm() in the OnSuccess property or you
will initiate an infinite loop. If you initiate the loop, remove the
SubmitForm() function and re-save and publish
• Everyone using the PowerApp, not only needs at least a free PowerApps
license, but also need an email license in Office 365
• To get a free PowerApps license, if you don’t have it already, the admin
needs to go to https://powerapps.microsoft.com/en-us/pricing/ and sign
in for the free license
• Char(10) and Char(13) are both new lines but there is a difference. See
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/a87b9fbb-40dc-
4a2e-83df-eab150620122/difference-between-char13-and-char10
@ladygwenavear www.nikkiatcarter.me
32. References
• Control and Formula Reference: https://docs.microsoft.com/en-
us/powerapps/maker/canvas-apps/formula-reference
• Connector Reference: https://docs.microsoft.com/en-us/connectors/
• Office 365 Email Reference: https://docs.microsoft.com/en-
us/connectors/office365connector/
• Entity Reference: https://docs.microsoft.com/en-
us/powerapps/developer/common-data-service/reference/about-entity-
reference
• Relevant NikTips from Collab365 Community
• Office 365 Commercial vs GCC vs GCC High
• The Modern Site Gotcha
• Intro to InfoPath
• Intro to InfoPathWorkflow
@ladygwenavear www.nikkiatcarter.me
Editor's Notes
If you are like me, you love InfoPath. Even if you don't love it, you probably have respect for it (even if grudgingly). It had been around for a long time and we have done some amazing things with it but it could be a bit decrepit at times. Along comes PowerApps and it is awesome and continually getting better but it's no InfoPath... Yet. In this session, we will look at the differences between the two and when to use each.
Attend and participate
I’m here to start you on your journey but I am not a BI dev. You can go as far as you want as there is a lot of training from Microsoft and elsewhere!
ActiveX Controls
List boxes
Radio buttons
Text boxes
Buttons
Check boxes.
Calculated Values, which display the result of xPath expressions, and sections, which are containers for other controls.
Repeating fields and sections, which can store many different values.
External Datasources - SQL, Microsoft Access, and SharePoint databases can be connected to and submitted in the form.
ActiveX Controls
List boxes
Radio buttons
Text boxes
Buttons
Check boxes.
Calculated Values, which display the result of xPath expressions, and sections, which are containers for other controls.
Repeating fields and sections, which can store many different values.
External Datasources - SQL, Microsoft Access, and SharePoint databases can be connected to and submitted in the form.
Powerful and lovable at times and scary at other times but his and InfoPath’s day as the heavy weight champion is over
PowerApps is like The New Day. 3 x the power, colorful, fun. It can be a bit awkward at times and it makes you like it but its time has come. It’s a new day.