Job Runner

Output Through Print Creator

Important notice: Regarding the Abolition of This Do:

The Do in this document is expected to be discontinued due to specification changes in PrintCreator.
Currently, this Do feature cannot be utilized for new customizations.

For more details, check here.

The following is for those who have created customizations using this Do in the past:

Use the Webhook output function of the PrintCreator standard.

Summary

Output the specified record by PrintCreator.

How to Use

By executing this Do, the forms (PDF) output from PrintCreator will be sent to Kintone, making it possible to set them in the fields of the Kintone app. Just outputting by PrintCreator does not yet attach it to the field.

For example, by setting the result of the action such as $1 in the mapping of “Add New Record”, you can attach the output PDF file to the new record. Similarly, to set a value in the attachment file field of an existing record, you can use “Set Field Value”.

Parameter

Set App, Form ID, Records to Output, File Name, and API Token.

App

Specify the app code for PrintCreator.

Refer to the Form ID parameter explanation below for how to check the app code.

Form ID

Specify the ID of the frorm you want to output. Please note that this is an ID, not the name of the form.

You can check the PrintCreator App Code and form ID as follows:

  1. Access the record details of the Kintone app where the PrintCreator form is registered.
  2. Select the form of PrintCreator and click the Output button.
  3. The PDF will open in a new web browser tab, then check that URL.
  4. Check the form ID and app code as follows in the URL:
    • xxxxx is the form ID.
    • yyyyyyyyyyyyyyyyyyyyyyyyyy is the app code.
https://print.Kintoneapp.com/sheet/xxxxx/output?appCode=yyyyyyyyyyyyyyyyyyyyyyyyyy

In PrintCreator, the forms are associated with the Kintone app where the forms are registered. You cannot output a form for a Kintone app that differs from the Kintone app specified by the PrintCreator app code. Ensure that the correspondence between the PrintCreator app code and the form ID is set correctly.

Records to Output

Specify the records to be output as a form. You can specify the records obtained with “Retrieve Records by Providing Key”.

If multiple records are selected, each record will be output one by one. The result value of the action will be set in an array format containing the output form.

File Name

The PDF file you output will be attached with the file name specified here.

If omitted, it will be “output.pdf”.

API Token

Specify the API token for the Kintone app that saves the output PDF file. No specific access rights are required.

Restrictions

  • The PrintCreator batch output is unavailable.