►
From YouTube: Community Call Demo - Uploading files to SharePoint from PowerApps using Microsoft Flow
Description
This community call demo is taken from the SharePoint General Development Special Interest Group recording on 18th of April 2019. In this video Chaks (Microsoft) shows how you can upload files to SharePoint from PowerApps using Microsoft Flow
Presenter - Chakkaradeep (Chaks) Chinnakonda Chandran (Microsoft) - @chakkaradeep
Full details on the community call from https://developer.microsoft.com/en-us/sharepoint/blogs/sharepoint-dev-community-pnp-general-sp-dev-sig-recording-18th-of-april-2019/
More details on the SharePoint dev community calls from http://aka.ms/sppnp.
A
Today,
I'm
gonna
be
talking
about
a
topic
that
many
MVPs
have
tried
and
are
still
trying
to
get
this
working.
And
yes,
the
product
team
is
also
watching
the
power.
Apps
need
to
make
this
analogy
even
more
better.
The
ability
to
upload
files
to
a
library
whether
that
be
images
or
documents
doesn't
really
matter
right.
A
file
is
a
file
through
a
power
app
now.
This
could
also
be
in
custom
format.
A
If
you
want
you,
but
basically
through
power
apps
now
there
is
no
native
support,
so
we
need
the
help
of
the
awesome
flow
to
basically
help
us
get
the
image
from
the
power
app
and
then
put
it
into
a
SharePoint
library.
So
there
is,
some
I
can
trigger
involve
here
this,
like
a
few
months
back.
This
was
really
a
cumbersome
thing.
A
The
only
way
the
only
person
in
this
planet
that
was
able
to
do
this
I'm,
not
joking,
is
gianlu
the
MVP,
for
you
know,
office
and
and
whatnot
like
he
is
really
really
good
in
Microsoft
flow
and
he's
kind
of
the
hardcore
developer
that
has
choose
and
Microsoft
flow
as
his
language.
You
know
we
all
choose
c-sharp
and
JavaScript
and
tend
to
be
happy
with
it.
John
chose
flow
to
do
all
of
this
things
that
he
bills
in
his
in
his
time.
So
he
showed
us
an
azure
function,
a
way
to
build
a
magic
function.
A
Take
the
image
that
you
you
you
you
pick
in
power
apps
and
then
convert
that
to
bytes
through
an
azure
function,
get
that
bites
back
and
start
a
flow
and
then
push
it
Bob.
That's
like
really
really
hard
and
I
do
follow
this
blog
and
you
know
on
April
9.
He
actually
blocked
about
how
to
upload
image
from
power
after
flow.
A
Using
an
unused
outlook
like
this
is
that
kind
of
kind
of
like
interested
me
and
and
I
went
through
his
blog
post
and
I
saw
all
the
things
what
you
are
doing
and
and
finally
that
led
to
what
the
problem
was
so
now
we
are
actually
in
the
in
discussing
around
hey.
Why
is
this
different?
But
rather
this
problem-
and
things
like
that
so
kudos
to
you,
know
John
and
several
other
MVPs
that
have
been
helping
us
understand
what
is
going
on
and
and
and
take
through
that,
but
the
good
news.
A
B
A
A
Computer
and
then
that's
going
to
basically
show
me
a
preview
and
then
I'm
gonna
baste
in
down
upload
to
SharePoint.
That's
going
to
do
its
magic.
I
have
noticed
that
since
my
email,
just
a
really
big,
like
maybe
15
MB,
or
something
it's
taking
a
little
bit
trying,
but
you
can
see
that
there's
a
progress
bar
on
the
top,
that's
actually
showing
and
the
button
is
disabled,
meaning
that
it's
doing
something
with
the
flow.
So
hopefully
this
will
get
done
in
few
seconds.
A
A
A
So
if
you
look
at
what
I'm
doing
in
my
button
by
the
way,
here's
a
cool
trick,
this
is
how
usually
you
type
right.
So
you
come
and
type
expressions
here,
and
this
is
ok,
but
for
have
a
background
in
writing.
C,
sharp
and
JavaScript
code.
You
really
want
a
really
good
formatting
in
a
way
that
it
is.
You
know
similar
to
how
you
write
code.
You
can
do
this
format,
text
and
wow.
It
actually
now
form
hit
everything
like
like
a
code.
A
So
it's
pretty
cool
and
an
easy
to
read
for
me,
rather
than
you
know,
being
in
this
state
to
continue
like
a
line
so
really
cool
tip
if
they're
using
power-ups
and
writing
expressions.
So
what
I'm
doing
here
when
I
click
the
upload
button,
is
I'm
going
to
set
something
available
file
path
and
then
I'm
getting
the
value
from
a
flow.
A
That's
going
to
set
something
in
the
file
path
and
I'm
just
checking
if
the
file
path
is
not
blank,
then
refresh
the
data
source
here
is
the
demo
day
of
data
source
and
I
use
the
semicolon
to
continue
that
statement,
for
the
condition
being
true,
this
reset
the
add
Media
button,
which
is
the
control
the
picture
control
to
true.
So
this
is
what
happens
really
really
simple
thing
to
call
now:
let's
go
look
at
flow,
and
here
was
the
power
apps
file
upload
shape
Y.
A
So
this
is
basically
a
flow
with
a
trigger
power,
apps
figure,
and
then
that's
how
you
can
relate
to
the
power
one
of
the
things
we
found
out
that
the
problem.
The
reason
why
you're
not
able
to
use
create
file
directly
with
the
cover
ask
is
that
one
of
the
things
you
do
to
get
input
from
the
power
apps
in
your
flow.
A
Is
you
just
go
to
you
know,
that's
a
property
in
any
action,
and
then,
if
you
want
this
to
be
something
that
you
take
a
dynamic
content
from
power
apps,
all
you
do
is
you
click
the
seymour,
which
is
the
power
apps
trigger
and
you
can
say,
ask
in
power
apps,
so
I'm
gonna
do
this
now.
So
it's
going
to
say,
ask
in
power
apps
and
it's
going
to
create,
create
file,
underscore
file
content,
and
this
is
going
to
be
the
type
of
this
file
content
property
right.
Similarly,
I
did
the
same
with
the
outlook.
A
A
It's
a
formative
byte
with
its
print
type,
so
you're
going
to
get
a
bunch
of
strings
with
rights
and
then
the
final
quantum
which
I
just
added
it
shows
binary,
and
this
is
the
biggest
difference
why
it
works
for
Outlook
and
why
it
does
not
work
for
SharePoint
so
here
requesting
binary,
but
we're
not
getting
the
right
things
back
from
share
of
power,
so
they're
working
to
see
what
is
you
know
what
is
going
on
and
even
for
byte
I
get
a
large
spring
array.
I!
Actually
don't
get
a
bike.
A
A
Connector
and
you
say:
ask
empower
apps
that
will
put
the
right
parameter
at
the
right
format
and
then
you
basically
use
that
parameter
as
the
input
to
the
file
content
property
for
the
create
file,
and
you
make
a
condition
such
a
way
that
your
flow
will
never
Outlook
sent
an
email
condition
right.
One
is
equal
to
tubes
and
we're
going
to
be
all
in
the
world
of
horses.
It
could
be
so
be
careful
when
you
are
there
other
ways
in
this
normal
world.
A
One
is
never
going
to
be
equal
to
two,
so
you're
never
going
to
go
to
this.
You
know
condition
always
come
back
here
and
and
that's
how
this
whole
magic
works.
So
if
you
go
look
at
our
runs
that
we
just
did,
you
can
see
that
now
here
I
got
my
schema
and
output
is
just
you
know,
click
to
download
and
it's
going
to
give
you
what
flows
got
from
power
apps
and
what
they
store-
and
you
can
see
here
is
the
string
representation
of
that
image.
A
A
B
Thank
You
Jax,
really
really
cool
stuff
and
really
it
really
useful
having
those
resources
and
the
demo
vehicle
just
to
note
as
well
as
generally.
Yes,
this
humongous
amount
of
awesome
stuff
on
his
blog
posts
are
related
on
flow
and
automation,
so
really
really
great
resource
cute.
Maybe
one
thing
checks:
do
you
know?
Is
there
a
file
size
limit
for
the
stuff
when
you're
uploading
for
the
files.
A
Exploring
yeah
there's
a
limit
boat
on
like
how
much
bigger
file
could
be
in
the
power
acts
and
then
there's
a
limit
are
how
big
a
file
you
could
upload
in
to
the
SharePoint.
So
right
now
this
is
using
I
would
say:
yeah
I,
don't
know
the
exact
you.