Microsoft Forms : Exploring MS forms

What it is?

With Microsoft Forms, you can create surveys, quizzes, and polls, and easily see results as they come in. When you create a quiz or form, you can invite others to respond to it using any web browser, even on mobile devices. As results are submitted, you can use built-in analytics to evaluate responses. Form data, such as quiz results, can be easily exported to Excel for additional analysis or grading.

Getting Started

Note: Currently, while this article is being written, Microsoft Forms is available for only First Release customers.

  • Login to your Office 365 account
  • From the Navigation bar, select “Forms” as show below:

1_1

Creating your first form:

  • Creating a new form is pretty easy. You can either create “New Form” or “New Quiz”. As of now, we would create New Form so click on that option.

1_2

  • Form Design area has two main sections-

Questions: Where you can design the form, add questions, attach images etc. The form you design here will be presented to the end users

Responses: This is the result area where all responses will be analysed and presented

1_3

  • Click on the “Untitled Form” section and enter Title and Description of the form. You can also attach images. Images can be imported form 3 locations:
  1. Image search using Bing Search
  2. OneDrive
  3. Upload from your local machine or network drive
  • Enter Title “Apply for a Job” and Description “Please take a minute to fill out the following form.”
  • Click on “Add Question” it will present option of Field type as below:

1_5

  • Click on “Text”. It will add a text field with an option to enter “Question” value. Your questions can be configured with variety of options based on data type selected.

1_6

  • Add more questions as required. You can also change the order of questions using arrow buttons.
  • I created a simple form with below fields

1_7

  • Once you are done designing the form, click on “Share” from top navigation to get options of how the form can be shared with either users of your tenant or anonymous users

1_8

  • From the “Send and Collect Responses” dropdown, select “Anyone with the link can respond” and click on “Copy”
  • Now you are ready to present you form to users. Quick and easy!

View and Analyse Response

  • To view response, open the form and click on Responses Tab. You can see the total count of response received in tab heading itself

1_9

  • Another helpful thing here is it shows the Average Response time required to complete the form.

1_10

  • Also, for choice fields, it automatically creates visual representation in form of Pie charts based on responses received.

1_11

  • You can also view the responses in excel. And save it for further analysis or exporting.

Conclusion:

All I can say is, MS Forms is extremely simple and quick way to create forms and quiz. Over and above just getting response from users in excel, MS forms provides a handy interface to analyse the same.

PowerShell Remoting: Access Denied

Problem :

Getting access denied error when try to access $site.RootWeb.Lists over powershell remoting. User gets this error even if user has sufficient privileges to access the list.

Solution:

Run following command for the account which is used to authenticate over PS remoting to get it running:

$w = Get-SPWebApplication -Identity http://portal
$w.GrantAccessToProcessIdentity(“domain\username”)

Reference Link here.

MS Flow and Trello Integration

MS Flow allows you to create automated workflows between your favorite apps and services to get notifications, synchronize files, collect data, and more.

Trello is a web-based Project Management application. It is incredibly flexible and easy to use. It keeps track of everything from big picture to the minute details.

This article assumes that you already have MS flow account and Trello account.

MS Flow connectors:

MS Flow provides around 72 connectors which make connecting to various Apps such as SharePoint, Office 365, Twitter, Facebook, SQL, Google Calendar and many more. To get full list of available connectors, visit https://flow.microsoft.com/en-us/services/

Trello data can also be accessed using Trello connector. In this article we are going to explore the same.

Connect Trello to MS Flow:

  • Create a SharePoint List with Name “Trello”. Rename “Title” field to “Card Name” and add a new column with Single Line of Text with Name “CardDescription”. Rename it to “Card Description” afterwards.
  • Access MS flow from Office 365 app launcher or visit https://flow.microsoft.com/en-us/
  • Click on “My Flows” from top navigation
  • Click on “Create from Blank” as we will be starting from scratch
  • In the next screen you will see a list of all available actions to choose from. Type in “Trello” in the search box to get options of operations available with Trello3
  • It would ask you to Sign in to create connection to Trello. Click on “Sign In” and enter your credentials.
  • Once you enter your credentials, it will ask for permissions as below:5
  • Select “MS Flow Test” board from the list9
  • Click on “New Step” and Select “Add An Action”. Select “SharePoint – Create Item” action from search list.
  • In “Site URL” textbox, enter SharePoint site URL and select “Trello” list from “List Name” dropdown.
  • It will populate columns from “Trello” list. Now we have to bind details which we want to populate from Trello board into the SharePoint List.
  • Select values as shown in screenshot below:Trello
  • And we are done! Click on “Create Flow” and once it is completed, it will display message on top “Your flow was created. To exit, click “Done”. Then Click on Done.
  • You can manage newly created flows by clicking on “My Flows” from Top Navigation.
  • Now enter new cards in “MS Flow Test Board” with Name and Description and you will be able to see those entries added in “Trello” SharePoint list.8Happy SharePointing!!

Sandbox solution to manage anonymous access on Office 365 / SharePoint 2013.

You can enable anonymous access to office 365 account using following sandbox solution:

http://anonymous365.codeplex.com/

Steps to configure a sharepoint list on my public facing sharepoint site that is accessible for anonymous users:

  • Download the anonymous365 sharepoint solution from http://anonymous365.codeplex.com
  • Go to the “Site Settings” of your public facing site using by example :http://brxyz/_layouts/settings.aspx
  • Go to the “Galleries” section and go to “Solutions“.
  • Click under the “Name” colume and in the ribbon interface under the “Solutions” tab choose “Upload Solution“.
  • Browse to the previously downloaded anonymous365 sharepoint solution : “Wsp365.Anonymous.wsp” and press “OK“.
  • Check the checkbox of the uploaded “Wsp365.Anonymous.wsp” and in the ribbon interface under the “Solutions” tab choose “Activate“.
  • The go to the “All Si​te Content” of your public facing site using by example: http://brxyz/_layouts/viewlsts.aspx
  • Press “Create“
  • Choose the list type you want, enter a name and press “Create“.
  • Then in the ribbon interface under “List Tools” and “List” press the button “Anonymous Access“
  • Choose what acce​ss you want to give anonymous users for this specific list and press “OK”example

Client Object Model Access Large Lists/Overcome ListView Threshold while accessing large list

If you want retrieve large list using Client Object Model. You can use the ListItemCollectionPosition class to implement paging list item retrieval according to the position of items relative to their collection. Use the RowLimit element to specify the number of items to return per page.It is very useful when list view threshhold limit is reached.

static void Main(string[] args)
{
ClientContext clientContext = new ClientContext(“http://testLink”);

List list = clientContext.Web.Lists.GetByTitle(“Tasks”);

ListItemCollectionPosition itemPosition = null;
while (true)
{
CamlQuery camlQuery = new CamlQuery();
camlQuery.ListItemCollectionPosition = itemPosition;
camlQuery.ViewXml = @”<View>
<ViewFields>
<FieldRef Name=’Title’/>
</ViewFields>
<RowLimit>1</RowLimit>
</View>”;

ListItemCollection listItems = list.GetItems(camlQuery);
clientContext.Load(listItems);
clientContext.ExecuteQuery();

itemPosition = listItems.ListItemCollectionPosition;

foreach (ListItem listItem in listItems)
Console.WriteLine(“Item Title: {0}”, listItem[“Title”]);

if (itemPosition == null)
break;

Console.WriteLine(itemPosition.PagingInfo);
Console.WriteLine();
}

Console.ReadLine();
}​