Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space WBRIDGE and version 7.8.0
Div
Classe2e-refDiv

Otp
Floatingfalse

Rp

Dynamic usage of an adapter means that all necessary parameters are specified during the execution of an activity. Specifications from the component diagram are used as defaults, but can be overwritten.

...

Figure: Dynamic Reading of a File

 


In the example above the forward slash "/" is used in the action script specify file name within the path of the filename. This also works for Windows systems.

Info

Multiexcerpt include
SpaceWithExcerptINTERNAL
MultiExcerptNamehint_backslash_in_path

...

PageWithExcerpt

...

INTERNAL:_bridge_excerpts

So in the example above it would be: ".\\tmp\\TestDirectoryDyn\\testFile_dyn.txt". When hen accessing network drives via  UNC (\\computername\sharedfolder\resource) be aware that you have to escape every instance of "\" so it would be: " \\\\computername\\sharedfolder\\resource).

Directory Alias and Dynamic File Access

...

The File System Adapter call Read a Line Dynamically with Directory Alias uses a directory alias to define a base directory (./tmp in this case). Action Specify File Name adds to the base directory so that the full path will be ./tmp/testDirectoryDyn/testFile_dyn.txt. Jumping out of the base directory by ../../aDirectory tricks is impossible. The base directory can be changed in the service settings on the E2E Bridge, however.
Action Specify Encoding overwrites the default encoding of directory alias TempDirectory (which is UTF-8) with ISO-8859-1.