NemID signing

From TempusServa wiki
Jump to navigation Jump to search

Configuration

Before using the signing setup the signing service in Modules > Configuration.

Note: Among the configurations is an customer key, you can aquire from Tempus Serva support.

On each entity you will need to add the following configurations

  • Signer.EmailBody
  • Signer.EmailSubject
  • Signer.FieldCPR
  • Signer.FieldEmail
  • Signer.FieldFil
  • Signer.StatusError (ID)
  • Signer.StatusSigned (ID)

In case you want to automatically generate the documents before signing, include

  • Signer.FieldID
  • Signer.TemplateID

All field refernces should use the system name (allways in uppercase).

Manual signing

Manual signing will allow a user to click a button that starts the signing proces.

  1. Follow steps in Configuration
  2. Create a new button with parametrized URL
  ?command=dk.tempusserva.signing.nemid.SignNemIdActionPage&SagID=402&DataID=[DataID]

Automated signing

Automated signing will start the signing process when a certain status is assigned

  1. Follow steps in Configuration
  2. Create a new status action
  3. Insert a new codeunit execution
  dk.tempusserva.signing.nemid.SignNemIdActionStatus

OR

  dk.tempusserva.signing.nemid.SignNemIdActionStatusGenerator

The later will generate the file from a defined template before sending to sending