Submit to Document Library

P

Paresh

Hi All,

I have created an infopath form and am able to submit this form to
document library. The form name is some hardcoded string. For the
first time, the form has been submitted to the document library
without any issues. But the second time when I submit the document to
the document library, I gives me an exception saying that the document
allready exist (which is very obvious because teh document by that
name allready exist in the library)

Is it possible to submit the same document with different versions?

Regards,
Paresh
 
K

Kalyan G Reddy MVP (GGK Tech)

Hello

You cannot submit the forms with same name into the same document library.
For different versions you have to use different form library.
 
P

Paresh

Hi All,

I have created an infopath form and am able to submit this form to
document library. The form name is some hardcoded string. For the
first time, the form has been submitted to the document library
without any issues. But the second time when I submit the document to
the document library, I gives me an exception saying that the document
allready exist (which is very obvious because teh document by that
name allready exist in the library)

Is it possible to submit the same document with different versions?

Regards,
Paresh

Guys, its done. We just need to check "Allow overrite if file exists"
checkbox to achieve this.

Thanks,
Paresh
 
K

K.Ramana Reddy(GGK Tech)

Hi,

If you check "Allow overrite if file exists" checkbox , it will overrite the
exist one , it will not create the new form with same form name.

if you want create new form with different name. use some field in your form
as form name.
 
D

Dibs

Hi Paresh,

Can you tell me what steps you followed to submit a form to a document
library. I am trying to the same by following this link -
http://support.microsoft.com/kb/826993.
When I try to do this, InfoPath gives me an error - "InfoPath cannot submit
the form. The form template has insufficient security privileges. Access is
denied". Can you please tell me what might have gone wrong...? We do not need
to write custom code to do this... do we? I am using IP 2007 with MOSS 2007.

Cheers,
 
P

Paresh

Hi Paresh,

Can you tell me what steps you followed to submit a form to a document
library. I am trying to the same by following this link -http://support.microsoft.com/kb/826993.
When I try to do this, InfoPath gives me an error - "InfoPath cannot submit
the form. The form template has insufficient security privileges. Access is
denied". Can you please tell me what might have gone wrong...? We do not need
to write custom code to do this... do we? I am using IP 2007 with MOSS 2007.

Cheers,







- Show quoted text -

Hey,
I followed the same link to submit the form to document library using
IP 2007 and yes, we don't need to write any code for that.
I guess, the error you are getting is because of some permission
settings. Try to give suitable permissions to the form library where
you want to submit the form.

Do let me know if this helps :)

Thanks,
Paresh
 
K

K.Ramana Reddy(GGK Tech)

Hi,

You cannot submit a form to sharepoint with restricted security.
You need to have "Automatically determine security level based on form
design"(Domain Trust) or above(Full trust). So your second error was bound to
happen with restricted security.

We can submit the form without code also, please check this,
http://msdn2.microsoft.com/en-us/library/bb267334.aspx
 
D

Dibs

Yeah, I could make it... I was making a conceptual mistake... I was tryin to
submit the form without publishing the form template..
 
P

Paresh

Yeah, I could make it... I was making a conceptual mistake... I was tryin to
submit the form without publishing the form template..








- Show quoted text -

Hi,

Thanks for the information, but what code do we neeed to write? I
mean, doesn't the section "Test your form in InfoPath 2007" in teh
following link enough to submit a form to document library without any
code?
http://support.microsoft.com/kb/826993

Thanks,
Paresh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top