on 08-12-2008 1:29 PM
Hi all
In one of our interface development ,at we require a dynamic Directory path at the sender file adapter ..
ex :
path = Root/A/B/C
filename = test.txt
now in Root Directory, Folder & subfolder " A ( B ( C ))) are dynamic.
Subfolder "C" wil contain the source file..
Will it possible...with Z module development..??
Regards,
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Closing the thread ,with available solution till date. Lets wait for something new in
PI 7.2... for this.
Regards,
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
if you want your directory name dynamically from Payload, you can use the option variable substitustion;
For example follow below procedure:
1)in the Target directory name --> /%dir%
2)go to advanced tab and check for the variable substitution option(enable),
3)variable name:dir
Reference:Payload:mt_filetest,1,name,1
according to the given details in the communication channel your payload should be like this
<?xml version="1.0" encoding="UTF-8"?>
<ns0:mt_filetest xmlns:ns0="urn://filetest">
<name>madhav</name>
</ns0:mt_filetest>
now directory is created with the name of madhav (Dynamically according to the payload directory name is created).
Note: points if it is useful
Thanks
Madhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i was looking for a document but i cannot find nothing about your issue with out a Z module.
yes, you can fix it with a module. but why dont you try to reach the file putting an *
E.X:
Dyrectory: /file/*
File Name: Customer.xml
original path: /file/clients/WallMart/Customer.xml
the problem is if you have two file with the same name; in this case PI will get both
try this.
Thanks
Rodrigo
Edited by: Rodrigo Alejandro Pertierra on Aug 12, 2008 9:45 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.