Skip to Content
author's profile photo Former Member
Former Member

Constructing the path name for the communication channels on PI

What alternatives do we have for constructing the path name for the sender and receiver communication channels on PI to have a “variable” instead of hard coding? Can we specify a drive letter for which we can create a mapped drive? Or can we use an environment variable in the path which we can setup for each PI server (DEV, QA & PROD?

e.g. %windir% might substitute as C:\Windows

I have come across constructing receiver path and file name dynamically. Could we do the same with the sender, so as to make it easy when transported to QA and PROD

Thank you

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2012 at 01:37 PM

    Hi Kevin,

    I don't have hard knowledge on this, but in my opinion on sender side this doesn't make much sense, since the variables are message-based. When you're working on sender side you usually don't have a message yet.

    You could use folders on PI itself and then work with "//localhost" as the server name, but other than that I don't see any improvement. File integration is always highly manual. Upon transport of the communication channels the system deletes the source path information, so why work with variables here if you need to adjust them manually, anyway?

    Regards,

    Jörg

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 22, 2012 at 01:37 PM

    Hi Kevin,

    I don't have hard knowledge on this, but in my opinion on sender side this doesn't make much sense, since the variables are message-based. When you're working on sender side you usually don't have a message yet.

    You could use folders on PI itself and then work with "//localhost" as the server name, but other than that I don't see any improvement. File integration is always highly manual. Upon transport of the communication channels the system deletes the source path information, so why work with variables here if you need to adjust them manually, anyway?

    Regards,

    Jörg

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 24, 2012 at 06:10 AM

    Hi Kevin,

    We dont have that flexibility for Sender CC.

    Please find the below link:

    File Sender Adapter - Polling Multiple Directories

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.