Open a list's "New Form" from a link

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
MES5464
Posts: 94
Joined: Mon Aug 26, 2013

18 Sep 2013

Is it possible to put a link on the home page that will open a list's new form in a dialog?

I have set the list to "Open in dialog" and I have used the url to the forms designer's new form but it doesn't open as a dialog form.

Here is the link:

"http://url/Lists/Suggestion Box/fd_Item_New.aspx"

User avatar
schuess
Posts: 82
Joined: Wed Jan 22, 2014

27 Feb 2014

solution?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

28 Feb 2014

Please, put the following link into the home page via SharePoint Designer:

<a href="#" onclick="g_useDialogAlwaysList.push('fd_Item_New.aspx'.toLowerCase()); NewItem2(event, 'http://url/Lists/Suggestion Box/fd_Item_New.aspx'); return false;">New item</a>

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests