Multimapping and dynamic folder selection for files

Hi SDNers,
I have a requirement where I need to split the message in multiple messages, I am using 1:N Multimapping for this.
Also I need to use dynamic configuration to route the separated files to multiple folders based on place field in the message.
When I am using Dynamic configuration the splitted files are all getting created in one directory instead of multiple directories.
The requirement is that if place field has value india then the file having value as INDIA should be placed in folder INDIA, if place is UK then that file should be placed in folder UK
Can anyone please help me on how to achieve this?
Regards,
Gautam Purohit

As far as I know this is not possible, since bulk message will be delivered to Adapter Frame Work (AFW). AFW delegates each message from bulk message.
Try using Variable substitution, but I am not sure if it works.
May be you need a BPM to achieve this. But this will cause performance.
Regards,
Praveen Gujjeti.
Edited by: Praveen Gujjeti on Apr 6, 2010 8:11 PM

Similar Messages

  • Dynamic UserID/Password for file Adapter

    Hi,
    How to use dynamic UserId/Password for file adapter ?
    (Sender/Receiver)
    In our case the Id/Pwd of FTP Site changes freguently.
    Can anyone help.
    Thanks in Advance
    Regards
    Chemmanz

    Hi Chemmanz,
    >>>>In our case the Id/Pwd of FTP Site changes freguently.
    but do you have those passwords in the message payload?
    if not then you will still have to fill it somewhere right?
    BTW
    the only way would be to use java proxies and write a simple ftp adapter inside it (or your own adapter)
    but this is not possible in standard I believe
    Regards,
    michal

  • Command+click and drag to select multiple files

    Hi everyone,
    I switched about a year ago and recently joined this group. I love OS X and will never go back to windoze, however after recently upgrading to Tiger, I went to command+click and drag to select multiple files in order to drag them to the trash, all I succeeded in doing was to drop one file into the next folder down. Did I miss a check box somewhere, or something. It feels like windoze now, having to command+click individual files to select more than one, or use the edit menu to "select all".
    I'm not going back to Panther just to get back this feature I miss, and was hoping there is a way to get it to work in Tiger, any suggestions?
    eMac G4 1 gig superdrive   Mac OS X (10.4.3)   768 megs sdram

    You might find this easy to do in column view:
    1. Select a group of contiguous files by clicking on the first, then hold down the shift key and click on the last one you want, all files between first and last will be selected.
    2. To add an odd file here and there to the group hold down the command key and click on the file.
    Thus you can quickly select an entire group in the middle with click/shift click, then add additional files individually to the selected group.
    Francine
    Schwieder

  • Pros and  cons  of  select  for  update  clause

    hi,
    Can anybody explain what are the
    pros and cons of select for update clause
    11.2.0.1

    As commented, there are no pros versus cons in this case.
    What is important is to understand conceptually what this do and why it would be use.
    Conceptually, a select for update reads and locks row(s). It is known as pessimistic locking.
    Why would you want to do that? Well, you have a fat client (Delphi for example) and multiple users. When userA updates an invoice, you want that invoice row(s) locked and prevent others from making updates at the same time. Without locking, multiple users updating the same invoice will result in existing updated data being overwritten by old data that also has been updated. A situation called lost updates.
    For web based clients that are stateless, pessimistic locking does not work - as the clients do not have state and pessimistic locking requires state. Which means an alternative method to select for update needs to be used to prevent lost updates. This method is called optimistic locking.
    So it is not about pros versus cons. It is about understanding how the feature/technique/approach works and when to use it.. and when it is not suited to use it. All problems are not nails. All solutions are not the large hammer for driving in nails.

  • How BOM and routing is selected for Planned order and Production order?

    Hi,
    Can any1 plz tell me how BOM and routing is selected for a planned order and production order. ?

    Hello Mathisuthan,
    BOM and Routing selection for the planned order and production order through production version, If u have more than one BOM and more than one Routing then u can maintain this information as Production Version in the system.
    Production version you maintained
    MM01/MM02 -- MRP4--- Production version
    Or you can create Production Versions in Mass also with Transaction Code "C223"
    In the case no production version maintained/created  for the material, then system by default  will pick the first BOM and routing.
    I hope this information helpful to you.
    Regards
    Umesh Mali

  • Can we mix mandatory and optional field entries for file import?

    Can we have devices with mandatory fields only and some other devices with mandatory and optional fields within the same CSV file used for file import?

    Hi Rita and Sandra,
    That is correct, you can mix mandatory and optional field entries for file import. However, if you don’t have OS type and version, the alerts matching would be impacted.
    Thanks,
    June

  • CommandButton and commandLink behaving differently for file download

    Hello there,
    Hopefully someone can help - I have looked through the existing queries and can't just find what I'm after.
    I have a main record with asociated files - the files are uploaded through my web app and are downloaded from the same page that lists the files in a dataTable. I have a series of commandLinks that display the file names - a user selects the file and it downloads.
    The problem I have is that when a user downloads a file then immediately trys to upload another, they are prompted to download the file that they have already previously downloaded. If however I replace the commandLinks for commandButtons the application behaves correctly.
    I have seen an associated link that mentions similar behaviour (http://blogs.sun.com/tor/entry/creating_downloadable_files), however I do not want to use the command buttons in this manner, and I use an actionListener rather than an action so I may retrieve information from the list of dynamically created files. I am not receiving any errors, just the strange behaviour with commandLinks.
    My code is as follows:
    public void downloadFile(ActionEvent ev) {
    UIData fileList = findParentHtmlDataTable(ev.getComponent());
    AssociatedFile associatedFile = (AssociatedFile) fileList.getRowData();
    String downloadPath = "download path retrieved here...";
    try {
    byte[] fileData = InternalUtil.readFile(downloadPath);
    HttpServletResponse response =
    (HttpServletResponse) getFacesContext().getExternalContext().getResponse();
    response.setHeader("Content-disposition", "attachment; filename=\"" +
    associatedFile.getName() +
    response.setContentLength(fileData.length);
    response.setContentType(associatedFile.getContentType());
    ServletOutputStream out = response.getOutputStream();
    out.write(fileData);
    getFacesContext().getApplication().getStateManager().saveSerializedView(getFacesContext());
    getFacesContext().responseComplete();
    } catch (FileSystemException e) {
    getFacesContext().addMessage("null", new FacesMessage("Error downloading file: " +
    e.getMessage()));
    } catch (IOException e) {
    getFacesContext().addMessage("null", new FacesMessage("Error downloading file: " +
    e.getMessage()));
    Any help would be greatly appreciated!
    Thanks in anticipation, Carl

    Which JSF version are you using? Try upgrading to newer version if needed. http://javaserverfaces.dev.java.net

  • Deployment question - dynamic folder of unknown files during install

    Hi,
    I'm curious to see if this would be possible in flex.  It doesn't seem to be directly possible, so perhaps there's a workaround?
    The question:
    Can I have a folder of files next to an .exe (or .air) install that will place this folder into the install location?
    The background:
    I'm making a photo viewer app.  I want it to be able to work completely offline, in case they don't have an internet connection.  I want this to be able to be used both in Windows and Mac.  I figured an adobe air program would be a good way to do this.
    The photos are going to be dynamic.  I want to burn a cd with the .exe and a folder of images that are not available at the time of packaging.  Can I do this?  Do I have to make some kind of custom install exe to copy the files over after installing the program?
    I was thinking of a workaround.  I'd rather see if I could do the above- but this would be an alternative.  Let the program install normally.  When the program starts up it checks for a CD in the drive and copies the files to the program files before loading.  If the program can't find any images in the program file and the CD ROM is not in the computer, I would throw an error saying to put the CD in the drive.  This would work right?  I see the storagevolumeinfo class but it doesn't seem like there's a way to differentiate types of removable media; only that they are removable.  Am I wrong?

    I see file type of "CDFS" on my CD-ROM drive.  I'm assuming I can use this to make sure the removable drive is a CD based on googling it.  It sounds like my backup plan can work.  I'm still curious about the main question with the dynamic folder on install though.

  • Java WebDynpro's and IE security settings for file download

    We have a EP 7.0 SP13 environment on which we have deployed a number of own developed java webdynpro's. In some of these webdynpro's we provide the file download functionality. The portal and webdynpro's are used by both internal personnel and external customers.
    On the other hand the default Internet security settings for Internet Explorer, disable "Automatic prompting for file downloads".
    When a user, with these default security settings active, tries to use our webdynpro's file download functionality, the screen seems to refreshes but no file download starts. When (s)he retries, the session runs for some minutes and gives following error message:
    "com.sap.tc.webdynpro.services.session.LockException: Thread SAPEngine_Application_Thread[impl:3]_20 failed to acquire exclusive lock on client session ClientSession".
    This behavior is explained in SAPNote 1234847. Webdynpro provides a single-thread module, meaning a user session is blocked for the during of the request. And because the previous file download isn't yet completed the new try can't start.
    Issue now, although the users IE settings allow file downloads and don't block pop up's, he can't download the file and even isn't made aware of the cause of the failure.
    How can we avoid this issue, without having to communicate the
    application requires specific browser settings?

    Welcome to the Apple Support Communities
    See > http://support.apple.com/kb/HT5290
    You can install the program using different ways:
    1. Right-click the application installer and choose Open.
    2. Go to System Preferences > Security and Privacy and select Anywhere in Allow applications downloaded from

  • Dynamic bandwidth selection for PPPoE over Ethernet/VLAN

    Hello all, hope you are doing great.
    I'm planning to deploy PPPoE Server (Cisco Router 7609) for a ISP. This ISP will provide Internet connection for customer over Ethernet.
    I have to provide a solution to assign bandwidth to each customer by RADIUS and I find some clues that Dynamic Bandwidth Selection (DBS) should be the answer. Unfortunately, DBS only support PPPoA or PPPoE over ATM.
    If you have any experience with equivalent function, please help me. Thank you very much.
    Regards,
    Hiep Nguyen.

    Hiep,
    I think I have figured this out.  Here is the test config on my PPPoE server:
    int lo1
      ip address 172.25.25.25 255.255.255.255
    ip radius source-interface Loopback1
    aaa new-model
    radius-server host 172.16.1.55 auth-port 1812 acct-port 1813 key cisco$$$
    aaa group server radius RADIUS-ACT
     server 172.16.1.55 auth-port 1812 acct-port 1813  
    aaa authentication login default group RADIUS-ACT local
    aaa authorization exec default group RADIUS-ACT local
    aaa accounting exec default start-stop group RADIUS-ACT
    aaa accounting delay-start
    aaa authentication ppp default if-needed group RADIUS-ACT local
    aaa authorization network default group RADIUS-ACT local
    aaa accounting network default start-stop group RADIUS-ACT
    aaa accounting update periodic 5
    bba-group pppoe global
     virtual-template 1
    interface fa0/1
     pppoe enable group global
     ip address 172.30.0.1 255.255.0.0
     no shut
    interface Virtual-Template1
     mtu 1492
     ip unnumbered FastEthernet0/1
     peer default ip address pool GLOBALPOOL
     ppp authentication chap
    ip local pool GLOBALPOOL 172.30.0.2 172.30.127.255
    policy-map POLICE-128K
     class class-default
        police 128000
    policy-map POLICE-512K
     class class-default
        police 512000
    Here are the attributes on the radius server, for a group the PPPoE customer belonged to:
    Service-Type = Framed
    Framed-Protocol = PPP
    cisco-avpair="ip:sub-policy-In=POLICE-128K"
    cisco-avpair+="ip:sub-policy-Out=POLICE-512K"
    Here is the show policy-map on the virtual-access interface the client connected on:
    sho policy-map int virtual-a 3
     Virtual-Access3
      Service-policy input: POLICE-128K
        Class-map: class-default (match-any)
          1000 packets, 1402000 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 128000 bps, bc 4000 bytes
            conformed 799 packets, 1120198 bytes; actions:
              transmit
            exceeded 201 packets, 281802 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
      Service-policy output: POLICE-512K
        Class-map: class-default (match-any)
          911 packets, 1137746 bytes
          5 minute offered rate 0 bps, drop rate 0 bps
          Match: any
          police:
              cir 512000 bps, bc 16000 bytes
            conformed 799 packets, 1136178 bytes; actions:
              transmit
            exceeded 0 packets, 0 bytes; actions:
              drop
            conformed 0 bps, exceed 0 bps
    I was able to generate enough traffic with ping to meet the exceed action in and have it drop packets.

  • Dynamic OpenSQL - SELECT FOR ALL ENTRIES ?

    Hi!
    Is it possible to do a dynamic SELECT FOR ALL ENTRIES IN... command?
    sg. like:
    DATA:
    select_text TYPE string,
    from_text TYPE string,
    where_text TYPE string.
    SELECT FOR ALL ENTRIES IN <gt_table1> (select_text)
    into corresponding fields of table <gt_table2>
    FROM (from_text)
    WHERE (where_text).
    Thanks and Best Regards,
    Tamas

    Hi
    INSERT INTO (SELECT department_id, department_name, location_id
       FROM departments WHERE location_id < 2000)
       VALUES (9999, 'Entertainment', 2500);
    Is this you are looking for ?
    Regards
    Vinod

  • Linksys WRT-1900AC and Dynamic Frequency Selection(DFS)

    Hello All
    Does anybody know if the Linksys Router WRT-1900AC will support Dynamic Frequency Selection(DFS) by a newer Firmwareupdate?
    I don't understand why this feature has not been added yet
    Second why does i have to set the 5GHZ WLAN to mixed to use AC. for me it is better when there is a Mode AC only.
    thanks for your help

    http://en.wikipedia.org/wiki/Channel_allocation_schemes
    Your best bet would be to phone contact your regional Linksys support office and ask them about this. Ask them if this model doesn't support it, which one does, if any. Let us know how it goes please.

  • Bridge is slow and lags when selecting multiple files to open.

    I currently have CS6 latest version (ver. 13.0 x64)
    My problem is in my Bridge software (5.0.2.4 x64)
    I have been getting a 4 or 5 second delay when trying to
    select multiple files or navigating through the menu and functions.
    (Photoshop also delays a few seconds when opening a file.)
    After trying different solutions, I have narrowed my best guess to a
    conflict with my video card or drivers.
    I have a PC running win 7 64 bit. 12 gb of ram, an ATI radion 3000 video card with the
    latest driver. An AMD phenom quad processor.
    All of my drivers and software is up to date, including my Windows 7.
    No other software on my computer gives me any LAG time or problems.

    You need a better video card.  You card rates a passmark score of 106.  You probably need one at least of 500 and closer to 1000 is good.  You get a card above this score you start paying more and getting less. http://www.videocardbenchmark.net/

  • 'Music' displays but won't play. Settings appear correct and iPhone is selected for output.  Startup screen intermittently displays with the lower pause/play volume bar for no clear reason..... developed at the same time as play failure.  Ideas????

    'Music' displays but won't play. Settings appear correct and iPhone (3G)  is selected for output.  Startup screen intermittently displays with the lower pause/play volume bar for no clear reason..... developed at the same time as play failure.  Ideas????

    Thank you for the replies.
    Appearane of 'Music' functions (I>>   > II   <<I,   plus volume slider)  on the lock/log in screen (when first turning on the iPhone) thus far seems without pattern, i.e. regardless of which if any applications are up in the background, and indeed even when all have been quit.
    All visual aspects of 'Music' appear normal after launch including the title scroll across the top in vertical mode. However, while pressing play (>) converts the play (>) icon to pause (II), selected song does not play and the elapsed time bar (upper end between the track count and the repeat/shuffle icons) remains stationary at 0:00 or at any point to which it is dragged.  When using home sharing this same problem persists regardless of what output is selected.
    Hope that may prompt a thought somewhere.

  • Help with Multiple libraries and one storage location for files

    I cannot get an answer to this question anywhere and was really hoping that The [H] would be able to help.
    Here is my current set up that allows my wife and I to have completely independent libraries and ratings, but use the same files:
    -Shared folder with MP3s on a network drive.
    -Two PCs, each with it's own Ipod associated to it with individual libraries but all pointing to the same network share for MP3 Files.
    -Each PC is using the SAME Itunes account for downloads.
    -Each account has it's own library folder also on a network share.
    Now to my question(s)/problem with downloaded content:
    (1) Is there any way to have a file that is downloaded from Itunes be automatically placed in a shared location accessible to both Libraries? (Say if I download the latest Jack Johnson album, can it automatically show up in my wife's library and vice versa?)
    (2) Is there any way to share the album artwork versus having two copies of everything(one for each library)?
    So my goal is to have two libraries with a central location for ALL files, including anything downloaded from Itunes by each individual user. Is this possible?

    Have your wife transfer all purchases from the iPad into iTunes, backup her iPad and then sync with iTunes. Everything ... All media and other content will be available in that iTunes library and she will have a current backup.
    Assuming that your son will still be sharing your wife's Apple ID (he is too young to have one of his own) .... When you set up his iPad, restore the iPad from your wife's backup and then select only the content that you want your son to have on his iPad in the iTunes library and then sync that iPad with iTunes.
    The game progress is stored in the backup and should transfer onto his device when you restore from your wife's backup. You can always delete any content (apps, movies, music) that you don't want your son to have on the iPad, if you missed it when you synced with iTunes after setting the device up for him.
    You can set your sync preferences - any way that you want to - for both devices and still use the same iTunes library for both iPads. So ... Yes you can sync any apps that you want to his iPad and any apps that your wife wants to her iPad. You just need to restore your son's iPad from your wife's backup in order to get his game progress onto his iPad.
    In case you need these....
    Transfer purchases.
    http://support.apple.com/kb/HT1848
    How to backup and restore from a backup
    http://support.apple.com/kb/HT1766
    Remember to have your wife backup her iPad just before you restore his iPad from the backup so that his most recent progress will be available in the backup.

Maybe you are looking for

  • How to restore AND REPLACE mail folders (don't want duplicates etc)?

    Bad OS X 10.5.7 upgrade has made my machine real slow doing many things. So I want to revert to my superduper backup: the only new data since the OS upgrade is my email (and my Aperture data, but I can just restore from my vault for that). If I use M

  • Monitor will not wake after entering standby

    I have been trying to solve this issue for several months now, it is amazing how common the issue is but yet there is no clear solution to the problem or understand what might be causing the problem. I have set my computer to put the monitor into sta

  • Xml parse tries to access the internet

    Why is this happening and how can I stop this? Thanks. My code:         DocumentBuilder htmlBuild = DocumentBuilderFactory.newInstance().newDocumentBuilder();         logentry = htmlBuild.newDocument();         sitelog = htmlBuild.parse(this.getClass

  • Unable to view properties in DRM

    I created a property named 'Status' of localnode with 'Defined' property type. I added this to Essbase Property category. I was unable to view this property in DRM UI. Where as I can view this property in DRM database. Anyone can help me on this?

  • Can't see my phone in iTunes.

    iPhone syncs with iTunes, but does not appear in the menu bar, therefore I cannot view the contents of the phone in iTunes or control what goes on during sync.