Difference between revisions of "Codeunit/ContentPublic/PagePublicTokenBuilder"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 11: Line 11:


Afterwards an email is sent to the user with a token for the record in question
Afterwards an email is sent to the user with a token for the record in question
Note: If no interface is specified the codeunit will exit without doing anything


== How to invoke ==
== How to invoke ==

Revision as of 08:50, 18 March 2013

ARTICLE IS INCOMPLETE

What it does

Builds a token for accessing records using configuration options and dynamic parameters.

Multimode operation based on supplied parameters

  1. Email as parameter: Execute silently
  2. No email supplied:
    • Display form with email
    • Execute normally

Afterwards an email is sent to the user with a token for the record in question

Note: If no interface is specified the codeunit will exit without doing anything

How to invoke

Make a http request:

 main?command=dk.p2e.blanket.codeunit.common.PagePublicTokenBuilder


Configuration

The codeunit has the following options

Options for the email input form

  • FormHeader: HTML before the form and resulting message
  • FormFooter: HTML after the form and resulting message
  • FormIntroduction: Help text displayed above the form
  • FormSubmitButton: Text on submit button
  • FormReponseSuccess: Message to user if email is sent succesfully
  • FormReponseFailure: Message to user if email failed

Options for building the token

  • LookupSolution:
  • LookupFieldName:
  • TokenInterface:
  • TokenInterfaceAlt:

Options for the email message

  • EmailHeader:
  • EmailContent:
  • EmailMatch:
  • AltToken:

Developer info

  • Type: CodeunitPagecontentPublic
  • Security: Public accces