All posts by Ayman El-Hattab [MVP]

Ayman El-Hattab is a Technical Evangelist @ Nintex & a recognized industry expert focusing on helping organizations plan, design, develop, build, govern and operate enterprise collaboration solutions. During the past decade, Ayman has presented at many international and local conferences (including SharePoint Conference 2014, SharePoint Saturdays, TechEd events & others) covering a wide range of topics with a special focus on Office 365, SharePoint and Application Lifecycle Management. Ayman is a Microsoft Most Valuable Professional, Microsoft ALM Ranger and a published author (SharePoint 2010 Unleashed & SharePoint 2013 Unleashed). Ayman is also the founder of O365ForAll, SharePoint4MEA, SharePoint4Arabs , MEA ALM Community, Egypt SharePoint User Group and an organizer of several SharePoint Saturday events. You can follow Ayman on Twitter @AymanElHattab to stay updated on his upcoming activities.

[Nintex Forms] Announcing The “Nintex Repeating Section Data” Field Type for SharePoint 2010

A few days ago, I released a custom field type called “Nintex Repeating Section Data” for SharePoint 2013 to simplify how you can display of the repeating sections in SharePoint List Views without the need of creating complex workflows. If you haven’t checked that yet, please refer to my blog post.



After the amazing feedback I received from the Nintex Connect Community as well as Nintex fans on Twitter, I’m glad to announce the availability of the same for SharePoint 2010. You can download the WSP from here.

Let me give you a more complex example than the one I showed you in the previous post:

1) Here is the 2010 form I designed. I have two repeating sections, the first one is named “RepeatingSection1” and contains a Choice control rendered as a drop down list and a Yes/No control. The second repeating section is named “RepeatingSection2” and contains a Multi Line Textbox control as well as a Date/Time Control.


2) After publishing my form, I created two list columns from the type “Nintex Repeating Section Data“. The first column refers to “RepeatingSection1” and the second one refers to “RepeatingSection2“. I’ve also added both columns to the default view.



3) And here is the default view with both repeating sections rendered in tables. Nice and easy!


I’ve also received a couple of questions from the community on how the repeating section is rendered and the ways to customize it, I’ve already answered the question in several places but I would like to include this here as well.

If you want to further customize how the repeating section is rendered, the WSP creates a new folder under Layouts called “NintexRepeatingSectionView“, this folder contains two files:

–  GetRepeatingSections.js –> This is the file which is referred to from custom field type XSLT.  It does all the heavy lifting like querying the FormData hidden field, reading its XML to retrieve the referenced repeating section, parsing its XML and extracting its records. It is also responsible for rendering the values in a table.

–  NintexRepeatingSection.css –> This is the css file used within GetRepeationSections.js to style the table.

The idea is the same for both SharePoint 2010 & SharePoint 2013.

Download WSP from here


  • The “Nintex Repeating Section Data” Field Type for SharePoint 2010 was created in my free time and is NOT a Nintex product. If you have any feedback, please feel free to post it here or ping me on Twitter @AymanElHattab
  • You can create as many columns based on the new custom field type as needed. For instance, If you have 3 repeating sections (Flights, Hotels and Events) in your travel request form, you can create 3 columns to display the repeating sections’ records in your View. Just make sure NOT to connect your Repeating Sections to list columns.
  • IE7+, Chrome (Latest) and Firefox (Latest) are supported for the SharePoint 2010 version of the solution.
  • Nested Repeating Sections are not supported (yet).

Speaking @ Collab365 Global Conference

I’m very glad to announce that I will be speaking at the Collab365 Online Global Conference taking place on (Oct 7th/8th).

24 Hours of Office 365, SharePoint, Azure and more!! This is the event for 2015 if you want to gain in depth insights from experts all over the globe. Whether its the technology that you want to learn about, the applications or the implications of using Office 365, SharePoint or Azure, it’s the right event where you will find answers. Here are just some of the speakers who we have been able to fast track into the line-up.


My session will be around Office 365 Apps but the session details will be announced in 1 week. Stay tuned 🙂

[Nintex Forms] Displaying Nintex Repeating Section Data in List Views, The Easy Way!


Repeating sections are very powerful if you want to create 1 to many relationships within your Nintex Forms. However, they come with some caveats when you need to parse, use and display the data stored within them. This blog post introduces you to the Repeating Section Control, explains the parsing issue in depth and explains some existing solutions that was created earlier by the Nintex community. At the end of the post, I will introduce you to a Custom Field Type that I created to help non-technical users quickly display the Repeating Sections Data in List Views without creating Workflows or getting their hands dirty with XML, XSLT or Java script.

So, what is the repeating section control?


The repeating section control is basically a container, which means that any controls added in the repeating section in the design time will be replicated in the runtime when the end-user clicks to add a new row. The end-user can also click the “x” icon to remove rows. Using Repeating Sections in Nintex Forms, you can create dynamic forms allowing the end users filling out the form to enter multiple values for a single field on a form. This is useful when you are collecting data and you do not exactly know in the design time how many records need to be collected each time the form is filled out.



With the Repeating Section control, you can achieve a 1 to many relationship within your forms. Here are some examples:

  • Multiple products within the same order.
  • Multiple destinations, flights and hotels within the same travel request.
  • Multiple days off (with different types) within the same leave request.

The Problem

Despite how useful and cool the control is, there is no way OOB to parse the repeating section data if you need to do something with it. Why would you do that? Here are some scenarios / use cases:

  1. Interacting with the repeating section data from a Workflow.
  2. Saving the Repeating section data in another list and hence creating a Master-Detail or a Parent-Child relationship between two lists.
  3. Displaying the repeating section data in SharePoint List Views.

Basically, when an end-user fills out a form and submits it to the underlying list, an XML representation of the entire form is saved in a hidden field called “FormData”. If we have a repeating section within the form, its data is also XML serialized and stored within this hidden field.  If you need this data for one or more of the three scenarios above, you need to retrieve the value of this hidden field then query the XML to parse the repeating section data. Osama Mourad has written a very useful post around that, you can check it from here.

The Solution

Luckily, Vadim Tabakman wrote a very good post documenting a workaround he came up with to simplify the steps above. Basically, he created a UDA (User Defined Action) to extract the XML of the repeating section from the FormData field then he used the “Loop” workflow action to loop through each record in the repeating section using an incremental index. Using Vadim’s workaround, you can read the records the end-user filled in the Repeating Section and interact with them within the workflow.

What if you want to save this data to another list and hence create a Master-Detail relationship between two lists? Eric Harris has used Vadim’s workaround, added his magic and showed us in an excellent blog post how to do that.

What Vadim and Eric have done is all based on Nintex Workflows. What if you don’t have the Nintex Workflow Product? What if you just need to display the repeating section data in List Views and you don’t want to create a Workflow just for that? Enter The “Nintex Repeating Section Data” Field Type.

“Nintex Repeating Section Data” Field Type

The “Nintex Repeating Section Data” is a custom field type that I created in my free time to easily display the records of a repeating section in SharePoint List Views without the need of creating complex workflows. After you create your Nintex Form using the standard best practices for repeating sections, you only need to create a Column of type “Nintex Repeating Section Data”, enter the name of the Repeating Section you want to display in the field creation page, add it to any view and BOOM … The repeating section data is displayed in a neat table! All the heavy lifting is taken care of for you. Below are a few screenshots to help you understand the idea:

Here is the “Orders” list :


And here is the Ninext Form, it contains a Repeating Section called “Products”, note that I’m not connecting the repeating section to a column.


Now, I’ll create a Column of the new type “Nintex Repeating Section Data”. In the additional column settings, I will put in the name of the Repeating Section in the form.


Once the column is added to the view, here is what you are going to get :


Pretty cool, eh?

You can download the WSP for SharePoint 2013 from here. The SharePoint 2010 one will be released soon.
[[Update – 13 Aug 2015]] The 2010 version has been released. You can download it from here.


  • The “Nintex Repeating Section Data” Field Type was created in my free time and is NOT a Nintex product. If you have any feedback, please feel free to post it here or directly contact me.
  • You can create as many columns based on the new custom field type as needed. For instance, If you have 3 repeating sections (Flights, Hotels and Events) in your travel request form, you can create 3 columns to display the repeating sections’ records in your View.
  • IE7+, Chrome (Latest) and Firefox (Latest) are supported.
  • Nested Repeating Sections are not supported (as of now).
  • If you decide to use this solution, do NOT connect your Repeating Sections to extra columns. You don’t have to!

Speaking at SPBiz, the SharePoint Business Conference


Over 60 sessions in 2 days (June 17th & 18th 2015), SPBiz Conference is bringing insights and knowledge to help your business benefit from SharePoint, wherever you are. If you want to get the most out of your SharePoint platform, this is conference is for you. Free to attend as a delegate, bringing influential speakers and direction setters in the SharePoint community directly to your device.

I’m glad to be one of SPBiz speakers, below is more information about my session:

Title: Light Up Your Intranet with 10 Cool Apps

Description: SharePoint is the intranet platform of choice and one of the most commonly-used tools of organizations. Users uses Intranets to find the information they need to perform their day-to-day functions, from HR to Help Desk Wikis to Travel Request forms, and much more. Attend this session to discover 10 cool SharePoint / Office 365 apps (Add-ins) that can be used to boost team & personal productivity, help your workforce cut back on meetings and email chains and get the different teams within the organization to work together in flexible and collaborative workspaces to get things done wherever, whenever.

Day: Wednesday, June 17th – Time: 9 – 10pm (Dubai Time)

Location: Online

More information about my session here.

Light Up Your Intranet with 10 Cool Apps

Please note all times are shown in EDT.

New MVA Courses for Office 365: ProPlus Deployment & Enterprise Mobility Suite

This is a quick note to let you know that a couple of new interesting MVA Courses has just been published:

Office 365 ProPlus Deployment for IT Pros

The goal of this course is for the audience to learn about the IT Pro deployment features of Office 365 ProPlus, such as licensing and activation, Click-to-Run, Office Telemetry, and building App-V packages. Join us as we deliver demo-rich sessions that discuss these topics, first as an overview and then more in depth. Come hear how these new IT investments make upgrading Office a lot easier, faster, and economical. Take the course from here.

Expanding Office 365 with Enterprise Mobility Suite

If you want to take advantage of the Office 365 Enterprise Mobility Suite, be sure to take this course. Learn to provide access and protections to your users, and explore the enterprise management features you’d expect from any enterprise mobility management solution. Take the course from here.