Output temporary web storage component

Output temporary web storage component

The advanced output workflow component, Output temporary web storage is described below.

 

The input for the component is a payload containing a PDF. The component stores the PDF file temporary in the resources with a random file name. The resource file is then available for direct web access without login. The component is mainly meant for usage in ERP systems like SAP or Dynamics365 for previewing PDF documents.

 

The workflow component has these parameters:

 

NG2OutputTempWebStorage0001

 

Output type

The type of output file, that is to be generated. You can select the type from a drop down list. Currently the output formats XML and JSON are allowed.

 

When selecting JSON, the following structure is returned into the payload:

{"filename":"zvk66zkk88Cw8VP9N5cznbAv7t7AaBmC.pdf","size":7921}

 

When selecting XML, the following structure is returned:

<?xml version="1.0" encoding="UTF-8"?>

<tempStorage>

  <filename>dFppUHz9G25MEWCVEs9CESyR4SMe2Ert.pdf</filename>

  <size>7924</size>

</tempStorage>

 

 

Store in minutes (Optional)

This defines how long (in minutes) InterFormNG2 should keep this output file. This defaults to 3 hours, if not filled out.

 

The component creates a temporary output file in the directory like this:

<InterFormNG2_Home>\resources\<tenant>\moduleFile\outputstoragetemp

(If the file system is used for storing the resources)

 

The temporary PDF file can now be reached via a link like this:

SERVERURL:SERVERPORT/rest/tempStorage/FILENAME_FROM_XML

 

Example:

http://localhost:8086/rest/tempStorage/dFppUHz9G25MEWCVEs9CESyR4SMe2Ert.pdf

 

You need of course to make sure, that this link is accessible from the application from where you want to preview.

    Notice: Help Center Transition Update

    As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.

    We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.

    Best regards,
    The InterForm Support Team


      • Related Articles

      • Set Printing properties component

        The set printing properties workflow component is relevant, if you are going to print out on a PCL compatible printer. So if want to use the features below, then you need to ensure, that this is set prior to the merge into PCL. You can also consider ...
      • Component element

        The component element is selected via this icon: Components can be used, if you want to reuse a collection of elements for multiple templates. This can e.g. be used, if you want to define a special header or footer, that should be common for many ...
      • Print output

        You can print to on most printers in InterFormNG2. The printing can be done with these workflow components, if the printer is registered in InterFormNG2: 1.With the Print workflow component. This is the normal print component, that does a merge with ...
      • Email output

        If you want to email from InterFormNG2, then you can use this check list: 1.You need to define an email server in the tenant settings. 2.You need to define a mail template (that defines the contents of the email), which can be defined as an html ...
      • Swagger HTTP workflow component

        The advanced, utilities workflow component, Swagger HTTP can load a Swagger JSON definition can be loaded and a request from the API can be selected. An HTTP component is then generated with URL, output type, parameter names and header names ...