Fill Out Word through Power Apps No Premium Licenses Needed

Andrew Hess
12 Jun 202324:36

Summary

TLDRIn this tutorial, Andrew Hess demonstrates how to create a recipe book using a free SharePoint template without premium connectors. He guides viewers through setting up site columns, content types, and a document library, then creates a Word template with placeholders for recipe data. Hess also shows how to integrate Power Apps and Power Automate to generate documents directly from the SharePoint site, all within the scope of Office 365 licenses.

Takeaways

  • 😀 Andrew Hess demonstrates creating a recipe book using a SharePoint template without premium connectors, leveraging free Office 365 licenses.
  • 👨‍💻 To start, you need to be a site or team owner in SharePoint to create site columns and content types.
  • 📝 Six site columns are created for the recipe book: Step One to Step Six, Author, and Ingredients, all set as single-line text for simplicity.
  • 🔑 A content type named 'Recipe Book' is created, utilizing the document content type and incorporating the custom site columns.
  • 📚 A new document library called 'Recipes' is set up, and content types are enabled, allowing the addition of the 'Recipe Book' content type.
  • 📑 A Word template for the recipe book is created, including a table for steps and a logo, which is later saved to the SharePoint site assets.
  • 🔗 Document properties in Word are mapped to the SharePoint site columns using Quick Parts to synchronize data between the document and SharePoint.
  • 📱 A Power App is developed to interact with the SharePoint list, featuring a vertical gallery to display recipes and a PDF viewer for document previews.
  • 🔧 Power Automate is used to automate the creation of new recipe documents in SharePoint based on the template, filling in properties via Power Apps inputs.
  • 🛠 Permissions and setup requirements are discussed, emphasizing the need for site ownership and the avoidance of complexity to utilize free licensing models.

Q & A

  • What is the main objective of the video?

    -The main objective of the video is to create a recipe book using a template in SharePoint without using the Power Automate premium connector, leveraging the free license model that comes with Office 365.

  • Why is the presenter creating site columns and content types in SharePoint?

    -The presenter is creating site columns and content types to organize and structure the recipe book data within SharePoint, making it easier to manage and display the information in a consistent format.

  • What is the significance of the 'recipe author' column in the SharePoint site?

    -The 'recipe author' column is significant as it attributes the creator of each recipe, allowing for proper credit and organization of recipes within the SharePoint library.

  • Why does the presenter advise against using a people picker for the 'recipe author' column?

    -The presenter advises against using a people picker for the 'recipe author' column because it requires a premium connector, which goes against the goal of creating the recipe book using only the free license model.

  • How does the presenter ensure that the document template is associated with the correct content type in SharePoint?

    -The presenter ensures the document template is associated with the correct content type by uploading the template to the site assets and then specifying it in the advanced settings of the 'recipe book' content type.

  • What is the role of Power Apps in this SharePoint recipe book project?

    -Power Apps plays a role in creating a user interface that allows users to interact with the SharePoint data, such as viewing, adding, and editing recipes, without directly manipulating the SharePoint site.

  • Why is the presenter using a Power Automate flow to create a new recipe document in SharePoint?

    -The presenter uses a Power Automate flow to automate the creation of new recipe documents in SharePoint, which simplifies the process and allows for data to be written directly from Power Apps to SharePoint.

  • What is the purpose of the 'open in client application' setting in the SharePoint document library?

    -The 'open in client application' setting is used to ensure that the document opens in Word, which is necessary for the document properties to be editable and for the Power Apps integration to function correctly.

  • How does the presenter handle the document properties in the Word template?

    -The presenter handles the document properties by using Quick Parts in Word to map the SharePoint site columns to document properties, which allows for metadata to be filled out directly in the Word document.

  • What is the final outcome of the video tutorial?

    -The final outcome is a complete Power App with a Power Automate flow that uses SharePoint, all within the free license model. This setup allows for a functional recipe book where recipes can be added, viewed, and managed through SharePoint and Power Apps.

Outlines

00:00

📚 Introduction to Creating a Recipe Book in SharePoint

Andrew Hess introduces a tutorial on creating a recipe book using SharePoint and Power Automate, all within the free license model included with Office 365. He demonstrates how to update a steak recipe and shows the integration of Power Automate with SharePoint. The process begins with accessing site settings and creating site columns for the recipe book, emphasizing the need for ownership permissions to perform these actions. Andrew then guides through creating six steps for the recipe and organizing them into a group called 'my recipe book'.

05:02

🔧 Setting Up Site Columns and Content Types

The tutorial continues with the creation of additional site columns such as 'author' and 'ingredients', and placing them into the appropriate groups. Andrew explains the importance of keeping things simple to avoid the need for premium connectors. He then moves on to creating a content type called 'recipe book', which utilizes a document content type and includes the previously created site columns. The process involves updating all site and list content types inheriting from the new content type.

10:03

📖 Creating a Document Library and Template

Andrew proceeds to create a new document library named 'recipes' and enables content types for this library. He then adds the 'recipe book' content type and removes the default 'document' content type, ensuring only the custom recipe book template is available. The next step is to create a Word template for the recipe book, which includes a table for the six recipe steps and an option to insert a logo. The template is then saved to the desktop and uploaded to SharePoint as the document template for the 'recipe book' content type.

15:05

✍️ Linking Document Properties to SharePoint Columns

The video script describes how to open a document in Word and use Quick Parts to link document properties to the SharePoint site columns created earlier. This allows for the document properties to be editable both within the document and in SharePoint. Andrew saves the template with the linked properties to the desktop and then uploads it to SharePoint, replacing the existing template. The process ensures that when a new recipe book is created, the document properties are pre-populated and can be edited directly in SharePoint.

20:06

📱 Building a Power App to Interact with SharePoint

In the final part of the script, Andrew sets up a Power App with a vertical gallery connected to the SharePoint list. He includes a PDF viewer and a form for editing recipe properties. The app is designed to interact with SharePoint, allowing users to create new recipes using the custom template. He also demonstrates creating a Power Automate flow to handle the creation of new recipe documents in SharePoint based on the data entered in the Power App. The flow retrieves a template from site assets, creates a new file in the 'recipes' library, and updates file properties based on the data provided through the Power App.

Mindmap

Keywords

💡Power Apps

Power Apps is a service for building custom applications. In the context of the video, Power Apps is used to create a recipe book application that interfaces with SharePoint. The script describes how to set up screens, galleries, and forms within Power Apps to manage recipes, showcasing the platform's capabilities for data-driven app development.

💡Power Automate

Power Automate, formerly known as Microsoft Flow, is a service that helps in automating workflows and tasks across various applications and services. In the video, Power Automate is used to automate the process of creating and updating documents in a SharePoint library, demonstrating how it can be integrated with Power Apps for seamless data operations.

💡SharePoint

SharePoint is a web-based collaborative platform that integrates with Microsoft 365. It is used in the video to host a document library for storing recipe templates and data. The script details how to configure SharePoint site columns, content types, and document libraries to work with Power Apps and Power Automate for creating a recipe book.

💡Site Columns

Site columns in SharePoint are reusable columns that can be added to multiple lists or libraries. The video script explains creating site columns for attributes like 'step one' through 'step six', 'author', and 'ingredients', which are then used to structure the recipe data within SharePoint lists and libraries.

💡Content Types

Content types in SharePoint define a collection of columns and also specify the document template to be used. In the script, a custom content type 'recipe book' is created to associate the site columns with a document template, which is crucial for structuring how recipes are stored and displayed in the document library.

💡Document Library

A document library in SharePoint is used to store and organize documents. The video describes creating a 'recipes' document library and enabling content types for it, which allows users to upload and manage recipe documents in a structured manner.

💡Document Template

A document template in SharePoint is a pre-configured file that defines the structure and content of new documents. The script demonstrates creating a Word document template for recipes, which includes placeholders for recipe data such as steps, author, and ingredients, and then uploading this template to SharePoint for use with the recipe content type.

💡Quick Parts

Quick Parts in Microsoft Word allow users to insert pre-defined content into a document. In the video, Quick Parts are used to map SharePoint site columns to document properties within the Word template, enabling the automatic population of document metadata from the recipe data.

💡Office 365

Office 365 is a subscription-based service provided by Microsoft that includes access to various applications like Word, Excel, PowerPoint, and SharePoint. The video mentions that the demonstrated solution uses the free license model that comes with Office 365, indicating that no additional premium licenses are required for the described setup.

💡Site Assets

Site assets in SharePoint are a location for storing and reusing files such as images, documents, and other media across the site. The script refers to uploading a document template to site assets, which is then used as a source for new documents created through Power Automate, highlighting the organization and reusability features of site assets.

Highlights

Creating a recipe book using a SharePoint template without Power Automate premium connector.

Using Office 365 licenses for Power Automate with a free license model.

Creating site columns for the recipe book in SharePoint.

Organizing site columns into groups for better structure.

Limitation of using people picker without Power Automate premium.

Creating a content type for the recipe book using site columns.

Enabling content types in a document library for custom document handling.

Removing default document content type to use only the custom recipe book type.

Creating a Word template with steps and a logo for the recipe book.

Using mid-journey to generate logos for the recipe book template.

Uploading the custom Word template to SharePoint for document creation.

Setting the document library to open documents in the client application for metadata access.

Linking document properties to SharePoint site columns for seamless data integration.

Creating a Power App to interact with the SharePoint recipe book library.

Using a vertical gallery in Power Apps to display recipe thumbnails from SharePoint.

Integrating a PDF viewer in Power Apps to display recipe documents.

Creating a Power Automate flow to automate document creation in SharePoint.

Using Power Automate to fill in document properties from Power Apps data.

Demonstrating the complete process of creating, saving, and viewing recipes in the Power App.

Highlighting the permissions required for creating site columns and content types in SharePoint.

Providing a solution for choices in Power Apps by using single line text in SharePoint.

Concluding with a complete Power App and Power Automate setup using only the free license model.

Transcripts

play00:00

in hit save click back it then now has

play00:03

my steak recipe here

play00:06

it then updates and shows the new steak

play00:08

recipe we have a complete power app with

play00:12

a power automate using SharePoint using

play00:15

the free license model which means it

play00:17

comes with your Office 365 licenses

play00:19

[Music]

play00:27

hey everyone my name is Andrew Hess and

play00:29

today we're going to create a recipe

play00:30

book and we're going to use a template

play00:32

in SharePoint to fill out this document

play00:35

and this document is not going to use

play00:38

the power automate premium connector

play00:40

we're going to do this all for free so

play00:43

when I do this I've done this before but

play00:45

I'm going to try and make this better

play00:46

and more fun this is a brand new

play00:48

SharePoint site it is connected to a a

play00:51

group

play00:52

so I'm going to go to the gear icon

play00:55

site information view all site settings

play00:57

and I'm going to create some site

play00:59

columns for my recipe book so we'll

play01:02

start with sitecom so in order to do

play01:04

this you do need to be an owner of the

play01:06

group or you need to be an owner of the

play01:08

SharePoint site or an owner if it's a

play01:10

team site you need to be an owner of the

play01:12

team

play01:13

so in a recipe book we're going to say

play01:15

there's going to be six steps and I'm

play01:17

not going to leave any spaces in here

play01:19

that's just habit so I'm going to say

play01:22

step one single line text and we're

play01:25

going to create a new group

play01:27

and we're going to put this group in my

play01:30

recipe book

play01:34

okay and then I'm going to do six steps

play01:36

real quick

play01:37

just like that so I'll probably fast

play01:39

forward I'm going to do six steps so

play01:41

this is step two

play01:44

and when I do step two I'm going to use

play01:46

an existing group I'm going to do my

play01:48

recipe book and attach it to that group

play01:50

this just helps me organize things

play01:54

okay now I have six steps if you come

play01:56

all the way to the bottom you see my

play01:57

recipe book we have six steps

play01:59

so now I'm going to create another

play02:01

column let's just call this

play02:03

um author I guess is that the creator of

play02:06

a recipe is we'll call it author and I'm

play02:08

not going to use a people picker a

play02:10

people picker is not going to work if

play02:12

you need a people picker and you have to

play02:14

have a people picker after we do all

play02:16

this create a power app and then the

play02:18

power app use a people picker and then

play02:21

write a single line text to SharePoint

play02:24

all right

play02:26

it looks like my name is already

play02:28

reserved look at that so we're going to

play02:30

call this recipe author this is just

play02:32

another thing to learn I'm going to

play02:34

leave my mistake in there never try and

play02:37

you know don't go in there and delete a

play02:40

a column that's out of the box with

play02:42

SharePoint just create a new column I'll

play02:44

call it recipe author

play02:46

and then finally we'll have um maybe

play02:48

ingredients

play02:54

and we'll put it in the right group

play02:57

okay we have eight different

play03:01

um Fields here they're all single line

play03:02

text I'm keeping it simple as soon as

play03:05

you add complexity to this you need to

play03:07

use that premium connector right we're

play03:10

trying to do this without power automate

play03:12

power apps premium

play03:15

okay now that I did that I'm going to go

play03:18

back to site settings right here at the

play03:19

top I can just click on that and go to

play03:22

site settings and now I'm going to do

play03:23

site content types

play03:25

now what is a content type A content

play03:28

type is a group of content it can be

play03:32

Fields it can be items it can be folders

play03:35

it can be

play03:36

um you know many different things but

play03:38

we're going to create a new content type

play03:40

and it's going to be

play03:42

a recipe book

play03:46

and it's going to use a document content

play03:50

type

play03:53

and we will have document content type

play03:56

here

play03:57

and it's going to be a document so we're

play04:00

going to create a document and it's

play04:01

going to have a template and those

play04:04

columns are going to be the group of

play04:07

content that we're going to use in this

play04:09

content type

play04:10

so I'm going to click create

play04:13

all right now it wants me to add site

play04:15

columns so I'm going to add

play04:17

from existing site columns you could

play04:19

have done it before the other way and

play04:21

you know created them here but I'm just

play04:22

going to add all of these and I'm going

play04:24

to do it in let's see recipe author

play04:27

ingredients and then the steps

play04:31

all right I'm going to keep this checked

play04:33

update all site and list content types

play04:35

inheriting so I'm just going to say save

play04:37

all right so I've created a content type

play04:39

with my site columns

play04:41

so now I'm going to go back to my site

play04:44

and I have a document library but in my

play04:47

opinion maybe that document library is

play04:50

different I'm going to create a new

play04:51

document library and it's going to be

play04:54

recipes

play04:56

so site contents

play04:59

I'm going to create a new library

play05:01

and we'll call it recipes and keep your

play05:04

space it don't put spaces in these

play05:06

things just trust me after many years of

play05:08

SharePoint

play05:10

all right I have a new SharePoint

play05:13

um Library it's called recipes we're

play05:16

going to go to the gear icon again and

play05:18

then Library settings

play05:20

more Library settings

play05:22

and we're going to turn on content types

play05:24

for this document Library so in order to

play05:26

do that you go to advanced settings here

play05:31

and let's see allow management of

play05:34

content types it's right here at the top

play05:35

we're going to say yes

play05:37

and then we'll click ok

play05:41

all right so now you can see we have a

play05:43

new section here this new section is

play05:45

called content types and it has document

play05:47

but we don't want a regular document

play05:49

right like a blank Word document no we

play05:52

want our recipe book so I'm going to add

play05:54

from existing content type

play05:56

and here's my recipe book I just created

play05:59

that and we're going to add it

play06:01

and click ok

play06:05

so now we've added recipe book now what

play06:08

I'm going to do is I'm going to remove

play06:09

document I'm going to come in here

play06:12

and delete this content type

play06:15

I only want my document the recipe book

play06:18

so if we come back to the top of our

play06:20

document Library you can see new recipe

play06:23

book that's all that's there we don't

play06:25

have that other document content type we

play06:28

have our recipe book okay so now we want

play06:33

to make our word template okay so we

play06:35

need to make a word template

play06:37

so this was a question someone had they

play06:40

wanted you know like this Gallery they

play06:43

wanted this Excel format in their Word

play06:46

document

play06:47

in the template I believe we can insert

play06:49

a table

play06:51

and we can just insert

play06:55

the table we want six because there's

play06:56

six steps one two three four five six

play07:00

okay and then I'm just going to add in

play07:03

here

play07:05

step one

play07:08

now you can't do pictures

play07:10

um at least I'm going to assume that you

play07:12

can't do a picture in a template you

play07:14

could automatically do a one picture

play07:17

that's in every template right like so

play07:19

you could have a logo in here maybe

play07:21

we'll do that let's put a logo in our um

play07:24

in our document

play07:26

okay so I've been learning this um in

play07:28

the past a few months but I'm going to

play07:31

use mid-journey to you know generate me

play07:34

some logos

play07:36

all right so I have some generated logos

play07:38

I I like this one right here I'm just

play07:40

gonna you know for this scenario since I

play07:43

just want to be fast

play07:44

I'm going to take this logo here and I'm

play07:46

going to put it in my template

play07:50

all right I have my template for my

play07:54

document I'm going to save this to my

play07:56

desktop

play07:57

all right I saved my template to my

play07:59

desktop now I'm going to go to settings

play08:02

the gear icon Library settings more

play08:05

Library settings

play08:07

and I'm going to go to I believe I click

play08:10

on the content type recipe book

play08:12

and I'm going to click on advanced

play08:14

settings

play08:16

and now you can see that you know

play08:18

there's a document template we're going

play08:19

to upload the document template that we

play08:22

just created right so upload that

play08:24

all right I uploaded my recipe template

play08:27

I'm going to click OK it's not read only

play08:30

we're going to say okay

play08:33

now just to show you where we are in the

play08:36

content type and creating the template

play08:38

if you click new and you do new recipe

play08:40

book

play08:41

it's going to open up in browser our

play08:44

template so we now have our template

play08:47

without the metadata the data The

play08:50

Columns attached to the document right

play08:52

so we have our template

play08:54

so now what I'm going to do

play08:57

is I'm going to create a new one which I

play08:59

just did

play09:00

and this is going to be recipe

play09:04

template

play09:06

two and I'm going to save this to my

play09:08

SharePoint library right

play09:10

so it should automatically save to my

play09:12

SharePoint library right there

play09:14

so if we come back to our site click

play09:16

refresh I have my template here

play09:20

in my SharePoint library now this is one

play09:23

of the downsides of doing it this way is

play09:25

in order for this to work you can only

play09:27

open the document in the client

play09:29

application which is word so we have to

play09:32

go back up to the gear icon

play09:35

go to library settings more Library

play09:37

settings

play09:40

advanced settings and we have to say

play09:43

open in client application it's the only

play09:46

way this will work if you don't open in

play09:48

a client application you won't be able

play09:51

to see the quick parts of the document

play09:54

and then I'm going to click ok

play09:57

and I'm going to go back to recipes and

play09:59

I'm going to open my document

play10:03

and it's going to open in Word

play10:06

all right so we have our document open

play10:08

now what we're going to do

play10:10

is we're going to come up to insert I

play10:13

believe and we're going to do quick

play10:15

parts

play10:16

now we'll be able to see our document

play10:18

properties now you notice that the

play10:21

properties the site columns that we

play10:23

created in SharePoint are now showing up

play10:26

as document properties in our document

play10:29

so for recipe we're going to put in

play10:32

quick Parts document property I believe

play10:35

it's name

play10:36

or its title

play10:38

author I'll put a space in quick parts

play10:43

we did recipe author right recipe author

play10:47

ingredients

play10:52

ingredients step one

play10:55

and so forth all the way down

play10:59

so now we have our recipe book now more

play11:03

about this document if you go to file

play11:05

and info you'll also see those columns

play11:08

that we created in the properties of the

play11:11

document so file info you can see in the

play11:14

properties you'll see the same columns

play11:16

so we're going to save this to our

play11:20

desktop so this is recipe template we're

play11:23

going to rename this one this is going

play11:24

to be named three number three save to

play11:28

your desktop

play11:30

right so the first document we saved to

play11:33

our desktop the second one we saved to

play11:35

SharePoint call to this one we're going

play11:37

to rename and call it three and I'm just

play11:40

doing this for demonstration purposes

play11:41

we're saving this number three to our

play11:44

desktop save

play11:47

all right so recipe number template

play11:49

three is on our desktop we're going to

play11:51

go back to the template Library settings

play11:53

more Library settings we're going to

play11:57

click on the content type here

play11:59

we're going to go back to the template

play12:01

in advanced settings

play12:03

and we're now going to upload the new

play12:06

one recipe three

play12:09

so the one that we just attached the

play12:11

document properties to we're going to

play12:13

upload and replace the template and

play12:15

we're going to click ok

play12:19

so now we're going to go back to our

play12:21

document library now let's check out

play12:23

where we are in the process so when I do

play12:25

new recipe book and we open up word

play12:29

we can now see our document properties

play12:32

are here and even on the right side it

play12:33

shows the document properties now you

play12:35

can write in the document or you can

play12:37

write in the document properties on the

play12:38

on the right side

play12:40

so for title we'll put in a spaghetti

play12:45

and don't make fun of my um skills here

play12:48

for making spaghetti I see I can't even

play12:51

spell my name right so one we need

play12:52

noodles

play12:54

two we need water three we need salt

play12:57

four sauce

play13:00

and five garlic

play13:04

okay and then this is just for this

play13:06

first time we're not gonna have to do

play13:08

this every time we want to make sure I

play13:09

save to our SharePoint site in the

play13:12

document Library so this will be called

play13:14

Spa get t Okay so we're going to save

play13:18

back into our SharePoint site spaghetti

play13:21

click save I'm going to close down word

play13:26

click refresh we notice we have

play13:28

spaghetti in here now I'm going to add

play13:30

the columns to the view right so I'm

play13:32

going to go to settings Library settings

play13:35

more Library settings than down here I'm

play13:37

going to go to all documents

play13:40

and I'm going to add all those columns

play13:42

in the view so I'm going to remove

play13:43

modified Modified by and then I'm going

play13:47

to add

play13:48

recipe author

play13:51

ingredients

play13:52

and the steps and it does matter which

play13:55

order you click these in

play13:57

I mean you could fix it later but that

play13:59

just helps and I'm going to click ok

play14:02

now if you notice those properties are

play14:06

now in SharePoint I did not write in

play14:08

SharePoint oh thank goodness right isn't

play14:11

that wonderful so we have a document

play14:13

template with our logo

play14:16

our recipe logo and the steps for our

play14:18

recipe

play14:20

okay so now we can do power apps this is

play14:24

where we really get so I'm a Power

play14:26

Platform developer this is where I

play14:27

really like to have fun what I'm going

play14:29

to do

play14:30

is I have two screens set up I'm going

play14:32

to insert a vertical gallery

play14:34

the vertical Gallery is going to be

play14:36

connected to our SharePoint list we can

play14:38

see we have

play14:39

um my spaghetti I'm just going to remove

play14:41

the picture here I'm going to remove the

play14:43

arrow we'll leave that as it is I like

play14:45

the the title and the ingredients and

play14:47

you notice I'm using the new galleries

play14:49

that just came out kind of has the blue

play14:51

bar and the invisible white line now I'm

play14:53

going to insert the PDF viewer now you

play14:56

notice this is experimental

play14:58

but I'm going to insert the the PDF

play15:01

viewer

play15:02

and

play15:04

then I'm just going to have a simple

play15:05

code that I have saved in there let's

play15:07

see

play15:08

paste it right in so substitute Gallery

play15:11

one get the thumbnail large of a

play15:15

document so now

play15:17

you can see we can see our document in

play15:20

power app so let's um

play15:23

make it a little bigger there we go I

play15:25

fixed it so now it fits in there we have

play15:27

our gallery

play15:30

let's um create a new button just so we

play15:33

can have another one let's do new

play15:36

I'm just doing this really quick right

play15:38

I'm not doing a full

play15:40

um Power app so we're just going to say

play15:41

navigate

play15:43

to screen two on a fade

play15:46

see fade

play15:50

new if you want more on this then it's

play15:53

another video but we'll just do new

play15:55

so it brings us to screen two insert a

play15:59

form

play16:01

and we'll do edit form and I'll just you

play16:05

know default it to a new

play16:07

um

play16:08

for now so the default mode is new

play16:12

and we got it connect it to our

play16:14

properties recipe properties

play16:17

now we're gonna have to save I'm going

play16:19

to use power automate create a new flow

play16:22

this power automate is going to create

play16:23

the file for me in the document Library

play16:26

I want

play16:27

so I'm going to create from blank

play16:28

all right so step one for this power

play16:31

automate is to actually have the

play16:33

template somewhere that it can pick it

play16:35

up

play16:36

so I'm going to go back to my SharePoint

play16:38

site

play16:39

and in site contents in site assets

play16:43

I'm going to upload my template and that

play16:45

was recipe number three so if I just

play16:49

upload I have it right here recipe

play16:51

template number three

play16:54

all right so if you remember number

play16:55

three from the beginning of the video

play16:56

that is this file

play16:59

so now we're going to go back to

play17:00

powerapps new Step git file

play17:04

from content is that right um let me see

play17:07

if I can find it not get file git file

play17:10

content using path

play17:12

all right so then we're going to go to

play17:13

the our SharePoint site

play17:15

content type site the file path is going

play17:18

to be our site assets

play17:22

and we want to get the file all right so

play17:24

we have our file template then we're

play17:27

going to create a file I believe is

play17:30

probably next so create file

play17:33

so we're going to create a file in the

play17:35

same SharePoint site

play17:38

the folder path is going to be our

play17:40

recipes

play17:42

so we want to put it in our recipes

play17:43

document Library the name of the file

play17:46

will be we'll ask that in powerapps I

play17:50

believe

play17:52

we'll get to that the file content will

play17:55

be here

play17:56

it does require a file name so we'll ask

play18:00

in powerapps

play18:01

and then next what we need to do is we

play18:04

need to fill in those file properties so

play18:08

update

play18:09

file properties is that right let's see

play18:12

if we can find it

play18:15

so oh update file properties that looks

play18:18

correct okay and then we're going to use

play18:22

that SharePoint site

play18:24

the library name is the recipes the ID

play18:28

is going to be the created file item ID

play18:33

and then title will ask in powerapps or

play18:37

let's see if we got it already no we

play18:38

don't so this is where the trick is a

play18:41

lot of people can't find this and

play18:42

Microsoft hides it you see this little

play18:45

c-more right here this is how you get

play18:47

more ask and powerapps ask in powerapps

play18:50

come down see more

play18:52

ask and powerapps author see more ask

play18:56

and powerapps and we're going to go all

play18:58

the way down through each one and we're

play19:01

going to ask in powerapps

play19:03

and I don't think we need a description

play19:05

I didn't add that

play19:07

and then finally we have content type ID

play19:10

recipe book

play19:12

uh we're going to click save

play19:15

we are done our power automate creating

play19:18

it so now we need to fix the button so

play19:21

the button as soon as that loads we

play19:23

could probably rename this if we wanted

play19:25

to but for now I'm not going to this is

play19:28

the name of

play19:29

my power app power apps this one here

play19:34

and then we're going to do dot run in

play19:37

parentheses and if you look in the

play19:38

intellisense it's going to help you out

play19:40

file name is going to be select

play19:43

hopefully these are in order data card

play19:45

value one I haven't renamed them

play19:48

uh data

play19:49

card value one dot text

play19:56

um the next one is the title again

play20:00

oh so this is where so we have to say

play20:03

and

play20:05

maybe this will work like this we'll see

play20:08

dot dot X we'll see if that works I'm

play20:11

just playing this by ear

play20:13

all right so now we're going to do data

play20:15

card value two dot text

play20:17

all right that's the author no that's

play20:20

ingredients so this is actually three

play20:25

this one is two

play20:27

so recipe author here you can see the

play20:31

colors the color codes helps you recipe

play20:33

author okay

play20:36

so next is four

play20:39

that's step one all right I think we're

play20:41

uh on a roll we can just go down to five

play20:43

and straight on down

play20:46

this one will be six

play20:50

and then seven

play20:57

eight

play21:02

nine

play21:06

and hopefully that is all of them

play21:10

so now

play21:11

let's fill this out so we're on the new

play21:14

page does our save button navigate back

play21:17

let's also

play21:18

on the save button navigate to screen

play21:22

one on a fade

play21:25

once we uh we'll do that different ways

play21:28

but I'm just rushing through this all

play21:29

right so now we're going to do a stake

play21:33

Andrew Hess ingredients is meat

play21:36

one

play21:38

neat

play21:39

to Salt three pepper

play21:43

Step One is salt the steak

play21:48

uh pepper in this tank

play21:53

then we're gonna let it sit let it sit

play21:55

for 10 15 minutes

play21:59

then we're going to sear the steak

play22:03

we're not going to do a reverse steer a

play22:05

sear if you're looking at that but and

play22:06

then we'll cook the steak

play22:08

then we'll let rest for 30 minutes and

play22:12

I'll hit save and pray this power

play22:13

automate works

play22:15

hit save

play22:17

stake value cannot be converted to a

play22:19

number looks like I added a multiply

play22:22

here instead of a ampersand

play22:25

I clicked it was a missed click all

play22:27

right so let's try again hit save

play22:30

this time it ran

play22:33

did it create a file in my library let's

play22:36

check out the library

play22:38

it did create a file in my library the

play22:41

gallery did not refresh yet so let's

play22:44

um

play22:46

on visible of this screen I'll refresh

play22:49

our data source which is recipes now you

play22:53

maybe don't want to do this but I I'm

play22:55

just doing this for demonstration

play22:56

purposes so if I click new I created a

play22:58

back button click back it then now has

play23:01

my steak recipe here

play23:04

it then updates and shows the new steak

play23:07

recipe and we could probably you know

play23:09

print this do all kinds of things with

play23:11

power apps

play23:12

all right so we have a complete power

play23:15

app with a power automate using

play23:18

SharePoint using the free license model

play23:20

which means it comes with your Office

play23:22

365 licenses you don't need that premium

play23:25

connector you do need to be an owner of

play23:28

the site

play23:29

you do need to create the site columns

play23:31

and site content types the way I showed

play23:33

you you have to upload the template to

play23:37

the site assets and now you have a

play23:40

SharePoint site with documents with the

play23:43

columns right here in SharePoint

play23:46

so hopefully this answers all your

play23:49

questions Russell this all sparked from

play23:51

a question from Russell

play23:53

um you know what level of permission do

play23:56

you need you know can you do choices no

play24:00

don't try and add complexity to it you

play24:03

could do a choice and then convert it to

play24:05

a single line text so you could do a

play24:06

choice in power apps but it's a single

play24:09

line text in SharePoint that's one way

play24:12

you can do choices right is do that in

play24:14

powerapps side

play24:16

um

play24:17

and so thank you all for watching

play24:20

hopefully this answers your questions

play24:22

Russell if you want to do choices do a

play24:24

choice on PowerApp side why you don't

play24:26

need to do it on the

play24:28

um SharePoint side and then you can have

play24:30

your choices and write directly to your

play24:32

template so thank you all for watching

play24:34

I'll see you next time

Rate This

5.0 / 5 (0 votes)

Etiquetas Relacionadas
SharePointPower AutomateRecipe BookDigital DocumentOffice 365Template CreationContent ManagementFree LicensePower AppsWorkflow Automation
¿Necesitas un resumen en inglés?