Batch Adding

Batch Adding

randy.johnsonrandy.johnson Posts: 18Questions: 8Answers: 0

I have an editor where the customer can add brands which is just a simple text field.

I have been asked if they can batch add brands for example 5 at a time.

Is this possible?

Thank You,

Randy

Answers

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Yes indeed. As of Editor 1.5 the create() method will accept an optional parameter that will tell it how many rows to create (first parameter, the one called count).

    If you are using the main Editor form, then all of the records would contain the same value (not sure how useful that is in this case!) - if you want them to contain different values you would need to use the API.

    Allan

  • indymxindymx Posts: 63Questions: 3Answers: 0

    For batch adding, I built a custom processor that I can feed a CSV file.

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin

    Using Editor? That sounds like good fun :-)

    Allan

This discussion has been closed.