Solved

submit infopath form to subfolders in a sharepoint form library

Posted on 2009-03-30
8
3,335 Views
Last Modified: 2012-05-06
Hello..
We have an infopath form running on moss 2007.  This form submits to a form library.  I have the url added in the main submit of the form.  However, we have now changed the form library to have multiple subfolders (by department). Each department only has write access to their folder.  How can I change the submit to look at the current folder they are using and submit the form to that folder.....or allow them to select the folder.
thanks
0
Comment
Question by:pattersonr
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 25

Expert Comment

by:Robbie_Leggett
ID: 24026603
Have you tried creating a workflow in SharePoint Designer which moves the form to the subfolder after it's been submitted?
 
This can be done based on the department, using a dynamic string/variable.
 
:-)
0
 
LVL 1

Author Comment

by:pattersonr
ID: 24030179
Robbie...We have decided that SharePoint Designer is not a product that we can use because of the limitation of moving workflows after they have been designed.  We have a pretty complex testing, dev, production environment.  So we excluded Designer.
To probably your larger question about using a workflow...We probably could go that route, however, the ideally the users wont have write access to the main library.  So in my mind it would be nice if we could submit directly to the proper folder.

What do you think
0
 
LVL 25

Expert Comment

by:Robbie_Leggett
ID: 24030287
If you have a dev team, then programatically it's definitely possible. I'm, unfortunately, unable to help with this as coding is my weak point currently, hence the SPD suggestion.
 
There is a way to achieve just about anything with SharePoint though, so i'd pass this one to the coders to figure out.
 
:-)
0
 
LVL 1

Author Comment

by:pattersonr
ID: 24030374
hahaha....I am the dev team......
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 1

Accepted Solution

by:
pattersonr earned 0 total points
ID: 24055102
Solved my own issue here....
To assist others....basically on the infopath form I already had a dropdown box to pick the department.  I created a submit data connection for each folder.  I then used the submit options and custom rules to add a rule for each data connection.  The rule basically looks and compares the value of the department folder and picks the data connection to use.

Hope that helps someone
0
 

Expert Comment

by:Mind4sale
ID: 24309778
Hello,

I have nearly the exact same situation as you, only I haven't been able to successfully submit to a subfolder.  I can submit to the top level library without issue, but as soon as I change the submit options to point to a subfolder, the process says the form is submitted, but nothing shows up in the subfolder.  I have my rules on the submit to look for a department field and then send to that departments subfolder when the rules are met.   I'm not sure if I've got my data connection wrong or what.  I'm 99% certain the rule is good because it works when I send it to the top level folder.   Can you provide an example of what your rules and data connections look like?

Any thoughts or assistance would be greatly appreciated.

-Shawn
0
 

Expert Comment

by:Mind4sale
ID: 24309863
I did some digging and determined I had the data connection pointing to an incorrect URL.  Problem solved!  It's working like a charm now.

Thanks for your write up though, it helped me out a lot!

Cheers
0
 

Expert Comment

by:zriecken
ID: 25261077
While everything here was nice to read... nothing actually explained how to fix it. So here you go:

I was able to publish a form to a new Form List and it would open and allow people to use it, but when they clicked submit it never saved correctly. I wanted the form to save in a different document library and in a folder in the library.

So to get it to save to the library first I changed the Data Connection and in the SharePoint Form Library section I had put in the URL I copied from the page:

http://rwcsharepoint/HR/HR%20Private/Forms/AllItems.aspx?RootFolder=%2fHR%2fHR%20Private%2fEmployee%20Evals&FolderCTID=&View=%7b7B1D1549%2d668C%2d441C%2d9F69%2d4EA304E1B163%7d

That didn't work... So I removed all the garbage:

http://rwcsharepoint/HR/HR%20Private/Forms/AllItems.aspx?RootFolder=%2fHR%2fHR%20Private%2fEmployee%20Evals&Folder

That didn't work... So I removed everything:

http://rwcsharepoint/HR/HR%20Private

This worked and it published to the root of the Document Library. So finally I changed the URL to:

http://rwcsharepoint/HR/HR%20Private/Employee%20Evals

And it finally worked.
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

23 Experts available now in Live!

Get 1:1 Help Now