Solved

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

Posted on 2016-10-27
9
29 Views
Last Modified: 2016-10-31
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
Comment
Question by:lmheimendinger
  • 4
  • 4
9 Comments
 
LVL 14

Expert Comment

by:SneekCo
ID: 41862681
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
 

Author Comment

by:lmheimendinger
ID: 41862720
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
 
LVL 14

Expert Comment

by:SneekCo
ID: 41862748
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
 

Author Comment

by:lmheimendinger
ID: 41862965
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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
LVL 10

Expert Comment

by:Michael Vasilevsky
ID: 41863273
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
 

Author Comment

by:lmheimendinger
ID: 41863302
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
 
LVL 14

Accepted Solution

by:
SneekCo earned 500 total points
ID: 41863305
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
 

Author Comment

by:lmheimendinger
ID: 41863307
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
 
LVL 14

Expert Comment

by:SneekCo
ID: 41867263
Thanks
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
Pimping Sharepoint 2007 without Server-Side Code Part 1 One of my biggest frustrations with Sharepoint 2007 in the corporate world is that while good-intentioned managers lock down the more interesting capabilities of Sharepoint programming in…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now