This example does not use AngularJS or/and ADAL. There is no UI. The functions need to be run from the console and the access token extracted from the URL. A Azure active directory application was create to provide the client id. It works like:
In this video series, we’ll be discussing SharePoint approval workflows. Now there are several types of approval workflows that can created in various ways and with varying complexity, but in these next few tutorials we’ll focus on a simple serial workflow with a single approver. We’ll do this by going from basic to advanced. Our basic serial workflow will be created based on SharePoint online OOTB template, and then we’ll move on to complete the same workflow in SPD 2013 and then move on to VS 2012. Here you can see the most basic serial approval workflow. In future videos, we’ll discuss parallel workflows such as this, but for now, we’ll be focused on serial workflows. First we’ll look at the OOTB workflow template in SharePoint Online. I’ll create a new document library and add the approval workflow to it and set the workflow to automatically start when an item is created. Next I’ll add an approver to my workflow, in this case im using a test user called SPO test 5. I’ll ignore these other options for now and click save. Now I’ll upload an item, in this case it will be an image, but this will work for excel file, word documents, and pdfs ext … After I’ve uploaded my item and refreshed the page, you can see that the workflow is in progress. Now we’ll open Office 365 outlook as our test user (SPO test 5) and see the email notification details. You can also open the document library item via this notification.
One of the disadvantages to this type of workflow can be found here in the body of the email. If you’ll notice step 3 says Use the “open this task” button to mark this task as complete. If I received this email in an outlook client application and not in Office 365, a button might be used to complete the task. However, for the approver to complete the task, they will need to navigate to the task list and approve the item. Once the task has been approved the workflow is complete. Now we’ll discuss how to accomplish this same workflow in SPD 2013. If you found this video helpful and want to see more videos like this please subscribe and/or give us the thumbs up.
Now we will discuss sending email notifications in SharePoint Online via Visual Studio workflows. There can be many ways to do this, but for simplicity, in this video we will simply get the email address from a text column in a list as show here in this introduction clip. Now to get started we will create a SharePoint-hosted application in visual studio 2012 pro. Once our project has been created, we’ll add a list and we’ll add a list workflow that starts automatically when an item is created. Now I won’t narrate all of the next steps of adding workflow activity or assigning variables, because in future videos we’ll go into more details about toolbox activities like “LookupSPListitem”. However, I will draw your attention to the BuildCollection activity because it’s the key part of how emails are sent in this scenario. Now, when I have finished building the workflow, I will launch it on my Office 365 developer site and test it by opening the list and creating a new item.
Upcoming topics include:
– Email notification workflows based on document author
Next we will demonstrate how to add an video to you SharePoint Online site. Our first step will be to add an asset library. Now we will add our video/audio file to this library. Once the file has been added we will return to the page where we want to show the video. When we edit the page, a drop-down in the ribbon will allow you to select the file you just uploaded to the asset library. Now save the page and your video will be available to view by your users. If you found this video helpful and want to see more videos like this please subscribe and/or give us the thumbs up.
Next we will demonstrate how to add a video to your SharePoint Online site. Our first step will be to add an asset library. Now we will add our video/audio file to this library. Once the file has been added we will return to the page where we want to show the video. When we edit the page, a drop-down in the ribbon will allow you to select the file you just uploaded to the asset library. Now save the page and your video will be available to view by your users. If you found this video helpful and want to see more videos like this please subscribe and/or give us the thumbs up.
Looks like anonymous user can access pages in both “Pages” and “SitePages”. However, anonymous only have access to a sub-set of the SP namespace. For, instance SP.ClientContext is not available to the anonymous user, which means I can’t access a list even to read it’s data.
It looks like when a app is installed on the public site, the SP.ClientContext is available, but you get and error:
Uncaught Error: Sys.InvalidOperationException: Cannot find current web URL information on the page.
I get the above error even if i’m logged it and the cause is the plain .html page. If I use and .aspx I don’t get the error.
List of a SharePoint-Hosted app installed on public facing site anonymous user