Creating an Office 365 Group and new SharePoint list

There are multiple ways to create Office 365 Groups; you can do it from the SharePoint Home, as we are going to do next, from Outlook (both Web Access and Outlook 2016 client work just nicely), or you can create a team in Microsoft Teams, which actually creates an Office 365 Group.

  1. Open https://portal.office.com in your browser.
  2. Sign-in using your developer tenant account and password.
  3. From the tile, select and click your favorite; SharePoint.
  1. This will lead you to SharePoint home.
  2. Click Create site.

 

  1. Write in Team site name, for example, SPFX-testing. As you can see, the email name and Team site address are derived from the site name. You can also edit the email name, which in turn changes the Team site address.
  1. Click Next.
  2. Wait a bit, then click Finish.
  3. In a few seconds, you will be redirected to the newly created Team site, which is part of the Office 365 Group's functionality.

 

  1. To add a new list, click New and Select List.
  1. Give the list a name, such as My List and click Create.

 

  1. Add a new column to the list using the type Multiple lines of text.
  1. Name the column Info and click Save.
  2. Using the New button, create at least three new list items to act as our sample data.
A note concerning custom columns: when you access columns from the code, you use the internal name of the column. If you are creating the columns using the UI as we did, it is best practice to create them without whitespace, and then rename then later to include whitespace. This will make column internal names simpler. Otherwise, SharePoint will generate ugly names with underscores and other extraneous information. Internal names are case sensitive, so we actually created a column with the internal name Info, not info.

Now let's write some code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.142.115