From file to resource

From file to resource

You can load a file into a resource within a workflow with the advanced, utilities component: From file to a resource. The component has these parameters:

 

NG2WorkflowFromFileToResource01

 

File path

The path to the file, that you want to load as a resource.

 

Resource type

This is a drop down list of all the resource types in InterFormNG2. If you cannot find any good match, then you can use the resource type called other.

 

Resource path

The path to the new resource you want to create with this component.

    • Related Articles

    • From attachment to resource

      You can copy an attachment within a workflow into a resource with the advanced, utilities component: From attachment to a resource. The component has these parameters: Attachment name The name of the workflow attachment to copy. Resource type The ...
    • From resource to file

      With the advanced, utilities workflow component, From resource to file you can save a resource in the file system. The parameters are: Resource type The type of resource. You can select that via a drop down list or via an Xpath expression, if you ...
    • Resource to payload

      The shortcut workflow resource to payload can be used for exchanging the normal payload of the workflow with a resource found in the InterFormNG2 resource library. This can e.g. be used for using an XML resource file instead of the XML file, that ...
    • Resource to workflow variable

      With the workflow component, Resource to workflow variable (which is a shortcut component of the other category), you can read a resource from the library and store it in a workflow variable. A related component is: From file to workflow variable. ...
    • Resource to attachment

      You can attach any file from the NG2 resources as an attachment to an email with the workflow component, Resource to attachment. The email can later e.g. be emailed or saved with this resource with either of the components, Create PDF email or Create ...