Copy/duplicate child item
Posted: 12 Dec 2017
Hi guys.
Hope you can assist me. I have the following requirements:
1. Create parent item
2. Create child items but they need to be able to copy a child item because next child item is almost identical. It saves the user a lot of time if he can copy the previous child item.
Solution A)
Use related items in grid mode.
This approach is the cleanest and very easy to set up.
BUT this is not possible because 3 columns are external data columns that don't work in grid mode.
My current suggestion)
1. Open "Parent New Form" - fill the form, press "save and create child item" , redirect to "Parent Edit Form"
2. "Parent Edit Form" displays child list in related items.
3. Press "Add new" to add child item, it opens "Child New Form" - fill the form, press "Save", get back to "Parent Edit Form".
4. Now I can see the first child item in the "Parent Edit Form". The first column in the child item related items is a calculated column with the text "Copy Child Item". When pressing this link the "Child Edit Form" opens up but redirects me straight away to "Child New Form" with all the data from the child item I created earlier.
Problem with this approach is that I don't know how I can:
> press "Copy Child Item"
> Open the "Child Edit Form"
> Copy the data (perhaps using url parameter?)
> Open "Child New Form" with all the data from the previous child item
Can you help me with the above or do you have another suggestion in how to do this?
Thankful for all support <3
Hope you can assist me. I have the following requirements:
1. Create parent item
2. Create child items but they need to be able to copy a child item because next child item is almost identical. It saves the user a lot of time if he can copy the previous child item.
Solution A)
Use related items in grid mode.
This approach is the cleanest and very easy to set up.
BUT this is not possible because 3 columns are external data columns that don't work in grid mode.
My current suggestion)
1. Open "Parent New Form" - fill the form, press "save and create child item" , redirect to "Parent Edit Form"
2. "Parent Edit Form" displays child list in related items.
3. Press "Add new" to add child item, it opens "Child New Form" - fill the form, press "Save", get back to "Parent Edit Form".
4. Now I can see the first child item in the "Parent Edit Form". The first column in the child item related items is a calculated column with the text "Copy Child Item". When pressing this link the "Child Edit Form" opens up but redirects me straight away to "Child New Form" with all the data from the child item I created earlier.
Problem with this approach is that I don't know how I can:
> press "Copy Child Item"
> Open the "Child Edit Form"
> Copy the data (perhaps using url parameter?)
> Open "Child New Form" with all the data from the previous child item
Can you help me with the above or do you have another suggestion in how to do this?
Thankful for all support <3