Create a new item from edit mode

  • 11 August 2021
  • 1 reply
  • 144 views

Badge +6

I have a Nintex form in SP 2016. I want to allow the user to create a new list item from the edit mode.

example:

 

1. User creates a new item in the list using Nintex form.

2. User edits the item.

3. While the user is editing, the user can click on a button (Copy Item). By doing so a new record should be created and should have all field values that the user filled out. Nothing should be saved to the existing form (existing ID).

 

Is that possible.

 

Thanks.

 

Mayank


1 reply

Userlevel 1
Badge +8

Yes, to an extent.


On the Nintex Form, set the Default value for each field you want copied to the new item to "Specify a value".  Choose the Inline Function "GetQueryString" and make up a good descriptive name like "Title  for the title field, etc.  Repeat for each field - not sure it works on all fields types, but I have had good success.  Write down all the names you came up with.


When you build the link for the button (non responsive forms only; just a regular link to responsive forms) in a Calculated Value control, you will have the URL to your new form (like htttps://mysite/listname/NewForm.aspx) and then add to it the URL parameter names and the Named Controls on the form that you would like the values to be.  Be sure to select the Named Control and not Item Properties if you want the active value from the form.


 


You should end up with a base link that looks like this when you click on it:


https://mysite/listname/NewForm.aspx?Title=Title&Category=Category&Date=Date


 


Then you can create a target=_Blank, give the link a title., etc.


 


For instructions on creating a link within a calculated value control see this post: 


https://community.nintex.com/t5/Nintex-for-SharePoint-Forum/How-to-generate-calculated-filed-value-into-hyperlink-in-Nintex/td-p/940


 

Reply