SlideShare una empresa de Scribd logo
1 de 61
Descargar para leer sin conexión
Citizen developer tools are not just for citizen developers!
SPSTwin Cities 4/14/2018
Level: 200 ||Track: Developer (The rest of my slides will have less text, I promise!)
So, the citizen developers have all the cool tools, and those that actually code for a living are left
with legacy stuff? Not so fast!The same tools that Microsoft is targeting for citizen developers
make development easier, faster and cheaper for everyone!
This session combines tools such as Flow, Azure Cognitive Services and Azure Functions with
some actual simple development work to provide highly customized, Machine Learning
powered analysis workflow for the newly baked ModernTeam Sites in SharePoint Online.This
demo-heavy session will look at real business scenarios, and how we can solve them using
citizen developer tools and some code (Because we’re developers after all, right?)
After this session you'll know how to create rich and customized business automation processes
that use the latest tools offered to us by Microsoft.
@koskila | https://www.koskila.net
Citizen developer tools are not
just for citizen developers!
Antti K. Koskela - 14.4.2018, SPSTC
@koskila | https://www.koskila.net
Who’s speaking?
• Antti K. Koskela, Escalation Engineer for
Valo Solutions
• From Finland, lived in USA in 2017, moved
to Montreal 2018.
• Background in Fintech + accounting
• A developer since 2004.
• Bending and twisting SharePoint into
different shapes since MOSS.
• Blogging at https://www.koskila.net
@koskila | https://www.koskila.net
Session
• The session will include a quick overview of the capabilities of
• Microsoft Flow
• SharePoint (both Modern and Classic!)
• Microsoft AzureCognitive ServicesTextAnalyticsAPI
• Azure Functions (coupled with some helpful libraries).
• There’s going to be code.
@koskila | https://www.koskila.net
Session: Structure
• A quick look into the bigger picture! (1/4)
• What’s a citizen developer?
• What does all this mean for a developer?
• And: Are we all going to be unemployed in a couple of years?
• A word or two about the tools (1/4)
• Demos (1/2)
@koskila | https://www.koskila.net
Enter the Citizen Developers!
@koskila | https://www.koskila.net
What’s a “Citizen Developer”?
An end-user, who creates applications, usually without
programming anything themselves.
• “A citizen developer is a user who creates new business applications for
consumption by others using development and runtime environments
sanctioned by corporate IT -- can build departmental, enterprise and
even public applications using shared services, 4GL-style development
platforms and cloud computing services.”
• Gartner, 2009
@koskila | https://www.koskila.net
An Epic Showdown
Devs vs Citizen Devs – who’s going to persevere?
@koskila | https://www.koskila.net
The typical Developer…
• Expensive
• Slow, obsolete from inception?
• Creates more bugs than
features
• Constrained by IT/vendor
(vendor-lock!)
• Doesn’t understand business
@koskila | https://www.koskila.net
…vs the Citizen Developer!
• Understands business
• Agile, can react to changes in
business immediately
• No code – no bugs?
• Limited only by their imagination
(and tools…)
• While a developer still waits for
Visual Studio to start, a Citizen
Developer has already hacked
together an integration between 13
different systems using Flow.
@koskila | https://www.koskila.net
Citizen Developers == a mortal threat?
• “End of Software Development”
• “Citizen Developers are appearing at the workplaces”
• Tietoviikko (The Knowledge Weekly), 2018
• “Software Developers Will Become Obsolete”
• Brain Food, 2016
• “Software engineers will be obsolete by 2060”
• DanAuerbach, 2015
• “A new technology [5th GL] in software development [gives us] the ability
to automate fully the development process from design to installation. - -
Programming is better done by a machine than a human.“
• In “Can fifth-generation software replace fallible programmers?”, Philips, R, Computerworld, v 18, n 29, 1D/27-30, 16 July 1984
• “4th Generation Languages make programmers largely unneeded”
• In “Applications Development Without Programmers”, James Martin, 1982
@koskila | https://www.koskila.net
Citizen Developers == a mortal threat?
• Death of programming and obsoleteness of programmers (by
automation, citizen developers, higher level languages, AI) has been
proposed at least from the 80s!
• Excel is the biggest software development environment (and the
most dangerous one) anyway.
@koskila | https://www.koskila.net
Citizen Developers == a mortal threat?
• “Low-code tools won’t be putting developers out of a job; on the
contrary, they have the potential to help developers do better work.”
• -Mike Fitzmaurize,Vice President ofWorkflowTechnology for Nintex, 2017
• Citizen Developer tools are not useful just for Citizen Developers
• Tools like Flow make the lives of “actual” developers easier, too!
• And when the tools won’t do the trick anymore, a developer will get to (have
to) export them to “real” development tools and fix them.
@koskila | https://www.koskila.net
Citizen Developer tools for
“actual developers”
@koskila | https://www.koskila.net
Toolpack
• Microsoft Flow
• Built on top of Logic Apps
• Simple integration tool for “any white collar”
• Azure Logic Apps
• More hardcore integration tool – a code view available
• Flows can be exported to be “full-fledged” logic apps
• Azure Functions & AzureApp Service WebJobs
• Code-first integration services (and much more!)
• Azure Functions are serverless – and easy to attach to Flow/Logic Apps!
• Webjobs are a more classic solution – console apps you can run in an App Service
• … and SharePoint 
@koskila | https://www.koskila.net
Great resource: https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow-
webjobs
Advantages of Flow
• Easy-to-use, fairly well-tested integrations available out-of-the-box
• Run history is saved – you can always go back in time and rerun
something that didn’t work. Great for debugging and iterating!
• Easy to extend
• Custom connectors
• HTTP requests to send and receive data from almost any source
@koskila | https://www.koskila.net
Azure Functions considerations
• Consumption plan is practically free for small usage
• 1 million executions and 400 000 GB-s time/transfer are FREE
• After that €0.000014/GB-s & €0.169 per million executions
• Maximum runtime of 10 minutes!
• Scalability’s great (even though it still loses to AWS Lambda Functions)
• Running a function in an App Service
• It isn’t serverless
• Max runtime unspecified – but long!
• Azure Function can be durable (stateful)
• https://docs.microsoft.com/en-us/azure/azure-functions/durable-functions-
overview
@koskila | https://www.koskila.net
Azure Cognitive Services -Text Analytics API
• Detect sentiment, key phrases, and language from your text
• Powered by MicrosoftCognitive Services, machine learning and AI
algorithms in the cloud.
• DetectTopics used to exist – it was great – but we’ll be using key
phrases today instead
@koskila | https://www.koskila.net
Learn more: https://azure.microsoft.com/en-us/services/cognitive-services/text-analytics/
Also noteworthy: MachineTranslation in SharePoint, and BingTranslator (used in Facebook), are powered by Cognitive
Services
SharePoint: Modern
• Finally, SharePoint that looks (kind of) good out-of-the-box
• It’s even responsive 
• “Back to basics”
• Only does what SharePoint does well
• Excellent file storage (used byTeams & Groups), decent web interface, and a mobile app
• Uses other services for everything it’s bad at:
• Calendars from Exchange, tasks from Planner, IM and discussions viaTeams orYammer
• Webhooks + SPFx = decent extensibility
@koskila | https://www.koskila.net
SharePoint: Classic
• Classic SharePoint is not dead either!
• If something works with Modern, it’ll usually work with Classic, too –
just requires some sweat, tears and clever workarounds
• Publishing infrastructure makes things a bit complicated:
• Bad/no support for fields like “Page Layout” or “Publishing Page Content”
@koskila | https://www.koskila.net
How does this relate to real-life
business problems?
Case studies and demos
@koskila | https://www.koskila.net
Our demos today
1. Fancy: Using Machine Learning to achieve otherwise
difficult goals
2. Practical: Content mirroring in classic SharePoint
3. Hacky: Playing around with push notifications and Flow-
as-an-API
@koskila | https://www.koskila.net
Case 1: “The Fancy”
Automatic MetadataTagging Using Azure Cognitive Services
@koskila | https://www.koskila.net
The Problem
• The amount of data is surging (~90% of the data in the world has
been created in the last 2 years)
• To ensure that data in organizations is useful, it needs to be found
easily
• A great “Enterprise-y” solution has been metadata tagging!
• However, users generally hate doing that manually
• Automatic solutions are either cumbersome to maintain, expensive to
develop, or both
• Many required metadata fields will cause users to migrate to shadow
IT solutions (like DropBox)
@koskila | https://www.koskila.net
The Solution
• Using ModernTeam Sites in SharePoint for document storage
enables collaboration
• SharePoint Search is decent, but thorough metadata tagging makes
it a lot more useful
• UsingAzure Cognitive Services we can fill the metadata fields
automatically – without any user interaction at all!
• Content will be found and users will be happy 
@koskila | https://www.koskila.net
Our StackToday (1/2)
• Modern SharePointTeam Sites
• Document Library used as a Data Source
• The only End-User Facing GUI
• Microsoft Flow
• Launches via webhook, calls an Azure Function, finally sends a notification
• Azure Function
• Contains the actual program logic
• Azure Cognitive Services
• TextAPI used to analyze text for Key Phrases
@koskila | https://www.koskila.net
Our StackToday (2/2)
• The whole stack is super cheap!
• SharePointOnline included in most licenses anyway, standalone
$5/user/mo (including 1Tb of OneDrive!)
• Cognitive Services free (for a small monthly quota – commercial
plans starting from ~$70/mo)
• Azure Functions billed per usage, my monthly cost for my demos has
been $0.02
• Flow free for personal, basic use
@koskila | https://www.koskila.net
How?
• A Flow attached to Document
Library will call theAzure
Function that’ll do the heavy
lifting
• A simple HTTP request to Azure
Function – could create a
custom connector, too!
• Finally, notifies admin of the
execution and the creator of the
file.
@koskila | https://www.koskila.net
How?
• An Azure Function will
run, extract text,
analyze it using Azure
Cognitive Services,
and then write the
info back to
SharePointOnline
@koskila | https://www.koskila.net
Case 1: Resources
• Case description: https://www.koskila.net/2018/03/20/resolving-
managed-metadata-madness-good-enough-to-win-a-hackathon/
• Video of 3 different cases: https://youtu.be/G0kESOlBBjk?t=109
• Code: https://github.com/koskila/KeyphraseExtraction
@koskila | https://www.koskila.net
Case 2: “The Practical”
Mirroring content between Classic SharePoint sites
@koskila | https://www.koskila.net
The Problem
• A lot of organizations will live with Classic SharePoint for years – it’s
not dead, and we’ll need to enhance and maintain those sites.
• Often there’s a need to replicate or mirror content between sites, but
out-of-the-boxSharePoint offers little to help automate this..
• Most of the intranets seem to use publishing infrastructure – and
that complicates the solution even more!
@koskila | https://www.koskila.net
The Solution
• Classic SharePoint publishing sites
• Flow for orchestration and copying everything we can from site A to
site B
• Using an Azure function to “patch the holes”
• Page Layout is broken by default
• Publishing Page Content is not copied
@koskila | https://www.koskila.net
@koskila | https://www.koskila.net
Our StackToday
• Microsoft Flow
• For orchestration
• An Azure function
• Fixes the layout, copies the fields that can’t be copied with Flow
• 2 Classic SharePoint Site( Collection)s
• As the GUI & CMS
@koskila | https://www.koskila.net
Case 2: Resources
• Code: https://github.com/koskila/CitizenDeveloperToolsDemos
• Video: https://youtu.be/fe_NiTjmL58
@koskila | https://www.koskila.net
Case 2: Issues
• Flow’s support for dynamic values needs to be better
• Still a lot of custom development required
• Configuration overhead (hooking the Flows to lists – or you could use
a model, where you catch all the new items in the whole site
collection at once?)
@koskila | https://www.koskila.net
Case 3: “The Hacky”
The easy but geeky way to subscribe to any push notifications
@koskila | https://www.koskila.net
The Problem
• You want to subscribe to push notifications from a workload, that
doesn’t support them.
• You often have the option to just send a notification email – but
there’s so much email already!
• You just want to notify yourself, so using a Push Notification Hub
would be the overkill of the lifetime
@koskila | https://www.koskila.net
The Solution
• You can use Microsoft Flow to create a simple “API” to push
notifications to your phone
• By creating a HTTP POST RequestTrigger, you can define the schema of the
payload, and use the properties for a push notification
• It’s hacky – but a really simple way to just notify yourself, and get rid
of the email notifications 
@koskila | https://www.koskila.net
Our StackToday
• SharePoint
• Classic or Modern, doesn’t matter – anything that supports webhooks
• Chrome SP Editor
• A tool to add the webhook, you won’t need PowerShell!
• Azure function
• Receives the payload from the webhook, modifies the notification and sends
it to the ”API”
• Microsoft Flow
• Basically, a personal ”notification API”
@koskila | https://www.koskila.net
Case 3, Demo 1:
• Get theAzure FunctionURL
• Hook it into a SharePoint list
• Add an item to the list
• Check out the notification 
@koskila | https://www.koskila.net
Case 3: Resources
• Video: https://youtu.be/DaX6V_fFqy8
• Code: https://github.com/koskila/CitizenDeveloperToolsDemos
@koskila | https://www.koskila.net
Further Considerations
@koskila | https://www.koskila.net
Flow Custom Connectors
• Don’t want to configure multiple HTTP –requests with difficult
parameters after one another?You can automate some of that with
custom connectors!
• Custom Connectors can be shared between teams, so if you have a
great API you want to publish to your colleagues, it’s fairly easy to
share
• They also look fancy, and (arguably) make your flows more readable!
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Flow Custom Connectors
@koskila | https://www.koskila.net
Conclusions & Final words
@koskila | https://www.koskila.net
Conclusions
• Citizen Development is not a threat, it’s an ongoing process and an
opportunity for developers – embrace it!
• Flow = great for orchestration (with caution, even for complex,
customized workloads)
• Azure Functions = code-first integrations and so much more!
• Demos:
• 1: Filling ML-powered taxonomy automatically for documents uploaded to
SharePoint = not a problem!
• 2: Content mirroring, even between classic publishing sites = not a problem!
• 3: Getting push notifications (instead of emails) = easy
@koskila | https://www.koskila.net
Caveats
• The stack’s evolving – no telling how long this will be valid or required
• You could replace text extraction with Azure OCR – but last time I
tried, the custom library worked better.
• TextAnalysis is interesting – sometimes it works better, sometimes
it’s not that accurate!
• For shorter documents, it often doesn’t work well
@koskila | https://www.koskila.net
What’s next?
• Microsoft Flow is getting more Managed Metadata capabilities
• Maybe we won’t need the OfficeDev PnP / CSOM library to write to the
document library soon?
• (Currently, can’t add new items via PowerApps / Flow:
https://techcommunity.microsoft.com/t5/PowerApps-Flow/Set-values-for-Managed-
Metadata-aka-Taxonomy-columns-in/td-p/129888)
• Azure Functions can now be ran in user context
• With Flow this is quite finicky!Couldn’t get it to work here – passing cookies
between HTTP actions is forbidden.
• See: https://powerusers.microsoft.com/t5/General-Flow-Discussion/Passing-Cookies-
Between-HTTP-Actions/td-p/69761/page/2
• See if you can figure it out?: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-
parts/guidance/connect-to-api-secured-with-aad
@koskila | https://www.koskila.net
Resources & Further reading
• Documentation:
• https://azure.microsoft.com/en-gb/campaigns/developer-guide/
• Slides available:
• Coming after the event!
• Code available:
• https://github.com/koskila/KeyphraseExtraction
• https://github.com/koskila/CitizenDeveloperToolsDemos
• Descriptions of the cases:
• Case 1: https://www.koskila.net/2018/03/20/resolving-managed-metadata-
madness-good-enough-to-win-a-hackathon/
@koskila | https://www.koskila.net
Feedback, Ideas,
Questions? Let’s connect!
• antti@valointranet.com
• @koskila
• www.koskila.net
• https://github.com/koskila
• https://www.linkedin.com/in/koski
la/
@koskila | https://www.koskila.net
Thank you
#SPSTC
sponsors!

Más contenido relacionado

La actualidad más candente

ARToolworks ARE2011: Building an Open-Source AR Business.
ARToolworks ARE2011: Building an Open-Source AR Business.ARToolworks ARE2011: Building an Open-Source AR Business.
ARToolworks ARE2011: Building an Open-Source AR Business.philip_lamb
 
Computer Generations and Complexity: The Necessity for Collaboration
Computer Generations and Complexity: The Necessity for CollaborationComputer Generations and Complexity: The Necessity for Collaboration
Computer Generations and Complexity: The Necessity for CollaborationLetsConnect
 
SharePoint Saturday Belgium 2018 A 21st century lunch bell
SharePoint Saturday Belgium 2018 A 21st century lunch bellSharePoint Saturday Belgium 2018 A 21st century lunch bell
SharePoint Saturday Belgium 2018 A 21st century lunch bellThomas Gölles
 
Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite
Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite
Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite Keiko Ogura
 
Social Connections Amsterdam 2012 - Extensibility of IBM Connections
Social Connections Amsterdam 2012 - Extensibility of IBM ConnectionsSocial Connections Amsterdam 2012 - Extensibility of IBM Connections
Social Connections Amsterdam 2012 - Extensibility of IBM ConnectionsNiklas Heidloff
 
IBM Connections Customizer: From Zero To Hero
IBM Connections Customizer: From Zero To HeroIBM Connections Customizer: From Zero To Hero
IBM Connections Customizer: From Zero To HeroLetsConnect
 
Engage: A Break Up Story
Engage: A Break Up StoryEngage: A Break Up Story
Engage: A Break Up StoryBelsoft
 
Internet (Intelligence) of Things (IOT) with Drupal
Internet (Intelligence) of Things (IOT) with DrupalInternet (Intelligence) of Things (IOT) with Drupal
Internet (Intelligence) of Things (IOT) with DrupalPrateek Jain
 
App dev and partner ecosystem for pink social connections 2017
App dev and partner ecosystem for pink   social connections 2017App dev and partner ecosystem for pink   social connections 2017
App dev and partner ecosystem for pink social connections 2017Heath McCarthy
 
Open source presentation to Cork County Council
Open source presentation to Cork County CouncilOpen source presentation to Cork County Council
Open source presentation to Cork County CouncilTim Willoughby
 
Touchpoint and Userinvite
Touchpoint and UserinviteTouchpoint and Userinvite
Touchpoint and UserinviteWannes Rams
 
Is There An API In That (IoT)?
Is There An API In That (IoT)?Is There An API In That (IoT)?
Is There An API In That (IoT)?ProgrammableWeb
 
History of Connections
History of Connections History of Connections
History of Connections Wannes Rams
 
SPCA2013 - SharePoint Mobile Strategy and Design
SPCA2013 - SharePoint Mobile Strategy and DesignSPCA2013 - SharePoint Mobile Strategy and Design
SPCA2013 - SharePoint Mobile Strategy and DesignNCCOMMS
 
GAIBT Pune - Future of AI.pptx
GAIBT Pune - Future of AI.pptxGAIBT Pune - Future of AI.pptx
GAIBT Pune - Future of AI.pptxLuis Beltran
 
Office add ins community call - april 2019
Office add ins community call - april 2019Office add ins community call - april 2019
Office add ins community call - april 2019Microsoft 365 Developer
 

La actualidad más candente (17)

ARToolworks ARE2011: Building an Open-Source AR Business.
ARToolworks ARE2011: Building an Open-Source AR Business.ARToolworks ARE2011: Building an Open-Source AR Business.
ARToolworks ARE2011: Building an Open-Source AR Business.
 
Computer Generations and Complexity: The Necessity for Collaboration
Computer Generations and Complexity: The Necessity for CollaborationComputer Generations and Complexity: The Necessity for Collaboration
Computer Generations and Complexity: The Necessity for Collaboration
 
SharePoint Saturday Belgium 2018 A 21st century lunch bell
SharePoint Saturday Belgium 2018 A 21st century lunch bellSharePoint Saturday Belgium 2018 A 21st century lunch bell
SharePoint Saturday Belgium 2018 A 21st century lunch bell
 
The Slippery Slope of Migrating to SharePoint Online or On-Premise
The Slippery Slope of Migrating to SharePoint Online or On-PremiseThe Slippery Slope of Migrating to SharePoint Online or On-Premise
The Slippery Slope of Migrating to SharePoint Online or On-Premise
 
Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite
Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite
Couchbase Mobile Ideathon in Tokyo 2014.08.29: Developing with couchbase lite
 
Social Connections Amsterdam 2012 - Extensibility of IBM Connections
Social Connections Amsterdam 2012 - Extensibility of IBM ConnectionsSocial Connections Amsterdam 2012 - Extensibility of IBM Connections
Social Connections Amsterdam 2012 - Extensibility of IBM Connections
 
IBM Connections Customizer: From Zero To Hero
IBM Connections Customizer: From Zero To HeroIBM Connections Customizer: From Zero To Hero
IBM Connections Customizer: From Zero To Hero
 
Engage: A Break Up Story
Engage: A Break Up StoryEngage: A Break Up Story
Engage: A Break Up Story
 
Internet (Intelligence) of Things (IOT) with Drupal
Internet (Intelligence) of Things (IOT) with DrupalInternet (Intelligence) of Things (IOT) with Drupal
Internet (Intelligence) of Things (IOT) with Drupal
 
App dev and partner ecosystem for pink social connections 2017
App dev and partner ecosystem for pink   social connections 2017App dev and partner ecosystem for pink   social connections 2017
App dev and partner ecosystem for pink social connections 2017
 
Open source presentation to Cork County Council
Open source presentation to Cork County CouncilOpen source presentation to Cork County Council
Open source presentation to Cork County Council
 
Touchpoint and Userinvite
Touchpoint and UserinviteTouchpoint and Userinvite
Touchpoint and Userinvite
 
Is There An API In That (IoT)?
Is There An API In That (IoT)?Is There An API In That (IoT)?
Is There An API In That (IoT)?
 
History of Connections
History of Connections History of Connections
History of Connections
 
SPCA2013 - SharePoint Mobile Strategy and Design
SPCA2013 - SharePoint Mobile Strategy and DesignSPCA2013 - SharePoint Mobile Strategy and Design
SPCA2013 - SharePoint Mobile Strategy and Design
 
GAIBT Pune - Future of AI.pptx
GAIBT Pune - Future of AI.pptxGAIBT Pune - Future of AI.pptx
GAIBT Pune - Future of AI.pptx
 
Office add ins community call - april 2019
Office add ins community call - april 2019Office add ins community call - april 2019
Office add ins community call - april 2019
 

Similar a Citizen Developer Tools (session at SharePoint Saturday Twin Cities 4/14/2018) by Antti K. Koskela

Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...Antti Koskela
 
Flow: A living full-stack framework for the web
Flow: A living full-stack framework for the webFlow: A living full-stack framework for the web
Flow: A living full-stack framework for the websebastian sastre
 
Choosing the right Technologies for your next unicorn.
Choosing the right Technologies for your next unicorn.Choosing the right Technologies for your next unicorn.
Choosing the right Technologies for your next unicorn.Gladson DSouza
 
Introducción al Machine Learning Automático
Introducción al Machine Learning AutomáticoIntroducción al Machine Learning Automático
Introducción al Machine Learning AutomáticoSri Ambati
 
Full stack conference talk slides
Full stack conference talk slidesFull stack conference talk slides
Full stack conference talk slidesSameer Al-Sakran
 
Integroi oikein BizTalkilla ja Azurella
Integroi oikein BizTalkilla ja AzurellaIntegroi oikein BizTalkilla ja Azurella
Integroi oikein BizTalkilla ja AzurellaBilot
 
Maintainable Machine Learning Products
Maintainable Machine Learning ProductsMaintainable Machine Learning Products
Maintainable Machine Learning ProductsAndrew Musselman
 
NET !!! A must have tool under your belt
NET !!! A must have tool under your beltNET !!! A must have tool under your belt
NET !!! A must have tool under your beltHansamali Gamage
 
Devfest09 OpenSocial Enterprise
Devfest09 OpenSocial EnterpriseDevfest09 OpenSocial Enterprise
Devfest09 OpenSocial EnterpriseChris Schalk
 
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp
 
Microservices - How Microservices Have Changed and Why They Matter
Microservices - How Microservices Have Changed and Why They MatterMicroservices - How Microservices Have Changed and Why They Matter
Microservices - How Microservices Have Changed and Why They MatterAlexander Arda
 
Global Open Source Development 2011-2014 Review and 2015 Forecast
Global Open Source Development 2011-2014 Review and 2015 ForecastGlobal Open Source Development 2011-2014 Review and 2015 Forecast
Global Open Source Development 2011-2014 Review and 2015 ForecastSammy Fung
 
BitCraft 2017 general presentation
BitCraft 2017 general presentationBitCraft 2017 general presentation
BitCraft 2017 general presentationMichal Wasilewski
 
SharePoint Saturday Belgium 2019 Unite your modern workplace with microsofst...
SharePoint Saturday Belgium 2019  Unite your modern workplace with microsofst...SharePoint Saturday Belgium 2019  Unite your modern workplace with microsofst...
SharePoint Saturday Belgium 2019 Unite your modern workplace with microsofst...Thomas Gölles
 
Deep Dive into the Idea of Software Architecture
Deep Dive into the Idea of Software ArchitectureDeep Dive into the Idea of Software Architecture
Deep Dive into the Idea of Software ArchitectureMatthew Clarke
 
IoT is Something to Figure Out
IoT is Something to Figure OutIoT is Something to Figure Out
IoT is Something to Figure OutPeter Hoddie
 
4D Pubs - Distributed Dynamic Document Dsplay
4D Pubs - Distributed Dynamic Document Dsplay4D Pubs - Distributed Dynamic Document Dsplay
4D Pubs - Distributed Dynamic Document DsplayChris Despopoulos
 
QCon 2015 - Microservices Track Notes
QCon 2015 - Microservices Track Notes QCon 2015 - Microservices Track Notes
QCon 2015 - Microservices Track Notes Abdul Basit Munda
 

Similar a Citizen Developer Tools (session at SharePoint Saturday Twin Cities 4/14/2018) by Antti K. Koskela (20)

Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
Citizen Developer Tools (session at SharePoint Saturday Houston 4/28/2018) by...
 
Flow: A living full-stack framework for the web
Flow: A living full-stack framework for the webFlow: A living full-stack framework for the web
Flow: A living full-stack framework for the web
 
LUIS and Bots
LUIS and BotsLUIS and Bots
LUIS and Bots
 
Choosing the right Technologies for your next unicorn.
Choosing the right Technologies for your next unicorn.Choosing the right Technologies for your next unicorn.
Choosing the right Technologies for your next unicorn.
 
Introducción al Machine Learning Automático
Introducción al Machine Learning AutomáticoIntroducción al Machine Learning Automático
Introducción al Machine Learning Automático
 
Full stack conference talk slides
Full stack conference talk slidesFull stack conference talk slides
Full stack conference talk slides
 
Integroi oikein BizTalkilla ja Azurella
Integroi oikein BizTalkilla ja AzurellaIntegroi oikein BizTalkilla ja Azurella
Integroi oikein BizTalkilla ja Azurella
 
Maintainable Machine Learning Products
Maintainable Machine Learning ProductsMaintainable Machine Learning Products
Maintainable Machine Learning Products
 
NET !!! A must have tool under your belt
NET !!! A must have tool under your beltNET !!! A must have tool under your belt
NET !!! A must have tool under your belt
 
Service as-a-software
Service as-a-softwareService as-a-software
Service as-a-software
 
Devfest09 OpenSocial Enterprise
Devfest09 OpenSocial EnterpriseDevfest09 OpenSocial Enterprise
Devfest09 OpenSocial Enterprise
 
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
ITCamp 2019 - Andrea Saltarello - Implementing bots and Alexa skills using Az...
 
Microservices - How Microservices Have Changed and Why They Matter
Microservices - How Microservices Have Changed and Why They MatterMicroservices - How Microservices Have Changed and Why They Matter
Microservices - How Microservices Have Changed and Why They Matter
 
Global Open Source Development 2011-2014 Review and 2015 Forecast
Global Open Source Development 2011-2014 Review and 2015 ForecastGlobal Open Source Development 2011-2014 Review and 2015 Forecast
Global Open Source Development 2011-2014 Review and 2015 Forecast
 
BitCraft 2017 general presentation
BitCraft 2017 general presentationBitCraft 2017 general presentation
BitCraft 2017 general presentation
 
SharePoint Saturday Belgium 2019 Unite your modern workplace with microsofst...
SharePoint Saturday Belgium 2019  Unite your modern workplace with microsofst...SharePoint Saturday Belgium 2019  Unite your modern workplace with microsofst...
SharePoint Saturday Belgium 2019 Unite your modern workplace with microsofst...
 
Deep Dive into the Idea of Software Architecture
Deep Dive into the Idea of Software ArchitectureDeep Dive into the Idea of Software Architecture
Deep Dive into the Idea of Software Architecture
 
IoT is Something to Figure Out
IoT is Something to Figure OutIoT is Something to Figure Out
IoT is Something to Figure Out
 
4D Pubs - Distributed Dynamic Document Dsplay
4D Pubs - Distributed Dynamic Document Dsplay4D Pubs - Distributed Dynamic Document Dsplay
4D Pubs - Distributed Dynamic Document Dsplay
 
QCon 2015 - Microservices Track Notes
QCon 2015 - Microservices Track Notes QCon 2015 - Microservices Track Notes
QCon 2015 - Microservices Track Notes
 

Último

CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringJuanCarlosMorales19600
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsSachinPawar510423
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 

Último (20)

Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Piping Basic stress analysis by engineering
Piping Basic stress analysis by engineeringPiping Basic stress analysis by engineering
Piping Basic stress analysis by engineering
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Vishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documentsVishratwadi & Ghorpadi Bridge Tender documents
Vishratwadi & Ghorpadi Bridge Tender documents
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 

Citizen Developer Tools (session at SharePoint Saturday Twin Cities 4/14/2018) by Antti K. Koskela

  • 1. Citizen developer tools are not just for citizen developers! SPSTwin Cities 4/14/2018 Level: 200 ||Track: Developer (The rest of my slides will have less text, I promise!) So, the citizen developers have all the cool tools, and those that actually code for a living are left with legacy stuff? Not so fast!The same tools that Microsoft is targeting for citizen developers make development easier, faster and cheaper for everyone! This session combines tools such as Flow, Azure Cognitive Services and Azure Functions with some actual simple development work to provide highly customized, Machine Learning powered analysis workflow for the newly baked ModernTeam Sites in SharePoint Online.This demo-heavy session will look at real business scenarios, and how we can solve them using citizen developer tools and some code (Because we’re developers after all, right?) After this session you'll know how to create rich and customized business automation processes that use the latest tools offered to us by Microsoft. @koskila | https://www.koskila.net
  • 2. Citizen developer tools are not just for citizen developers! Antti K. Koskela - 14.4.2018, SPSTC @koskila | https://www.koskila.net
  • 3. Who’s speaking? • Antti K. Koskela, Escalation Engineer for Valo Solutions • From Finland, lived in USA in 2017, moved to Montreal 2018. • Background in Fintech + accounting • A developer since 2004. • Bending and twisting SharePoint into different shapes since MOSS. • Blogging at https://www.koskila.net @koskila | https://www.koskila.net
  • 4. Session • The session will include a quick overview of the capabilities of • Microsoft Flow • SharePoint (both Modern and Classic!) • Microsoft AzureCognitive ServicesTextAnalyticsAPI • Azure Functions (coupled with some helpful libraries). • There’s going to be code. @koskila | https://www.koskila.net
  • 5. Session: Structure • A quick look into the bigger picture! (1/4) • What’s a citizen developer? • What does all this mean for a developer? • And: Are we all going to be unemployed in a couple of years? • A word or two about the tools (1/4) • Demos (1/2) @koskila | https://www.koskila.net
  • 6. Enter the Citizen Developers! @koskila | https://www.koskila.net
  • 7. What’s a “Citizen Developer”? An end-user, who creates applications, usually without programming anything themselves. • “A citizen developer is a user who creates new business applications for consumption by others using development and runtime environments sanctioned by corporate IT -- can build departmental, enterprise and even public applications using shared services, 4GL-style development platforms and cloud computing services.” • Gartner, 2009 @koskila | https://www.koskila.net
  • 8. An Epic Showdown Devs vs Citizen Devs – who’s going to persevere? @koskila | https://www.koskila.net
  • 9. The typical Developer… • Expensive • Slow, obsolete from inception? • Creates more bugs than features • Constrained by IT/vendor (vendor-lock!) • Doesn’t understand business @koskila | https://www.koskila.net
  • 10. …vs the Citizen Developer! • Understands business • Agile, can react to changes in business immediately • No code – no bugs? • Limited only by their imagination (and tools…) • While a developer still waits for Visual Studio to start, a Citizen Developer has already hacked together an integration between 13 different systems using Flow. @koskila | https://www.koskila.net
  • 11. Citizen Developers == a mortal threat? • “End of Software Development” • “Citizen Developers are appearing at the workplaces” • Tietoviikko (The Knowledge Weekly), 2018 • “Software Developers Will Become Obsolete” • Brain Food, 2016 • “Software engineers will be obsolete by 2060” • DanAuerbach, 2015 • “A new technology [5th GL] in software development [gives us] the ability to automate fully the development process from design to installation. - - Programming is better done by a machine than a human.“ • In “Can fifth-generation software replace fallible programmers?”, Philips, R, Computerworld, v 18, n 29, 1D/27-30, 16 July 1984 • “4th Generation Languages make programmers largely unneeded” • In “Applications Development Without Programmers”, James Martin, 1982 @koskila | https://www.koskila.net
  • 12. Citizen Developers == a mortal threat? • Death of programming and obsoleteness of programmers (by automation, citizen developers, higher level languages, AI) has been proposed at least from the 80s! • Excel is the biggest software development environment (and the most dangerous one) anyway. @koskila | https://www.koskila.net
  • 13. Citizen Developers == a mortal threat? • “Low-code tools won’t be putting developers out of a job; on the contrary, they have the potential to help developers do better work.” • -Mike Fitzmaurize,Vice President ofWorkflowTechnology for Nintex, 2017 • Citizen Developer tools are not useful just for Citizen Developers • Tools like Flow make the lives of “actual” developers easier, too! • And when the tools won’t do the trick anymore, a developer will get to (have to) export them to “real” development tools and fix them. @koskila | https://www.koskila.net
  • 14. Citizen Developer tools for “actual developers” @koskila | https://www.koskila.net
  • 15. Toolpack • Microsoft Flow • Built on top of Logic Apps • Simple integration tool for “any white collar” • Azure Logic Apps • More hardcore integration tool – a code view available • Flows can be exported to be “full-fledged” logic apps • Azure Functions & AzureApp Service WebJobs • Code-first integration services (and much more!) • Azure Functions are serverless – and easy to attach to Flow/Logic Apps! • Webjobs are a more classic solution – console apps you can run in an App Service • … and SharePoint  @koskila | https://www.koskila.net Great resource: https://docs.microsoft.com/en-us/azure/azure-functions/functions-compare-logic-apps-ms-flow- webjobs
  • 16. Advantages of Flow • Easy-to-use, fairly well-tested integrations available out-of-the-box • Run history is saved – you can always go back in time and rerun something that didn’t work. Great for debugging and iterating! • Easy to extend • Custom connectors • HTTP requests to send and receive data from almost any source @koskila | https://www.koskila.net
  • 17. Azure Functions considerations • Consumption plan is practically free for small usage • 1 million executions and 400 000 GB-s time/transfer are FREE • After that €0.000014/GB-s & €0.169 per million executions • Maximum runtime of 10 minutes! • Scalability’s great (even though it still loses to AWS Lambda Functions) • Running a function in an App Service • It isn’t serverless • Max runtime unspecified – but long! • Azure Function can be durable (stateful) • https://docs.microsoft.com/en-us/azure/azure-functions/durable-functions- overview @koskila | https://www.koskila.net
  • 18. Azure Cognitive Services -Text Analytics API • Detect sentiment, key phrases, and language from your text • Powered by MicrosoftCognitive Services, machine learning and AI algorithms in the cloud. • DetectTopics used to exist – it was great – but we’ll be using key phrases today instead @koskila | https://www.koskila.net Learn more: https://azure.microsoft.com/en-us/services/cognitive-services/text-analytics/ Also noteworthy: MachineTranslation in SharePoint, and BingTranslator (used in Facebook), are powered by Cognitive Services
  • 19. SharePoint: Modern • Finally, SharePoint that looks (kind of) good out-of-the-box • It’s even responsive  • “Back to basics” • Only does what SharePoint does well • Excellent file storage (used byTeams & Groups), decent web interface, and a mobile app • Uses other services for everything it’s bad at: • Calendars from Exchange, tasks from Planner, IM and discussions viaTeams orYammer • Webhooks + SPFx = decent extensibility @koskila | https://www.koskila.net
  • 20. SharePoint: Classic • Classic SharePoint is not dead either! • If something works with Modern, it’ll usually work with Classic, too – just requires some sweat, tears and clever workarounds • Publishing infrastructure makes things a bit complicated: • Bad/no support for fields like “Page Layout” or “Publishing Page Content” @koskila | https://www.koskila.net
  • 21. How does this relate to real-life business problems? Case studies and demos @koskila | https://www.koskila.net
  • 22. Our demos today 1. Fancy: Using Machine Learning to achieve otherwise difficult goals 2. Practical: Content mirroring in classic SharePoint 3. Hacky: Playing around with push notifications and Flow- as-an-API @koskila | https://www.koskila.net
  • 23. Case 1: “The Fancy” Automatic MetadataTagging Using Azure Cognitive Services @koskila | https://www.koskila.net
  • 24. The Problem • The amount of data is surging (~90% of the data in the world has been created in the last 2 years) • To ensure that data in organizations is useful, it needs to be found easily • A great “Enterprise-y” solution has been metadata tagging! • However, users generally hate doing that manually • Automatic solutions are either cumbersome to maintain, expensive to develop, or both • Many required metadata fields will cause users to migrate to shadow IT solutions (like DropBox) @koskila | https://www.koskila.net
  • 25. The Solution • Using ModernTeam Sites in SharePoint for document storage enables collaboration • SharePoint Search is decent, but thorough metadata tagging makes it a lot more useful • UsingAzure Cognitive Services we can fill the metadata fields automatically – without any user interaction at all! • Content will be found and users will be happy  @koskila | https://www.koskila.net
  • 26. Our StackToday (1/2) • Modern SharePointTeam Sites • Document Library used as a Data Source • The only End-User Facing GUI • Microsoft Flow • Launches via webhook, calls an Azure Function, finally sends a notification • Azure Function • Contains the actual program logic • Azure Cognitive Services • TextAPI used to analyze text for Key Phrases @koskila | https://www.koskila.net
  • 27. Our StackToday (2/2) • The whole stack is super cheap! • SharePointOnline included in most licenses anyway, standalone $5/user/mo (including 1Tb of OneDrive!) • Cognitive Services free (for a small monthly quota – commercial plans starting from ~$70/mo) • Azure Functions billed per usage, my monthly cost for my demos has been $0.02 • Flow free for personal, basic use @koskila | https://www.koskila.net
  • 28. How? • A Flow attached to Document Library will call theAzure Function that’ll do the heavy lifting • A simple HTTP request to Azure Function – could create a custom connector, too! • Finally, notifies admin of the execution and the creator of the file. @koskila | https://www.koskila.net
  • 29. How? • An Azure Function will run, extract text, analyze it using Azure Cognitive Services, and then write the info back to SharePointOnline @koskila | https://www.koskila.net
  • 30. Case 1: Resources • Case description: https://www.koskila.net/2018/03/20/resolving- managed-metadata-madness-good-enough-to-win-a-hackathon/ • Video of 3 different cases: https://youtu.be/G0kESOlBBjk?t=109 • Code: https://github.com/koskila/KeyphraseExtraction @koskila | https://www.koskila.net
  • 31. Case 2: “The Practical” Mirroring content between Classic SharePoint sites @koskila | https://www.koskila.net
  • 32. The Problem • A lot of organizations will live with Classic SharePoint for years – it’s not dead, and we’ll need to enhance and maintain those sites. • Often there’s a need to replicate or mirror content between sites, but out-of-the-boxSharePoint offers little to help automate this.. • Most of the intranets seem to use publishing infrastructure – and that complicates the solution even more! @koskila | https://www.koskila.net
  • 33. The Solution • Classic SharePoint publishing sites • Flow for orchestration and copying everything we can from site A to site B • Using an Azure function to “patch the holes” • Page Layout is broken by default • Publishing Page Content is not copied @koskila | https://www.koskila.net
  • 35. Our StackToday • Microsoft Flow • For orchestration • An Azure function • Fixes the layout, copies the fields that can’t be copied with Flow • 2 Classic SharePoint Site( Collection)s • As the GUI & CMS @koskila | https://www.koskila.net
  • 36. Case 2: Resources • Code: https://github.com/koskila/CitizenDeveloperToolsDemos • Video: https://youtu.be/fe_NiTjmL58 @koskila | https://www.koskila.net
  • 37. Case 2: Issues • Flow’s support for dynamic values needs to be better • Still a lot of custom development required • Configuration overhead (hooking the Flows to lists – or you could use a model, where you catch all the new items in the whole site collection at once?) @koskila | https://www.koskila.net
  • 38. Case 3: “The Hacky” The easy but geeky way to subscribe to any push notifications @koskila | https://www.koskila.net
  • 39. The Problem • You want to subscribe to push notifications from a workload, that doesn’t support them. • You often have the option to just send a notification email – but there’s so much email already! • You just want to notify yourself, so using a Push Notification Hub would be the overkill of the lifetime @koskila | https://www.koskila.net
  • 40. The Solution • You can use Microsoft Flow to create a simple “API” to push notifications to your phone • By creating a HTTP POST RequestTrigger, you can define the schema of the payload, and use the properties for a push notification • It’s hacky – but a really simple way to just notify yourself, and get rid of the email notifications  @koskila | https://www.koskila.net
  • 41. Our StackToday • SharePoint • Classic or Modern, doesn’t matter – anything that supports webhooks • Chrome SP Editor • A tool to add the webhook, you won’t need PowerShell! • Azure function • Receives the payload from the webhook, modifies the notification and sends it to the ”API” • Microsoft Flow • Basically, a personal ”notification API” @koskila | https://www.koskila.net
  • 42. Case 3, Demo 1: • Get theAzure FunctionURL • Hook it into a SharePoint list • Add an item to the list • Check out the notification  @koskila | https://www.koskila.net
  • 43. Case 3: Resources • Video: https://youtu.be/DaX6V_fFqy8 • Code: https://github.com/koskila/CitizenDeveloperToolsDemos @koskila | https://www.koskila.net
  • 44. Further Considerations @koskila | https://www.koskila.net
  • 45. Flow Custom Connectors • Don’t want to configure multiple HTTP –requests with difficult parameters after one another?You can automate some of that with custom connectors! • Custom Connectors can be shared between teams, so if you have a great API you want to publish to your colleagues, it’s fairly easy to share • They also look fancy, and (arguably) make your flows more readable! @koskila | https://www.koskila.net
  • 46. Flow Custom Connectors @koskila | https://www.koskila.net
  • 47. Flow Custom Connectors @koskila | https://www.koskila.net
  • 48. Flow Custom Connectors @koskila | https://www.koskila.net
  • 49. Flow Custom Connectors @koskila | https://www.koskila.net
  • 50. Flow Custom Connectors @koskila | https://www.koskila.net
  • 51. Flow Custom Connectors @koskila | https://www.koskila.net
  • 52. Flow Custom Connectors @koskila | https://www.koskila.net
  • 53. Flow Custom Connectors @koskila | https://www.koskila.net
  • 54. Flow Custom Connectors @koskila | https://www.koskila.net
  • 55. Conclusions & Final words @koskila | https://www.koskila.net
  • 56. Conclusions • Citizen Development is not a threat, it’s an ongoing process and an opportunity for developers – embrace it! • Flow = great for orchestration (with caution, even for complex, customized workloads) • Azure Functions = code-first integrations and so much more! • Demos: • 1: Filling ML-powered taxonomy automatically for documents uploaded to SharePoint = not a problem! • 2: Content mirroring, even between classic publishing sites = not a problem! • 3: Getting push notifications (instead of emails) = easy @koskila | https://www.koskila.net
  • 57. Caveats • The stack’s evolving – no telling how long this will be valid or required • You could replace text extraction with Azure OCR – but last time I tried, the custom library worked better. • TextAnalysis is interesting – sometimes it works better, sometimes it’s not that accurate! • For shorter documents, it often doesn’t work well @koskila | https://www.koskila.net
  • 58. What’s next? • Microsoft Flow is getting more Managed Metadata capabilities • Maybe we won’t need the OfficeDev PnP / CSOM library to write to the document library soon? • (Currently, can’t add new items via PowerApps / Flow: https://techcommunity.microsoft.com/t5/PowerApps-Flow/Set-values-for-Managed- Metadata-aka-Taxonomy-columns-in/td-p/129888) • Azure Functions can now be ran in user context • With Flow this is quite finicky!Couldn’t get it to work here – passing cookies between HTTP actions is forbidden. • See: https://powerusers.microsoft.com/t5/General-Flow-Discussion/Passing-Cookies- Between-HTTP-Actions/td-p/69761/page/2 • See if you can figure it out?: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web- parts/guidance/connect-to-api-secured-with-aad @koskila | https://www.koskila.net
  • 59. Resources & Further reading • Documentation: • https://azure.microsoft.com/en-gb/campaigns/developer-guide/ • Slides available: • Coming after the event! • Code available: • https://github.com/koskila/KeyphraseExtraction • https://github.com/koskila/CitizenDeveloperToolsDemos • Descriptions of the cases: • Case 1: https://www.koskila.net/2018/03/20/resolving-managed-metadata- madness-good-enough-to-win-a-hackathon/ @koskila | https://www.koskila.net
  • 60. Feedback, Ideas, Questions? Let’s connect! • antti@valointranet.com • @koskila • www.koskila.net • https://github.com/koskila • https://www.linkedin.com/in/koski la/ @koskila | https://www.koskila.net