Developer forum

Forum » Feature requests » Item creator with item list

Item creator with item list

Rune Skovbo
Reply

Hi there

I asked about this feature here: http://developer.dynamicweb.com/forum/templates/item-creator-with-item-list.aspx and found that it is currently not possible.

Wouldn't it make sense to build this functionality though.

Giving the user the ability to create a list with information?

Maybe for creating attendees for somthing, you could do something like:

Attendee 1. Gender:Male - Age:34 - Favourite animal: Lynx

Attendee 2. Gender: Female - Age: 33 - Favourite animal: Cat

<-Add attendee->

 

In other words, like a normal item list works in Admin

 

Regards,

Rune


Replies

 
Nicolai Høeg Pedersen
Reply

Hi Rune

Yes, that would be nice.

Only problem is, that to create the sub records, the parent record needs to be created first. I think you could already do that (more or less)

Page 1: Create parent item (when created, redirect to sub page)
-- Sub page 1.2: Create attendees for parent item (when created, return to this page for adding additionals)

 
Rune Skovbo
Reply

That is a bit more cumbersome though - jumping back and forth between pages.

I don't understand why it's a problem that the parent record (item?) has to be created first. From what I have in mind, both the parent item and the itemlist items are created as we always do.

The user is presented with the parent item, with the option to add an itemlist item and fill it out. After that, add additional itemlist items.

I think you know what i mean, I simply don't understand the answer :-)

 

/Rune

 
Nicolai Høeg Pedersen
Reply

Hi Rune

Yes, I understand what you want. But the item creator does not support it right now.

When you use the backend, the parent item is created when you add a new one. Adding items in the item list adds them as children to that record.

When using the item creator, the user is shown a form - not until the form has been filled out and saved, an item is created. So there is no place to add sub records. And yes, the item creator should just be able to collect all the item data for parent and sub and create them when saved, but it currently does not support that.

The suggestion using 2 pages with item creators, was to get it up and running....

BR Nicolai

 
Rune Skovbo
Reply

Ok thanks. Don't get me wrong, I appreciate your suggestion! :-)

Still, this this stands as a feature request of ours.

Have a nice day.

/Rune