Is it possible to customize the name of the worksheet to Capture?

Capture Version: 11.1.1.8.0

I set an Import job processor to read documents sent to e-mail, to end of Capture and Imaging.

I am able to nominate the lot with a prefix, but seek to appoint the batch to include the id of the sender mail for example. Is this Possible?

Use case:

1 import work processor document & creates a batch.

2. to from now on, I'm going with a prefix for the name of the journal,

3. but to include other identifier for the name of the sheet as

BATCH_PREFIX_MAIL1_XXX (if the number of sender e-mail is [email protected]( )

BATCH_PREFIX_MAIL2_XXX (if the number of sender e-mail is [email protected]) or something like that.

Any info on this will be very useful.

Thank you

Abhishek k

This should help you close to what you want:

var fromAddress;

function newMessage(ctx, emailCtx) { // ImportProcessorContext, EmailSourceContext
    // Get the first From address from the message and save it for later
    fromAddress = getFirstFromAddress(emailCtx.getMessage().getFrom());
}

function getFirstFromAddress(addresses) {
    var fromAddress = "UNKNOWN";
    if (addresses == null)
        return fromAddress;

    var numAddresses = addresses.length;
    for (var addressIdx = 0; addressIdx < numAddresses; addressIdx++) {
        var address = addresses[addressIdx];
        if (address != null && address instanceof javax.mail.internet.InternetAddress) {
            var addressString = address.getAddress();
            if (addressString != null && !addressString.isEmpty()) {
                fromAddress = addressString;
                break;
            }
        }
    }
    return fromAddress;
}

function postImportFile(ctx) { // ImportProcessorContext
    // Get a reference to the batch
    var batch = ctx.getBatchLock().getBatch();

    // Do nothing if this is not the first file imported into the batch
    if (batch.getItemCount() > 1)
        return;

    // Set the batch name to be the orginal batch name + "_" +
    // the name of the file being imported
    batch.setBatchName(batch.getBatchName() + "_" + fromAddress);
}

Tags: Fusion Middleware

Similar Questions

  • Is it possible to customize the right-click menu?

    I use FF4 RC2 and I wonder if it is possible to customize the context menu? In FF3 if you right click on a tab lists ' new tab '. Reload tab reload all tabs... "etc. but in FF4 if you right click on a tab lists only "Reload Tab | PIN as App Tab... "etc.

    I really really use the right click-> new tab in FF3 A LOT! It was a HUGE disappointment for me when I started using FF4. Is there anyway that I could add the button tab in the right click menu?

    Thanks in advance!

    Not that I know of. You can use file > new tab or Firefox > tab in addition to what I posted above.

    Maybe an extension like Tab Mix Plus can add this feature in the context menu of the Tab bar.

  • Is it possible to customize the sensitive presentation - sequence of the table of contents, Index, tabs filter?

    Hello

    I use RoboHelp 2015 and reactive production layout, I need to rearrange these tabs. I want the tab of filtering of dynamic content to be displayed before the table of contents.

    Is it possible to re - sequence tab filters before tab table of contents by making some backend work in CSS or code?

    forum post.png

    Or the other way improved - if we select filters say - sales, then sales related subjects should be displayed (rather extended below - just like the expansion of text).

    Is it possible to customize the sensitive provision in this way?

    --

    Thank you

    Christophe

    It is possible through the HTML code. In Notepad, open the file "Topic.slp". On line 35, you will see a list of links:

    You can cut and paste the link to get the correct order. The first tag appears on the left side. Please be sure to cut and paste the entire link ''.

  • Is it possible to customize the login page customer web email?

    Is it possible to customize the login page customer web email? It would be wonderful to be able to offer my clients a personalized and wonderful connection Web page.

    Thans in advance!

    Diego

    Hi, no you can't.

    This is a 3rd third party vendor offering.

  • Is it possible to customize the icons of the bubble?

    Hello

    Is it possible to customize or change the selection of available bubble icons?

    It would be really useful to have a keyboard as well as mouse icon!

    Thank you

    Joe CCP

    Hello

    Thanks for the info.

    There is a way to do it by creating a custom style and then by replacing the image of the icon in the folder line of the publication project 'Player '. (You must be careful to keep the size of the image and the name exactly it identical to the original though).
    In the authoring tool you choose always the standard icons, but whatever it be published with your customized style appears the custom icon. The trick is to keep track of what standard icons and then map it on your expensive custom!

    Joe CCP

  • Is it possible to customize the Firefox Button and if so, how?

    I love the whole upward with the Firefox button, but find I have to go into options and add the Tools menu bar (which I use often). I do not keep the menu bar showing that it takes too much space on the screen. Is it possible to add the functions of the menu bar for the Firefox button, and if not, may I suggest this as a future feature, as some of the functions of the menu bar are already on the Firefox button. As there is plenty of space may put all the options of the menu bar on the Firefox button and completely get rid of the menu bar!

    There is an add-on to customize the Firefox button. I have not installed/used the add-on. If you are adventurous, it's here:

    "I still have the idea of putting all the menus in the menu bar on the Firefox button for us users without keyboard shortcut." How about it Firefox? »

    We are all volunteers without compensation here to help other Firefox users. Elements of the Firefox key decisions were made by developers, and your question about it will probably not be heard by the developers to post in this forum. Maybe the add-on which above will solve the problem for you as long as the developer of the add-on retains support and update.

  • Is it possible to download the tool to capture for XP

    It is possible to download the tool cutting, available in Vista and Win7 for XP works systerm

    I have this on my XP machine. Basic and simple.

    PrintKey 2000 free
    http://www.Sharewarejunkies.com/00zwd2/printkey2000.htm

  • Is it possible to customize the new code in the class?

    Class Actionscript 3 - new - file


    After entering a name for the new class, flash will always create a class with the default code file:
    (I remove the white space for the purpose of this post)

    package {}

    public class MyClass {}

    public void MyClass () {}

    the constructor code

    }

    }

    }

    I want to do is customize this new code of class to something like this for example:

    package {}

    public class MyClass {}

    public void MyClass () {}

    }

    Methods the public value

    Public get methods

    Public methods

    Protected methods

    }

    }

    Is there an XML file located in the directory of the flash that I can change so flash will create the same custom class code adapted to my taste?

    Thanks in advance

    Mike

    Found after much searching:

    I edited 'standardClass_as3.as'.

    On Windows 7, I found the file here:

    C:\Users\User.name\AppData\Local\Adobe\Flash CS6\en_US\Configuration\ActionScript 3.0\Templates

    So yes, edit and save the file.
    Next time you choose "file - new - Actionscript 3 Class, you will see your default class construction code

  • is it possible to customize the variable system quiz?

    Hello

    I created my own quiz in captivate without using 'Add new question slide'. I would like to know if it is possible to change variables system 'cpQuizInfoPassFail', 'cpQuizInfoPointsscored', of 'cpInfoPercentage '?

    I've tested with a Javascript action, but it does not work. These variables are only available in 'read only '?

    Thanks for your help.

    Sincerely,

    Sébastien

    All quizzes system variables are read-only. Download the descriptive table with this blog system variables:

    System variables in Captivate 8/9 - Captivate blog

    I have several posts on custom issues. Any interactive object can have a score attached to it. If you give more details about your question slides personalized as well as on the Captivate version do you use?

  • Is it possible to customize the address eprint?

    I just got a printer Photosmart Premium all-in-one and it's great, but I have a question about the ePrint address what it spits out:

    I was wondering if I could change something manually it to something else (for example, [email protected]).  EPrint randomly generated address is a bit heavy.

    If anyone knows, your help/input is appreciated!

    _______________________________________

    The PDADoc!

    We are aware that it is a desired feature, but it is not available at this time.

  • is it possible to customize the notifications to stay on the screen longer

    Have set up notifications for my webmail, but when an e-mail arrives, the notification flashes on then has disappeared, there is no sound to alert me either. Notifications can be customized. I noticed there is an icon on the notification, but it is not on the parameters of the screen long enough to be able to click on it. There was also an icon left in the notification area of the taskbar even as Thunderbird when an e-mail arrives.

    Thank you, took a quick glance, but as you say, it is not compatible with Firefox 49. I think I'll use Thunderbird as client. That will solve the problem. Once again, thank you for your comments.

  • Is it possible to customize the appearance of the feature DataSynch (oracle.ateam.sample.mobile.datasynch) added automatically by the generation of AMPA UI tool?

    Hello team

    We have generated a few pages using AMPA of MAF User Interface generator. These pages contain a link to the DataSynch function to display the current synchronization Actions.

    It's the back button on this the DataSynch feature page does not have something, but when we checked the source code of this page it contains the command link actionlistner assigned property BACKS to "#{GoToPreviousFeature} '.

    So, is there no work around for this, or we should create another new page similar to it.

    Thank you

    Diprish

    Diprish,

    The back button should work fine if you call the function of data synchronization by using the GoToFeature bean. This bean then knows the previous function to return.

    In any case, the reusable datasynch feature is just a sample as to how you can make visible pending synchronization actions.

    In real applications of MAF that we build with AMPA, we always create our own functionality to synchronize data with the look and feel of the application we are building.

    You can build the functionality from scratch by looking at the source code of GitHub, or you can simply copy the project DataSynch have the workspace of GitHub and add it to your own application and modify it as you wish.

    If you do this, make sure that you change the function ID in order to avoid any conflict of ID function.

    Steven Davelaar,

    Oracle Mobile A-team.

  • I am interested in only 3 applications: Lr AE and creation - why is not possible to customize the beams like this?

    I just want to buy these 3 but the pricing does not allow this - any suggestions?

    Thank you

    S

    Adobe does not offer customized plans, in order to compare the cost of the plan special photography 2 individual programs at the cost of the whole plan

  • Is it possible to customize the &lt; af:quick query to filter Panel

    Hello

    I have a use case where I need to filter the tree table based on the attribute of the selected attribute for example only 3 will be used for filtering on 7. I drag and drop the namedCriteria that tilts the attribute in the datacontrol.

    So my question is how we are to list only limited attributes for the filter. And yet one thing I want to see the reflection in the tree, once I click on go (after you have entered the value and the search attribute).

    Please help me. I use jdev 11.

    Thanks in advance.

    Hard

    Create a view of criteria with 3 attributes (any attribute you want to see in the query Panel).

    now from datacontrol thew Panel drag to NamedCriteai.you will see only 3 attributes inquerypanel

  • Is it possible to customize the generated system of delivery?

    Hi all

    My customer wants to be able to add a little ground to the waybill generated System. I can see where update things on the invoice in e-mails from the system, but could not see anywhere to the waybill?

    There are also a few random bits that get printed on the invoice that are not part of the Bill for the system. No idea how to remove? My client is the impression of Chrome. See below:Screen shot 2012-08-20 at 8.42.37 PM.png

    Shipment of layouts

    Under the folder Layouts via FTP or in the admin - Module Sc_results.php - expedition page layouts.

Maybe you are looking for