Tuesday, January 28, 2014

Publish the designed form to any page within the current site

In this article I am glad to present a new feature which allows to publish the designed forms to wiki, publishing and web part pages within the current site. It was implemented in SharePoint Forms Designer 2.8.6 which has been available for downloading since January, 27. I will now demonstrate how to use it in a real scenario.

Let us say that we have a helpdesk system and wish to create a compact homepage with the most important information and actions for our requestors. This page will contain the list of issues created by the current user, and a form on the right side for creating a new issue with essential fields only. For this case we should create a new page '/SitePages/Requestor.aspx' based on 'One column with sidebar' layout and place the list of issues filtered by the current user and grouped by status in the main column. Now, let us design a form for creating new issues for the sidebar. Go to the list of issues and open Forms Designer from the ribbon.

I designed a compact form with two tabs, the first for the most valuable fields whereas the second for additional information, e.g. category of an issue and attachments. At the bottom of my page I left Save button only and renamed it to 'Create request'. You can enable customization of bottom panel containing Save/Cancel buttons via 'Buttons' command in the ribbon.

As you can see, my form is small enough to distribute it at the sidebar of our homepage for requestor:

SharePoint Forms Designer

In the ribbon of Forms Designer you can see a new button 'General' in Settings section. Click it.

SharePoint Forms Designer General Settings button

Here you can find settings to change visibility of the contextual tab of the ribbon and the toolbar of actions which duplicate those in the ribbon, e.g. attach, delete, etc. Next, there are two inputs for URLs where the current user will be redirected after submission or cancellation. By default, users go to the default view of list. So, I hid the ribbon, made the toolbar visible to allow users to attach files and set URL for redirecting after submission to '/SitePages/Requestor.aspx':

SharePoint Forms Designer General Settings

Now, we have to export the designed form into a file:

Export SharePoint Form

Ok, let us go to the requestor homepage and open it in edit mode:

SharePoint edit page

Put the cursor into the sidebar and select Insert tab in the ribbon:

Add SharePoint form

Click New Form and choose the exported form in the dialog:

Import SharePoint form

Click Publish. Your designed form will appear right under the cursor in the sidebar. Here is my requestor homepage:

Publish SharePoint form to page

In the example above I have demonstrated how to publish the designed forms to wiki pages, but you can also distribute your forms on publishing and web part pages in absolutely the same way. Also note that you do not have to save the designed form in Forms Designer, just export it into a file. So, you can have different forms for creating items from multiple pages and from the list itself. If you need to modify the published form, you can import it into Forms Designer, make changes, export into a file and publish into the page as described above. The existing form will be replaced.

Please, leave your questions.


  1. hi,
    Can we publish "Display Form" not New Form?

  2. Strange error: The request uses too many resources.

    Microsoft.SharePoint.Client.ServerException: The request uses too many resources.
    at Microsoft.SharePoint.Client.ClientRuntimeContext.SynchronousExecutor.Invoke()
    at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
    at eIyurtRtZ4X2JqldUO.eo9pbAEpw96PSQFMJq.eECqPFOtcW()
    at eIyurtRtZ4X2JqldUO.eo9pbAEpw96PSQFMJq.e0mqLnHwYM(LimitedWebPartManager , String , PageType , XDocument )
    at e7GnrsFGqEoJEwGfkv.eTUPNJbOrXGoTtrQDr.<>c__DisplayClass7a.b__76(Object o, DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
    at System.ComponentModel.BackgroundWorker.OnRun(Object argument)

    I just have 1 form field and related items.

  3. Good afternoon:

    I have a problem when I want to insert an exported from Forms Designer on a website form. If the view contains other items related site then gives me an error and the Web is inaccessible,

    But that view if I have a list containing the content you have, I can see no problems. What we want is to generate a view with several tabs and in several other sites related to this view post on a web in a web page elements.

    Thank you for your comments

  4. When I try to embed the form to the page it does not work. Error 404.

  5. How do you add two forms to the page?


Note: Only a member of this blog may post a comment.