Automatic checked out the form after submit infopath form??

I

I.m.I

i created a vacation request infopath form ..
i need when the employee submit the form it automatic check out to his
manager and when the manager check the manager approve checkbox it automatic
checked out to hr employee
how can i do this??
(i am using infopath 2007 and sharepoint 2007)
 
C

Chandrakanth (GGK Tech)

Hi,

Please follow the below for implementing your functionality. I think it will
help you.
• Please add a field in your form and by default set the value of the field
“employee†(Let the field value is field1).
• Whenever user submits the form set the above field (i.e., field1) value to
“Managerâ€.
• Whenever the manager opens the form and checks the “Approve†button. For
this add a rule to that “Approve†check box so that whenever the approve
check box is checked set the above field value (i.e., field1) to HR.
 
I

I.m.I

tku Chandrakanth

that what i already done but what i mean :
when the employee submit the form i need to make the form automatic checked
out to the manager in the sharepoint form list so the employee can not edit
it, the only one can edit it is the manage and when the manage approve
it(check the approve checkbox in infopath) it automatic checked out to the hr
so the manager can not edit it again .. can i do that using Infopath or using
VisualStudio with workFlow????
 
A

Agnihotram (GGK Tech)

There is a "CheckOutFile" web method in
"http://<server>/_vti_bin/lists.asmx". I dint look at the functionality of
the method indetail but the name suggests that you should be able to use this
method for checkout.
Please lot us know the out come either way.

thanks,
 
I

I.m.I

tku Agnihotram

this method do the trick but it checkout the file to the one who run the
infopath form and i need to checkout the file to the manager not to the
employee who create the form .. it does not take any Parameter for the
"checkout to" user ... ????
 

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