Creating email templates to search for Request ID


You must use the Query Action label (or its alias) to perform a search action. The following examples use templates that have been exported using Developer Studioand show how to modify them. You can, however, create the template using a text editor.

To create an email template to search for a request ID

  1. Export the email template for the form that you want to make available for searching.
    A sample of an exported mail template appears as follows:

    # File exported Tue May 21 21:38:47 2004

    Schema: vacation
    Server: polycarp
    Login:
    Password:
    Action: Submit
    Values: Submit, Query

    Format: Short
    Values: Short, Full
    Submitter !2!:
    Short-Description !8!:
  2. Edit the exported file.
    1. Change the Action:Submit to Action:Query.
    2. In the fields section of the email template, define only the Request ID. It must have a field ID value of 1.
    3. Enter the Request ID of the entry to be retrieved.
    4. Remove all other fields from the mail template. (The only field in the body should be !1! requestIDNumber.)
      The following example shows an exported template that was modified to search for a request ID:

      Schema: vacation
      Server: polycarp
      Login:
      Password:
      Action: Query
      Format: Short
      Values: Short, Full
      !1!:TT00000000119

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*