Hi,
I am working on an infopath form,I had 2 buttons in that form.
Button1: Submit-->Submits data to sharepoint and web service.I am using perform custom action using rules option in this button.
Button2:Update-->Submits form data to update database,but nothing doing with sharepoint.This button will be only visible to user once the form is already submitted.I am using perform custom action using rules option in this button.
Both buttons are working exactly as i need.When form is submitted ,the form data is inserted to database tables using webservice and a new form with data is also created in sharepoint doc library.
Now user clicks on the form in doc library (in this context user is presented with Update button not the submit)opens the form and edits it clicks on update button.The data is updated properly to database using web service.But,the form with updated data is not saving to the sharepoint library.
If i add a rule for that button to submit to sharepoint another form will be created in doc library instead overwriting the existing one.How can i handle this situation.When user clicks on update button,i want database updation as well as saving the existing form into doc library.