Find out which signature block has been signed - InfoPath Dev
in

InfoPath Dev

Find out which signature block has been signed

Last post 08-24-2006 05:39 AM by Christiane. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 08-23-2006 06:34 AM

    Find out which signature block has been signed

    Hi,

    I am happy I found this forum and hope you can help me.

    I want to find out which signature block was signed and then send e-mail and change a field called Status accordingly. This field is a field in a SharePoint Form Library.

    If I use the OnAfterChange event for the signature, I am able to send the e-mail, but I am told the DOM is read-only if I want to change a field value.

    Now I am thinking of testing which signature block was signed with

    XDocument.SignedDataBlocks.Item(27).Signatures.Count==1

    but this tests only signature number 28.

    The document which is an approval one, will require 28 signatures before a new product is allowed to be manufactured.


    I want the satus to change to i.e. "QA Approved" if person a approves(signs the form), then to "Tech Committee Approved", etc.

    Can anyone guide me how I could do this?

    Thanks!

    My form is fully trusted.

    Christiane
  • 08-23-2006 09:19 AM In reply to

    Re: Find out which signature block has been signed

    Hi Cnristiane and welcome to our forum. If you are signing the entire data source then you will not be able to change that status field. What you have to do is move that status field outside the rest of the data tree and then only sign the subtree which needs to be locked. Then you can update the status field each time another user signs.
    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 08-23-2006 09:23 AM In reply to

    Re: Find out which signature block has been signed

    Hi Shiraz.

    Users will sign 28 different sections. My status field is outside the data tree.

    I use signatures group as a trigger to check if a section has been signed, but then I can't change the status field...
  • 08-23-2006 09:31 AM In reply to

    Re: Find out which signature block has been signed

    Ah ok. Are you trying to change the field value before sending the email or in the middle of the email send operation. It may just be a locking issue unrelated to the signatures.
    Shiraz Cupala / Microsoft InfoPath MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 08-23-2006 01:00 PM In reply to

    Re: Find out which signature block has been signed

    No, after sending the e-mail but because I am doing it from when in DOM read only, and won't let me.

    How can I put code after XDocument.Sign() to see which signatureblock was just signed??????
  • 08-24-2006 05:39 AM In reply to

    Re: Find out which signature block has been signed

    Help!!!!!!!!!
Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.