Difference between revisions of "Codeunit/StatusAction/SignNemIdActionStatus"

From TempusServa wiki
Jump to navigation Jump to search
m (17 revisions imported)
 
(4 intermediate revisions by one other user not shown)
Line 6: Line 6:


== How to set up ==
== How to set up ==
Add a status action and set the codeunit to:  
Add a status action and set the codeunit Classname to:  
'''dk.tempusserva.signing.nemid.SignNemIdActionStatus'''
'''dk.tempusserva.signing.nemid.SignNemIdActionStatus'''


Set the following configurations
Set the following entity configurations
* '''Signer.FieldFil'''      Field containing the file to be signed
* '''Signer.FieldFil'''      Field NAME containing the file to be signed
* '''Signer.FieldFilID'''    Field containing the file to be signed
* '''Signer.FieldFilID'''    Field ID containing the file to be signed
* '''Signer.FieldEmail'''    Field containing the email of the signer
* '''Signer.FieldEmail'''    Field NAME containing the email of the signer
* '''Signer.FieldCPR'''      Field containing the CPR of the signer displayed in the signature
* '''Signer.FieldCPR'''      Reserved for future use (specify any field)
* '''Signer.ServerToken'''    Code to connect to the server (ask your TS contact)
* '''Signer.ServerToken'''    Code to connect to the server (ask your TS contact)
* '''Signer.StatusError'''    StatusID to set on the data if failed
* '''Signer.StatusError'''    StatusID to set on the data if failed

Latest revision as of 12:51, 10 December 2021

What it does

  1. Send a document from a document field to signing with NemID.
  2. The user will be notified via email containing a link for where to sign the document
  3. When signing a document is generated including a NemID signature
  4. After signing the documentis saved in the same field carrying the postfix _signed

How to set up

Add a status action and set the codeunit Classname to: dk.tempusserva.signing.nemid.SignNemIdActionStatus

Set the following entity configurations

  • Signer.FieldFil Field NAME containing the file to be signed
  • Signer.FieldFilID Field ID containing the file to be signed
  • Signer.FieldEmail Field NAME containing the email of the signer
  • Signer.FieldCPR Reserved for future use (specify any field)
  • Signer.ServerToken Code to connect to the server (ask your TS contact)
  • Signer.StatusError StatusID to set on the data if failed
  • Signer.StatusSigned StatusID to set on the data if succes
  • Signer.EmailSubject Header on the email sent to the signer
  • Signer.EmailBody Content of the email sent to the signer