Delete resource

Delete resource

This workflow component deletes a resource from the Library.

 

Related workflow components are: List resourcesResource to payloadResource to attachment and Save in resources.

 

An example of how this can be used with the List resources can be found in this section.

 

The Delete resource workflow component has this parameter:

 

NG2WorkflowDelResource0001

 

Resource path

The path in the Library to the resource including the resource name. The first folder in the path is the resource type.

 

The folder for the resources are:

 

Resource

Path

Example

Components

/templateComponent

/templateComponent/Common/Footer.icmp

Documents

/document

/documents/Demo/Demo_Invoice.xml

Fonts

/font

/font/arial.ttf

Images

/image

/image/Demo/Leif1.jpg

Mail templates

/mailTemplate

/mailTemplate/defaultMailTemplate.vm

Other

/other

/other/Certificates/MOCES_gyldig.p12

Styles

/style

/style/header.style

Templates

/template

/template/Demo/InvoiceDemo.ift

Transforms

/transform

/transform/production/copyNode.xsl

Translations

/translation

/translation/Demo/translate.properties

Validation rules

/validationRule

/validationRule/Training/Validate_demo_xml.xsd

Workflow

/workflow

/workflow/KSE_test.wf

    • Related Articles

    • 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 ...
    • Delete file

      The advanced utilities workflow component, Delete file can be used in order to delete a local file. A prerequisite for using this workflow component is, that the global setting, Allow direct file access has been enabled on the Global system settings. ...
    • Delete a workflow

      Delete a workflow To delete a workflow you first need to view the list of workflows: You need to click the WORKFLOW ribbon in the top of your browser session to view the workflows: Now you see a list of your workflows: Now you can delete a workflow ...
    • 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 ...
    • 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: File path The path to the file, that you want to load as a resource. Resource type This is a ...