Difference between revisions of "Codeunit/StatusAction/SignNemIdActionStatusGenerator"

From TempusServa wiki
Jump to navigation Jump to search
Line 9: Line 9:


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



Revision as of 13:13, 30 August 2021

What it does

  1. Generates a document based on a defined template
  2. Send a document from a document field to signing with NemID.
  3. The user will be notified via email. The message contains a link to where to sign the document
  4. When signing a document is generated including a NemID signature
  5. After signing, the document is saved in the same field carrying the postfix _signed

All steps after 1 are the same as SignNemIdActionStatus

How to setup

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

Follow the directions in SignNemIdActionStatus

In addition the following must be set

  • Signer.TemplateID What template to use to generate the output
  • Signer.FieldID Field to store the output in
  • Signer.FileName What to name the output file (teh same as Signer.FieldFil)