Changing image file names

hi all.
can anyone help me find a thread (can i run a search somehow in ("Your Stuff"?) where folks were kind enough to help me understand how to change file names?
i am reading through some help documentation on Batch Change but i am trying to remember what i should be doing to most efficiently solve my problem.
basically i have images in aperture which have non-sensical names related to their originally existing in a pc folder organization originally and i would like to both rename them in aperture but also be able to have them EXPORTED to my desktop so i can upload them to the web with some reasonable sounding title such as "client1-town1-HousingType-FirmName-photographer.png" or something similar. right now the images i want to publish are ORGANIZED IN ALBUMS and have names like "folio_construction_other_turtle_134543.png"
i think i WOULD LIKE to change the name of the master but i am not totally sure about this and when i run a Metadata > Batch Change and pull down version name i get selections that i do not fully understand.
https://www.dropbox.com/s/yvu1u7eskbmhcik/Screen%20Shot%202012-12-03%20at%201.58 .46%20PM.png
i /am/ familiar with a handle little tool called Name Mangler which basically allows me to easily delete all the PREFIX information (such as "folio_construction_other_turtle" and then to pre-pend something like "client1-town1-HousingType-FirmName-photographer" in front of the image number which would be ideal...
apologies for asking this again but until i get through it once i am finding it all a bit tricky.
THANKS

Hi Leonie.
Thank you so much. I am going to be doing a lot of this and just so i understand:
Delete the images you exported and renamed from your Aperture library before reimporting, to avoid creating duplicates. When deleting from the album that you used to export, use the command "delete version", not "delete from album". Do not delete the projects that the images came from, only the images.
Can you help me understand which images i am deleting? I mean, is there a way to delete just the images in the ALBUM because if i have to go in and delete the images from a Project there are going to be a lot more images in the Project and it is going to be very hard to tell which images have been renamed and which have not been renamed. If i have to do this by deleting the images in the Project, i suppose i could use one of your suggestions to color all the images in an ALBUM, say yellow, and then see where the images show up in Projects but even then i think it will be a bit tricky. Are you saying i can just delete the images in the ALBUM by doing "Delete Version"?
Use "File > import" to reimport your image files. I'd put all images that shall be imported into the same project into one folder, and then import each folder on its own.
OK. So - well - so now i am importing all of the images that i originally had in the Database and they are /basically/ (i moved the folder organization around a little bit while the images were on my desktop in this first attempt...) - they are basically getting IMPORTED into Aperture now with the "new" images coming into the database into a new Project that is named according to the Album that they were in?
This is a little tricky for me. Will the old Albums still exist? What if i had more than one Album with an image in it. Also, this "new" image will be in a /new/ Project but will it still be in the OLD PROJECT with the old name? Or, i guess i am getting a little confused as to how this will work.
Select the project in the Library Inspector, that you want to import the folder of images into, then set the "Destination" in   "Import settings > Aperture Library" brick to this project  and set "Store Files" to "In the Aperture Library".
OK. I can try this here soon. What does Store Files in the Aperture Library do? I guess these images are getting imported as if they are new and they are getting imported with no external references?
Set "Rename files" to "None" or "version name". Both will keep the name you edited.
OK. Not sure i totally understand but i can try this as well. I guess this is making sure Aperture will keep the original names.
THANKS

Similar Messages

  • Changing image file name

    I'm working with dreamweaver 8 for Mac.
    Imagine that you have a html page with more than 200 images, that you have changed many times during the last few years, some have been deleted others have been added. And some are not linked any more.
    At the beginning the pictures were numbered from the top of the page to the bottom of the page in order (picture1, picture2....), now they are messed up (picture13, picture 1....).
    If I rename the images in my local file folder, DW update it on the html page. Unfortunately in the local file folder the pictures are not displayed, I have to open all of them (200 images) on my desktop ! I The result: a big mess. So my question is:
    Is it possible to make a file name change on the html page, and DW update it on the local files folder?
    I hope I've been clear. Thanks for your help.

    What I would do is create a PHP script that places the images in a document, sorted on date.
    If you Google the subject, you will see many examples on how to do this. One such search gave me this http://www.javascriptkit.com/javatutors/externalphp2.shtml
    If you then see an image that you no longer need, you can remove it from the directory. This will leave you with the images that you do need sorted from earliest date to the latest  date.
    Keep this script for the document that you want to show the images on. Future maintenance will consist of removing the unwanted images from the directory and adding new ones. The PHP page will automatically be updated. No worries with file names, as long as you do not have two the same.
    Although I mention PHP, the same goes for all serverside scripts.
    Good luck.
    Gramps

  • Photostream for Windows keeps changing image file names

    Hi, I have iCloud and the Photo Stream application installed on my Windows Vista PC. I have just returned from a trip abroad and took photos on both my iPhone 4 (updated with iOS6) and a separate digital camera. Having taken thousands of photos, I've managed to combine the two collections of photos into one and renamed them in sequence i.e. USA(1), USA(2), USA(3) etc. I want to be able to convert this completed photo collection into a Photostream to share with others on their iPhones and iPads respectively.
    I know Shared Photostreams are limited to 1,000 photos each, however when I create and add the new collection of photos to a new Photostream album, it chooses to rename the files and display them out of the desired order. The file names are usually something like 'IMG_00605' and while some are in the correct order and placed next to one another, others are not. Despite playing with the display settings, i.e. Sort By>Name, Date Taken, Tags etc I still cannot get the photos to display in the order I set out in the first place. As you can imagine this is incredibly frustrating, having painstakingly gone through all my photos to ensure they were ordered and renamed sequentially.
    Does anybody know how I can rectify this and display my photos in the order I want them to? Any suggestions would be greatly received.
    Thanks very much in advance,
    James

    Hi, I have iCloud and the Photo Stream application installed on my Windows Vista PC. I have just returned from a trip abroad and took photos on both my iPhone 4 (updated with iOS6) and a separate digital camera. Having taken thousands of photos, I've managed to combine the two collections of photos into one and renamed them in sequence i.e. USA(1), USA(2), USA(3) etc. I want to be able to convert this completed photo collection into a Photostream to share with others on their iPhones and iPads respectively.
    I know Shared Photostreams are limited to 1,000 photos each, however when I create and add the new collection of photos to a new Photostream album, it chooses to rename the files and display them out of the desired order. The file names are usually something like 'IMG_00605' and while some are in the correct order and placed next to one another, others are not. Despite playing with the display settings, i.e. Sort By>Name, Date Taken, Tags etc I still cannot get the photos to display in the order I set out in the first place. As you can imagine this is incredibly frustrating, having painstakingly gone through all my photos to ensure they were ordered and renamed sequentially.
    Does anybody know how I can rectify this and display my photos in the order I want them to? Any suggestions would be greatly received.
    Thanks very much in advance,
    James

  • When saving image i want that firefox auto change the file name if same name exists like google chrome etc. if there is any option pl let me know.

    when saving image i want that firefox auto change the file name if same name exists, like google chrome does this. if there is any option pl let me know.

    this saves images, i just want to save single image, and wants while saving image, it auto changes the name if find similar name of file in the folder. chromium and maxthod does this

  • Image file names changed on Homepage

    I have found, on several occasion,s that the titles of the images on my homepage have lost their file names and show the filename iPhoto gives it when uploading to Homepage i.e. Image123A123B123C etc Sometimes, it shows OK when viewing the page but not when editing the page.
    All my images are given my job number reference for people to order from so loosing them is a big issue.
    homepage.mac.com/cjbphotography/

    The exif "image file name" is probably only used by some cameras, I don't have anything in there either.
    Instead use "file name" under "other", that is the actual file name of the master file.

  • How can I assign image file name from Main() class

    I am trying to create library class which will be accessed and used by different applications (with different image files to be assigned). So, what image file to call should be determined by and in the Main class.
    Here is the Main class
    import org.me.lib.MyJNIWindowClass;
    public class Main {
    public Main() {
    public static void main(String[] args) {
    MyJNIWindowClass mw = new MyJNIWindowClass();
    mw.s = "clock.gif";
    And here is the library class
    package org.me.lib;
    public class MyJNIWindowClass {
    public String s;
    ImageIcon image = new ImageIcon("C:/Documents and Settings/Administrator/Desktop/" + s);
    public MyJNIWindowClass() {
    JLabel jl = new JLabel(image);
    JFrame jf = new JFrame();
    jf.add(jl);
    jf.setVisible(true);
    jf.pack();
    I do understand that when I am making reference from main() method to MyJNIWindowClass() s first initialized to null and that is why clock could not be seen but how can I assign image file name from Main() class for library class without creating reference to Main() from MyJNIWindowClass()? As I said, I want this library class being accessed from different applications (means different Main() classes).
    Thank you.

    Your problem is one of timing. Consider this simple example.
    public class Example {
        public String s;
        private String message = "Hello, " + s;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example();
            ex.s = "world";
            System.out.println(ex.toString());
    }When this code is executed, the following happens in order:
    1. new Example() is executed, causing an object to constructed. In particular:
    2. field s is given value null (since no value is explicitly assigned.
    3. field message is given value "Hello, null"
    4. Back in method main, field s is now given value "world", but that
    doesn't change message.
    5. Finally, "Hello, null" is output.
    The following fixes the above example:
    public class Example {
        private String message;
        public Example(String name) {
            message = "Hello, " + name;
        public String toString() {
            return message;
        public static void main(String[] args) {
            Example ex = new Example("world");
            System.out.println(ex.toString());
    }

  • Adding image file name and logo to image

    Can you do batch processing of images to automatically insert the image file name, say at the bottom along with a logo, in black font. The logo stays constant but the image deatils will change with each image?
    Can this be done in Lightroom or then the full Photoshop?
    Thanks!

    I've taken the script mentioned above and modified it to the best of my abilities.  Still getting the same error, unfortunately:
    function main(){
    var suffix ="cropped";
    var docPath =Folder("~/Desktop");
    if(!docPath.exists){
       alert(docPath + " does not exist!\n Please create it!");
       return;
    var fileName =activeDocument.name.match(/(.*)\.[^\.]+$/)[1];
    var fileExt =activeDocument.name.toLowerCase().match(/[^\.]+$/).toString();
    var saveFile = new File(docPath +"/"+fileName+suffix+'.'+fileExt);
    switch (fileExt){
       case 'jpeg' : SaveJPEG(saveFile); break;
       default : alert("Unknown filetype please use manual save!"); break;
    if(documents.length) main();
    function SaveJPEG(saveFile, jpegQuality){
    jpgSaveOptions = new JPEGSaveOptions();
    jpgSaveOptions.embedColorProfile = true;
    jpgSaveOptions.formatOptions = FormatOptions.STANDARDBASELINE;
    jpgSaveOptions.matte = MatteType.NONE;
    jpgSaveOptions.quality = jpegQuality; //1-12
    activeDocument.saveAs(saveFile, jpgSaveOptions, true,Extension.LOWERCASE);

  • How do I not show image file name, only url link - Acrobat Pro 9

    Both file name and url ink show when placing cursor over image. I want to only have url link appear.
    And if that's not possible, I want to then change the image file name. Any ideas?

    Use a button field for the link. You will have to add the action or JS code to open the link.

  • I can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name

    can not transfer date from one hard drive to another, I keep getting an error because I have two of the same file names and one file name is in caps and I cant change the file name. My original external has an error and needs to be reformatted but I dont want to lose this informations its my entire Itunes library.

    Sounds like the source drive is formatted as case sensitive and the destination drive is not. The preferred format for OS X is case insensitive unless there is a compelling reason to go case sensitive.
    Why can't you change the filename? Is it because the source drive is having problems?  If so is this happening with only one or two or a few files? If so the best thing would be to copy those over individually and then rename them on the destination drive.
    If it is more then you can do manually and you can't change the name on the source you will have to reformat the destination as case sensitive.
    Btw this group is for discussion of the Support Communities itself, you;d do better posting to Lion group. I'll see if a host will move it.

  • If I change a file name, how can I get all the links to update?

    I've recently finished my webpage
    (kensingtonconcertseries.com),.....then my client wanted to change
    the name of one of his pages from 'Marold Duo' to
    'Rodewald-Morebello Duo.' All of my links to that page are to the
    original page(MaroldDuo.html). Arrrhhhhh!!! Is there anyway I can
    change the name of the page and have all the links within the
    website update automatically?
    I figured out my problem...make a copy and rename it and put
    it on the server. Simple....eventually, I'll have to get rid of the
    original file, but for now works well.

    On Sun, 3 Feb 2008 22:55:19 +0000 (UTC), "kai1111"
    <[email protected]> wrote:
    >I've recently finished my webpage
    (kensingtonconcertseries.com),.....then my
    >client wanted to change the name of one of his pages from
    'Marold Duo' to
    >'Rodewald-Morebello Duo.' All of my links to that page
    are to the original
    >page(MaroldDuo.html). Arrrhhhhh!!! Is there anyway I can
    change the name of
    >the page and have all the links within the website update
    automatically?
    If you change a file name within Dw's File manager - it will
    offer to
    update all pages linked to it, accept that invitation
    ~Malcolm N....
    ~

  • How to change the file name of pdf file in html page?

    Hi,
    Actually my requirement is to upload 50 PDF files containing javascript in each file into flex page with the help of one html page.
    i did the the javascript part by using batch processing.
    now i want to call those pdf files one after another without changing the file name in html page
    the code written in html page is
    <html>
        <body>
            <object id="PDFObj"
                    data="http:\\localhost\pdf\20090807 - Batch 630.pdf"
                    type="application/pdf"
                    width="100%"
                    height="100%">
            </object>
            </body>
    </html>
    So every time i have to change that file name to acess another file.
    Is there is any other way to sort this problem????
    Plz anyone help me to sort out this problem with some code or some example.

    I once had a similar task for creating a webpage that I only use on my computer--a webpage that accesses PDF's and SWF's font previews from a list of fonts as "a href's".  What you must do is utilize the power of the command line, whether on a Mac on a PC or on Linux, Linux being the most powerful (although Mac IS Unix).  You must utilize variables, variable replacement, and then a command to print out the results of a "for" or "while" loop to a text file which will be your HTML file with each individual link automatically built into the HTML code.  You will have a list of 50 links.  If you are simply looking for a GOOGLE type functionality where you click on "Next" and "Previous" you will have to dig deeper into variable replacement--this I don't know how to do yet but there are books for command-line shell interpreters.  One shell interpreter is called "bash" (born-again shell) and there is a book on the market which gives a detailed example of how to replace variables in a shell script.  Again, I don't know how it works.  I will try to learn this at a later time when I am more seasoned with the basics of shell scripting.

  • IPhoto: After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file.

    After I've changed the file name/format in Finder iPhoto can't load/relink to the referenced file anymore. For some reasons I don't like to reimport the file.

    Hmm the advice has been not to use referenced libraries - you ignored and did it anyway and you find the advise not helpful
    Furthermore the advice is that if you choose to use a referenced library that you assure that the path never changes - you also choose to ignore that advice and do it anyway - and you blame the peopson trying to help you
    once again - you have one choice - change the file names back and put the files back in the exact same place - and again you are totally ignoring the advice and instead name calling and attacking the person giving you advice
    Maybe life would be easier if you followed advice rather than ignoring it and then complaining that things no longer work
    change the name back and you will be fine until the next problem you hit that is caused by choosing a referenced library
    Have a nice day
    LN

  • Finder changes the file name in Save/Save As dialogue box

    Whenever I save or save as a file, the dialogue box opens, but when I make the file list active when using a mouse, the file name I click to changes the file name I am saving. I simply want to activate the file list window so I can find the right folder. For example if I am looking for a folder called "Receipts" I want to be able to click on the file list window to activate it and then type the first 2 letters of the folder-- "re" and then save the file in that folder. The finder keeps changing the name of the current file whenever I click on one of the "greyed-out" file names? This doesn't make sense unless of course I want to replace that file.
    Is there a shortcut that makes the file list window in the dialogue box active while in the SAVE/SAVE AS dialogue box??

    Yes, this example of horrible UI design has been a problem since "Panther". It illustrates what happens when you try to copy UI behaviour from another OS, do it poorly, and end up with a mess. In 10.3 and 10.4, the combination of the renaming behaviour with the default "replace" selection in the resulting save can result in data loss.
    Compared to the old Mac OS where a tab would flip the focus between the text field for the file name and the file browser, the current behaviour either doesn't allow enough keyboard access to controls, or with "full access" enabled, too many to cycle through easily. The inability to switch focus to the file browser using the mouse (depending on the view) is a horrible productivity loss. Having to recheck the filename before saving is a horrible productivity loss. Since there is no "undo" for the renaming in most files, having to retype the name is again, a horrible productivity loss.
    If they had done it right (a simple change, like requiring a modifier to rename), users would probably welcome the "rename" feature as a useful addition. Instead, it has the feel of something a junior Windows-trained programmer slipped in past their supervisor.
    In short, I am not aware of any workaround or hack to avoid this "renaming" behaviour. I doubt it will do any good since people have been doing so since "Panther", but you could try submitting feedback:
    http://www.apple.com/feedback/macosx.html

  • Changing the file name dynamicallly in file Adapter - NullPointerException

    Hi, I want to change the file name directly from Java Mapping in the file adapter for this i have written this code:
    [code]
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http:""/""/"+"sap.com/xi/XI/System/File","FileName");
    String newFileName = CCC'_'NNN'_'NOMCIA'_'DATE;
    conf.put(key, newFileName);
    return newFileName;[/code]
    Where CCC, NNN, NOMCIA and DATE are input of the user-defined function.
    but it gives a null pointer exception:
    [code]16:44:53 Start of test
    Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    com.sap.aii.mappingtool.tf3.MessageMappingException: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:347)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:56)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Root Cause:
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at com.sap.aii.mappingtool.tf3.rt.FunctionWrapper.getValue(FunctionWrapper.java:47)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:291)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.processNode(AMappingProgram.java:309)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.start(AMappingProgram.java:398)
    at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:141)
    at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInternal(ServerMapService.java:431)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:169)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:301)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:320)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:198)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:129)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.NullPointerException
    at com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_.FileName$(_MM_JDBC_2_HSBCAltasTrabajadores_TEST_.java:564)
    ... 26 more
    RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ns0:MT_HSBCAltasTrabajadores_TEST/row/separador7. The message is: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_JDBC_2_HSBCAltasTrabajadores_TEST_ method FileName$[123, James, Gates, Spectory, com.sap.aii.mappingtool.tf3.rt.Context@247d247d]
    16:44:53 End of test[/code]
    Regards,
    Luis Diego

    Hey Luis,
    the container object only exists in message mapping runtime.
    Thus you're getting a null pointer exception there.
    For java mappings, remember that you have a .setParameter() method (which is necessary from definition of StreamTransformation interface),
    which sets the private variable param with the transformation parameters. In your .execute() method, just use it like this:
    DynamicConfiguration conf = param.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    Regards,
    Henrique.

  • Changing the file name dynamicallly in file Adapter

    Hi i want to change the file name directly from Java Mapping in the file adapter
    for this i have written this code
    DynamicConfiguration dynamicConfiguration = (DynamicConfiguration)map.get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
                   DynamicConfigurationKey keyFile = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
                   DynamicConfigurationKey keyDir = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
                   dynamicConfiguration.put(keyFile,fileName);
                   dynamicConfiguration.put(keyDir,outputpath);
    but it gives a null pointer exception at dynamicConfiguration.put(keyFile,fileName);
    please suggest.
    regards
    Nilesh Taunk.

    Hi Nilesh,
    If your requirement is to create , the file name dynamically for your receiver file adapter, you can do so using your <b>FILE ADAPTER CONFIGURATION</b> itself, and need not go for any JAVA Mappping / Java Code at all.
    The dynamic filename generation concept is as follows.
    In your filename field in the receiver file adapter, just give a variable with <b>%</b> symbols. (eg: %file% ).
    Now, under the option <b>Variable Name Substitution</b>, you can give how the value has to be created.
    <b>It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.</b>
    For the former, your give
    <b>message:interface_name</b> ,etc
    and for the payload part you give,
    <b>Payload: "your element root which u wanna acecss"</b>
    Just check this link out,
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    And read the contents under variable substitution and it will help you understand the concepts better.
    Also, in your FILE Adapter under the option FILE CREATION MODE, you have options like,
    1.Add Counter,
    2. Append
    3. Create
    4. Add Time Stamp
    If you have any clarifications on this approach, do get back.
    Regards,
    Bhavesh

Maybe you are looking for

  • I have several new mid-2011 21.5" imacs that kernel panic

    The are running fully updated OS X 10.6.8, booting to a 64bit kernel.  All the available firmware updates for the graphics card and bluetooth have been done.  If I boot them into Safe Mode or into 32bit kernel mode, they do not panic.  That being sai

  • Introduction of pop up screen in va01 transaction

    hello all,     my requirement when sales order is created with respect to quotation then if the delivery date is past then one popup message should be raised saying that delivery date is in past.    but my problem was there may be some background pro

  • How to make current value to default to all controls at once

    Choosing "Data Operation" -> "Make Current Value Default" to multiple controls requires a lot of clicking. Is it possible to do this with one click? Solved! Go to Solution.

  • Acr update, phone doesn't turn on anymore

    I  got up this  morning and noticed there was an update available for the  arc. I  downloaded it and pressed install. The phone turned off and on  again  for moment, it showed a progress bar of the update, but it seemed  like  it would take a while s

  • Datasource structure enhancement in SRM 5.0

    Dear All, I have enhanced the extraction structure for datasource 0BBP_TD_CONTR_2 in SRM . The structure BBP_CTR_BW_GET_TD_STRUC gets enhanced with an append structure but the same is not reflected in the Datasource. Is there some other transaction t