[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 367
  • Last Modified:

SharePoint Online - How to create form for list and then create multiple list items from its completion?

That title may have sounded weird, but hopefully this explanation makes it easier to understand.

Imagine a form with various items on it,each with a quantity drop down.  A user might select only certain of this items to change the default quantity from 0 to a larger number.  When the form is submitted, a list entry is created for each non-zero item.  Even better, the form itself is created dynamically from another SP list with one entry on the form for each item in the list.

Let me put some icing on the cake problem set.  The user would get an email listing the items he or she selected, and in this particular case since the items will be delivered to them, would reply - or something else similar - to update the list times by changing their status from ordered to received without specifically accessing the SP list.  I know that SP online cannot have emailed enabled lists, so is there another mechanism?

I am a bit open to third party products to solve this problem.
0
lmheimendinger
Asked:
lmheimendinger
  • 4
  • 4
1 Solution
 
Walter CurtisSharePoint AEDCommented:
You describe a classic e-commerce system. Take some time and design more accurately your requirements and things will become clearer for you, and anyone assisting.

Good luck...
0
 
lmheimendingerAuthor Commented:
I know exactly what it would look like and operate, but I am trying to map that into SP features.  That was the intent of my question.  Anyone else, please?

I would not characterize it as classic eCommerce, but do appreciate the analogy.  It is an internal system for moving test equipment and other physical assets around based on need.
0
 
Walter CurtisSharePoint AEDCommented:
It is classic e-commerce is just an analogy based on what you describe. Basically, you have an order form that has items listed (with a pull down to select desired quantity). The order form then builds a pick list that so that the order is physically built in the warehouse, then generates a delivery order (showing details and anything that is on back order), sent to shipping, user notified of status and the mailman brings the goodies to the door.  So you aren't dealing in products and eCommerce, but from the design point of view, it is very similar.

SharePoint supports such a scenario with relational lists, lookup columns, connected web parts, BCS and some other things.

Good luck...
0
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
lmheimendingerAuthor Commented:
well yes it does.  Let me be a bit more specific.

1. How would I create a form that is populated from items in another list?  Variable in scope.
2.  How would I take a completed form and created multiple entries in an - call it an item requested - list from that single form?
3. What mechanism can I use to update a group of those created items in step 2, to wit, that they were actually received?  I want to make it very simple for the user to essentially just click that it has been done without editing each item.
0
 
Michael VasilevskySolutions ArchitectCommented:
Since this is SharePoint Online you're going to be using JavaScript - what you're describing cannot be done out-of-the-box.

1. Run some JavaScript that generates an HTML form using REST or CSOM
2. On form submit populate an existing SharePoint list or create a new one
3. Some custom HTML with JavaScript could do this

Hope this helps!
0
 
lmheimendingerAuthor Commented:
Thank you.  Yeah, afraid of that.  I hung up my coding spurs years ago, just do a bit of HTML here and there but nothing elaborate.  I don't have a clue as to how to do #1 - run some JavaScript using REST or CSOM.  Don't know of REST to connect to or how to get it to run JS either!  Same goes for #2.

Would you be able to point me to some links that I might use to cookbook a solution?  If I get it to be a basic solution I can probably hack out a form

Then I would be onto the next issue:  how to take the submitted form and create multiple list entries from the fields on the form.  And lastly, of course, a way to get a response from a user that they did not receive the items so the list rows could be updated without individual editing.  At least I am not asking for much.
0
 
Walter CurtisSharePoint AEDCommented:
This is hard to say without seeing exact requirements, but nothing really seems as if it can't be done out of the box. Possibly some of the relational items need a small JavaScript function, but that is so common now it is basically out of the box. With the assistance of SharePoint workflows, the requirements can be met.

The problem, the procedure is not something that can be written up in a forum in just a few hundred characters. There are some links to references about creating such a system, again just a classic system. I will dig those up and post them.

Maybe I am missing something, but I don't think so...
0
 
lmheimendingerAuthor Commented:
Thanks I am looking at some JavaScript in REST articles now.  As in so many posts like those, they leave out a lot of steps assuming one knows them:  essentially how to get started in the first place, and then concentrate on the particular JS code.  I appreciate your assistance.
0
 
Walter CurtisSharePoint AEDCommented:
Thanks
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

  • 4
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now