Windows share connections

Windows share connections

If you want to use windows shares in InterformNG2 for reading and writing data via such a shared folder, then you first need to define a connection to this share. 

This link might help you to define a share on the remote server:
https://support.microsoft.com/en-us/windows/file-sharing-over-a-network-in-windows-10-b58704b2-f53a-4b82-7bc1-80f9994725bf

You can do that via the tenant settings and here select Workflow and then Windows share:

Here you can add one or multiple Windows Share definitions like below:

Mandatory fields

Name:This is the name of the Windows share that will be used in workflow components and in the XPath extensions.
Share address: This is the IP or DHCP name of the server where the share is located.
Login: This is the username for accessing the share. This is required even if the user running InterformNG2 is the same.
Password: This is the password for accessing the share. This is required even if the user running InterformNG2 is the same.

Optional fields

Domain: This is the domain for the user logging in. If left empty, the target share address is used as domain.
Directory: This is the subdirectory inside the share (to make it easier to configure workflow components and XPath extensions. If left empty, the root of the share is used.
If e.g. you have a shared directory called sharetest like in the screenshot above with this structure inside:

Then you can e.g. choose to share access to the inbox folder only by specifying the inbox directory:

The the inbox directory is considered the root, when you then later refer to this Windows share connection. You can then refer to the relate path from this directory in the listed Windows share functions listed below.

Test connection

You can also verify, that the connection works by clicking the Test Connection icon in the bottom of the window. Remember to click Save to save the configuration.

Create multiple Windows Share connections

You can define additional Windows Share connections if you click the blue + icon in the top.
The workflow input type, Read from Windows Share
The option to print to a printer connected via smb.
The URL extension for Windows Share

Built-in functions

  1. ng:smbFileExist
  2. ng:base64EncodeSMBFile
  1. Attachment to Windows Share
  2. To dynamic Windows Share
  3. To Windows Share
  4. Variable to Windows Share
  5. Windows Share delete file
  6. Windows Share file to payload
  7. Windows Share list files
  8. Windows Share to attachment
  9. Windows Share to variable