Auto Archiving Files in BEA repository

I need to find out if the following is possible in BEA content repository:
For files within a node that you create in the BEA repository, is there anyway to 'auto archive' these files?
For example, there are 10 files in 'Latest News' node. Out of these 10 files, there are 5 expired files that I do not want anymore.
Is there a way to 'auto' move these 5 files to another node e.g., 'Expired News', instead of manage these file from the portal admin console?
Rgds

if you manage to extend you contentquery to take into account the parameters to search for, try this.
- Anders M.

Similar Messages

  • Auto unzip archive files

    Okay, after I updated my laptop to the latest version of the OS, i.e., 10.9.2, it somehow stopped auto unzipping thr archive files. How do I re-enable it? I use Chrome.
    I did check Preference's in Safari and 'Open "safe" files after downloading' is still checked!
    Any ideas?
    Thanks!

    I haven't done it for a while, but I manage to archive files from the workflow via a script.
    In the workflow you have to use the ExternalProcess command.

  • Creating Repository from using Archive file (.a2a)

    Hello,
    I Archived a repository from MDM 5.5 SP4 running on Oracle.
    Can I create a repository using that Archived (.a2a) file in MDM 5.5 SP5 running on SQL Server ?
    Is it possible to create like that? Note: Database is different and MDM version is different.
    Thanks!

    Prashant -
    Thanks for your response. I am trying to create a repository in MDM 5.5 SP5 (SQL Server DB) using an Archive file from MDM 5.5 SP4 (Oracle DB) and I get the below information in the mds log file. I am unable to create the repository.
    4248 2011/06/19 10:21:14.734 GMT ErrorRecord->HResult/NativeErr: 0x80040e21/0
    Description: Invalid character value for cast specification.
    Source/File/Line: Microsoft OLE DB Provider for SQL Server/.\OLEDB_DBConnection.cpp/2438
    4248 2011/06/19 10:21:15.062 GMT UnArchiving operation for Customer Master CM1 ended in error
    Any idea why this is so?
    Thanks.

  • Archiving - "Archive file detail" - "Number of objects"

    Dear All,
    I'm not sure this is the right forum to ask my question...
    I have an archived file and if I check the file details (SARA > "Management" button > choose the file and double click on it), there's a value on the pop up window called "Number of objects", value for it is "13".
    If I read the archived file there are 3692 records (header level).
    What's the meaning of the "Number of objects" in the details of archived files?
    (I'm speaking about an archived file created in connection with object CO_ITEM)
    Please help.
    Thanks,
    Csaba
    Edited by: Csaba Szommer on Aug 19, 2010 12:22 PM

    Number of objects, is simply that the number of data objects included in that specific archive run.
    Now the definition of "object" is quite a good question.
    I presume an object is the compilation of the data that can be archived for one specific record and its dependencies.
    But this is a purely "basis" answer (We just make sure they can go back and forward from the system to the repository)
    You go to the Archive explorer in  SARI,  you can list the objects (if the infostructure is in place).
    Be interesting to get a FICO Archiving Expert answer.
    Regards
    Juan

  • How to fetch mpg file from content repository

    Hi All,
    I have uploaded a mpg(video) file in content repositoy. But I am not able to fetch
    it and display it using embed tag.
    is anybody aware of a right method to do the same?
    Thanks in advance.

    I was thinking there might be a difference in how the browser handles a
    path with a space when typed into the address bar vs. how the browser
    plugin/activex-object handles a path with a space when it gets it from
    the <param> or <embed> tag.
    Otherwise, I'm not sure what's going on. How content displays on
    someone's computer mostly depends on the persons's computer, how it's
    configured, what's installed, etc. If you can get the Node's BinaryValue
    from the WLP server and it has the correct ContentType and the correct
    bytes, then, at that point, WLP is no longer really involved.
    Do PDFs, word docs, audio, shockwave, and other binary media types
    stored in a WLP content repository display correctly with
    <object><embed> tags in your browser?
    Vijay wrote:
    Hi Gregory Smith,
    There is no problem with path at all. The same path if I write in address bar
    of browser it opens a widows media player and plays the video file.
    Pls suggest.
    Vijay B.
    Gregory Smith <[email protected]> wrote:
    See if using a path of
    http://etgjw4:7001/JWWebApp/ShowBinary/BEA+Repository/Ads/AdsPopup/ad1//image
    (note the + between BEA and Repository) changes anything. If so, you
    can
    use the com.bea.content.manager.ContentHelper.pathInfoEncode() method
    to
    URLEncode the node path, e.g.
    http://etgjw4:7001<%=request.getContextPath()%>/ShowBinary<%=ContentHelper.pathInfoEncode(node.getPath())%>//image
    or, the <cm:getProperty> tag supports this automatically, e.g:
    http://etgjw4:7001<%=request.getContextPath()%>/ShowBinary<cm:getProperty
    name="cm_path" node=<%=node%> conversionType="url"/>//image
    (You might need to double check that code in workshop to make sure it
    compiles).
    Greg
    Vijay wrote:
    Hi Gregory,
    When I type the repository path //property name in the browser's addressbook,
    It opens a windows media player and plays the video file.
    But when I copy the same path and paste it in embed/object tag it justloads up
    a windows media player. When I see the error details it says "Cannotopen. Please
    verify that the path and filename are correct and try again." Thereis a advanced
    button on error window clicking on that it shows "The specified streamtype is
    not recognized. (Error=C00D07E2)
    Cannot open. Please verify that the path and filename are correctand try again.
    (Error=C00D07E2)".
    can you give me a solution on this?
    The HTML code that I have written is attached to this query.
    Thanks alot,
    Vijay
    Gregory Smith <[email protected]> wrote:
    First, make sure the BinaryValue of the property of the Node has the
    correct content-type (should be video/mpeg, or similar). This can be
    in
    1 of the following ways:
    1. Look in the BLOB_CONTENT_TYPE column of the CM_PROPERTY table.
    2. Get the Node (e.g. with <cm:getNode>), then get the BinaryValue
    (with
    <cm:getProperty>), and call the getContentType() method of the BinaryValue.
    3. Show the ShowBinaryServlet on the Node in the browser and see what
    your browser does. The URL would probably be something like
    http://<server>:<port>/<webapp>/ShowBinary/<path to node>, e.g.
    http://localhost:7001/sampleportal/ShowBinary/BEA+Repository/mynode.
    You
    can bring up the properties for that in IE, or Page Info (Ctrl-I) in
    Mozilla; that should tell you the content type the browser received.
    If it's not something like video/mpeg, then that's why it's not working.
    Make sure you browser has support of mpegs in <embed> by creating a
    simple html file with an <embed> to an mpeg file (don't use the server
    at all). If that works and the content-type of the node is correct,you
    should be to create an html file with an <embed> to the URL in #3 above,
    e.g.
    <embed
    src="http://localhost:7001/sampleportal/ShowBinary/BEA+Repository/mynmode">
    </embed>
    If that works, make sure your jsp is generating the correct HTML.
    Greg
    Vijay wrote:
    I am using weblogic 8.1.
    Gregory Smith <[email protected]> wrote:
    What version of WLP are you using?
    Vijay wrote:
    Hi All,
    I have uploaded a mpg(video) file in content repositoy. But I am
    not
    able to fetch
    it and display it using embed tag.
    is anybody aware of a right method to do the same?
    Thanks in advance.
    New Web Application Page

  • AD: Auto Archive Outlook 2010 GPO

    Hello,
    I am currently testing Auto Archiving in Outlook 2010 via GPO but am having a little trouble with it. I copied the ADMX files to the DC and the workstation I am testing it from. I was able to get the policy applied and everything seems to be working. However,
    here is where I am confused. I have it set to auto archive anything older than a month (to test) and the only thing I see archived are Sent emails. Does anyone know why it did not archive the Inbox and anything that was older than  a month in it?
    On this test machine:
    Windows 7 64bit
    Office 2010
    Server:
    Exchange 2010
    AD 2008 R2

    Hi,
    Please use Group Policy Management Console to generate a Group Policy result to check policy apply status.
    After you applied Outlook 2010 Auto Archive policy, its data are stored at:
    HKEY_CURRENT_USER\Software\Policies\Microsoft\office\14.0\outlook\preferences
    Check such registry hive in your client; make sure your user applied the policy successfully.
    > I have it set to auto archive anything older than a month (to test) and the only thing I see archived are
    > Sent emails.
    For such questions, we recommend you create a new thread and post it in Outlook forum, which is the best place for Outlook related issues:
    Outlook IT Pro Discussions
    http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with
    us. 
    Thank you for your understanding.
    For more information please refer to following MS articles:
    Bug: Auto-archive does not work in Outlook 2010
    http://social.technet.microsoft.com/Forums/en-US/outlook/thread/b7f9a086-582b-472d-980f-90e9176d1cd3
    Outlook 2010 AutoArchive not working
    http://social.technet.microsoft.com/Forums/en-US/outlook/thread/0120b14b-ee80-4ad4-a757-1ffd9b4422d9
    Lawrence
    TechNet Community Support

  • Outlook 2007 auto archiving not start

    I have setup the auto archive to run everyday, and turn on already. And confirmed setup the Inbox for do the archiving too.
    And enabled a Prompt to ask me for the archiving in everytime. But everytime when I start the outlook 2007,it didn't prompt me or run it by auto.
    anything I am missing? thanks

    Hi,
    If your .pst file is corrupted, the AutoArchive may not work properly, please run Scanpst.exe to repair your .pst file:
    http://support.microsoft.com/kb/272227
    You can refer to this article to double check your autoarchive settings and troubleshoot the autoarchive issue:
    http://www.howto-outlook.com/faq/archivenotworking.htm
    Regards,
    Melon Chen
    TechNet Community Support

  • Archive File not accessible.

    Hello Experts
    I've an issue regarding archive file. I schedule a write program using TCode SARA, it works fine and gives me a session id for newly created archive file. When I try to schedule the delete program for given session id in SARA, I'm not able to select the file. It says 'Failed'.
    Strange part is when I directly run the archive program through SE38, I can see option (checkbox) to select file in SARA while scheduling delete program.
    I guess, I'm missing something when schedule write program for archive object. I dont know what .
    Any idea, if I'm doing it right or something odd, please share.
    Your any response will be highly appreciated.
    Thanks
    Ajay

    Hi Ajay,
    I prove in my 4.6C system your proble. We always use archive with external repository but i isn´t put now.
    AOBJ Customazing:
    Log.File.Name -> ARCHIVE_DATA_FILE
    You must to create TestSessVariant and Prod. session var (Delete Program Variant)
    Deletion Jobs -> Start automatic. (Not important)
    Try to run the two jobs with this configuration. If you can, then you create a client folder on Sap Directories (AL11)
    Best regards.

  • Database Recovery using Archive files

    Dears,
    Due to some issue our database get crashed.
    We have saturday night offline backup and archive backup till yesterday night.
    We have restored offline backup and system is Up but it is on saturday night state.
    We want to apply these archive files to make the system state to current.
    In restore our control file also get replace with our saturday night control file status.
    We have copied our archive files in oraarch directory.
    Now when using brtools I am applying archive files:
    Command executing in brtools:
    recover from '/oracle/<SID>/oraarch' database
    it shows
    unknow command beginning
    No recovery required
    On sqlplus also when I execute
    sql>recover database;
    It shows no recovery required.
    When I give command:
    sql>recover database using backup control file;
    it ask for some {file name| AUTO | CANCEL}
    I give first file name of oraarch it shows "Can not access the file".
    File permissions are ok.
    I give AUTO, It also then do not do anything.
    Please suggest the correct method to make my system in latest current date.
    Shivam

    Hi Shivam,
    This is absolutely normal that during the restore your control files will be replaced by the old one which were backed up during database backup.
    Logic is that you can not apply the redolgs which are having the timestamps older than your  restored datafile's / controlfile's timestamp.
    If your DB is not yet opened, you can check the status of your database using below command which will tell you, till what timestamp your data is restored or currently available.
    select to_char(CHECKPOINT_TIME,'yyyy-mm-dd:hh24:mi:ss') from v$datafile where file#=1;
    >
    > From command I want to know "from backup control file"....Do SAP take backup of control file as in system only old is
    >
    > available.
    > Shivam
    >
    recover database using backup controlfile.....  this command does not backup the controlfile . this will make use of old controlfile only which came along with the restore  and start the recovery using this controlfile only.
    Its just make use of available controlfile ..No backup will be triggered.
    Please make a note that after DB restore; ..recovery is possible only in case database is not yet opened in OPEN state.
    Cheers !!!
    Ashish

  • Archive File Storage Error

    We have a requirement to move archive files that were previously stored on the transfer directory /usr/sap/<SID>/archive to an Opentext store. We have setup the connection to Opentext for the A2 repository in OAC0. The connection test returns ok. We get an error "HTTP error: 400 Bad Request 5010: wrong usage: - Wrong Usage!" if we click on CSAdmin but this error does not seem to be an issue as we have the same error on other systems where this functionality is working. We can see the repository with a green light in the Overview tab.
    I go to SARA and choose to store file for previously completed archive job. The Archive File is accessible (Green Light):
    File Name RFI09020
    Logical Path ARCHIVE_GLOBAL_PATH_WITH_ARCHIVE_LINK
    Physical File Name /usr/sap/TST/archive/RFI09020
    However, the store job errors with the following information in the job log:
    12.09.2011 12:25:09 Job started 00 516 S
    12.09.2011 12:25:09 Step 001 started (program RSARCH_STORE_FILE, variant , user ID SMITHADC) 00 550 S
    12.09.2011 12:25:09 Archive file 000739-001FI_DOCUMNT is being processed BA 165 S
    12.09.2011 12:25:15 Archive file 000739-001FI_DOCUMNT does not exist BA 111 S
    12.09.2011 12:25:15 Error occured when checking the stored archive file 000739-001FI_DOCUMNT BA 194 E
    12.09.2011 12:25:15 Job cancelled after system exception ERROR_MESSAGE 00 564 A
    File is present on the file system, owner is <SID>adm and have tried with 777 permissions. File can be seen when going through AL11 too.
    The customizing settings for FI_DOCUMNT are setup to use logical file name ARCHIVE_DATA_FILE_WITH_ARCHIVE_LINK with Physical File R<PARAM_1><MONTH><DAY><PARAM_2> and Logical Path ARCHIVE_GLOBAL_PATH_WITH_ARCHIVE_LINK. Logical file path ARCHIVE_GLOBAL_PATH_WITH_ARCHIVE_LINK is set with Physical Path /usr/sap/TST/archive/<FILENAME> for UNIX.
    Any ideas? I can see numerous other similar topics raised but they have always been solved by file permissions which I can see no problems with.
    Adrian

    Hi Juan,
    I tried that.  Same configuration as before (ARCHIVE_DATA_FILE_WITH_ARCHIVE_LINK/ARCHIVE_GLOBAL_PATH_WITH_ARCHIVE_LINK).  Same issue:
    21.09.2011 11:43:55 Job started                                                                   00           516          S
    21.09.2011 11:43:55 Step 001 started (program RSARCH_STORE_FILE, variant , user ID SMITHADC)      00           550          S
    21.09.2011 11:43:55 Archive file 000740-001EXAMPLE is being processed                             BA           165          S
    21.09.2011 11:43:56 Archive file 000740-001EXAMPLE does not exist                                 BA           111          S
    21.09.2011 11:43:56 Error occured when checking the stored archive file 000740-001EXAMPLE         BA           194          E
    21.09.2011 11:43:56 Job cancelled after system exception ERROR_MESSAGE                            00           564          A
    Files are present with 666 permission:
    -rw-rw-rw- 1 tstadm sapsys    38992 Sep 21 11:42 RBC09217
    -rw-rw-rw- 1 tstadm sapsys    38325 Sep 21 11:42 RBC09216
    -rw-rw-rw- 1 tstadm sapsys    39510 Sep 21 11:42 RBC09215
    -rw-rw-rw- 1 tstadm sapsys    38630 Sep 21 11:42 RBC09214
    -rw-rw-rw- 1 tstadm sapsys    38914 Sep 21 11:42 RBC09213
    -rw-rw-rw- 1 tstadm sapsys    38450 Sep 21 11:42 RBC09212
    -rw-rw-rw- 1 tstadm sapsys    40343 Sep 21 11:42 RBC09211
    -rw-rw-rw- 1 tstadm sapsys    38453 Sep 21 11:42 RBC09210
    -rw-rw-rw- 1 tstadm sapsys    35974 Sep 21 11:42 RBC0921n
    -rw-rw-rw- 1 tstadm sapsys    38660 Sep 21 11:42 RBC0921m
    -rw-rw-rw- 1 tstadm sapsys    38570 Sep 21 11:42 RBC0921l
    -rw-rw-rw- 1 tstadm sapsys    38608 Sep 21 11:42 RBC0921k
    -rw-rw-rw- 1 tstadm sapsys    38642 Sep 21 11:42 RBC0921j
    -rw-rw-rw- 1 tstadm sapsys    40538 Sep 21 11:42 RBC0921i
    -rw-rw-rw- 1 tstadm sapsys    38346 Sep 21 11:42 RBC0921h
    -rw-rw-rw- 1 tstadm sapsys    38662 Sep 21 11:42 RBC0921g
    -rw-rw-rw- 1 tstadm sapsys    38474 Sep 21 11:42 RBC0921f
    -rw-rw-rw- 1 tstadm sapsys    38843 Sep 21 11:42 RBC0921e
    -rw-rw-rw- 1 tstadm sapsys    38569 Sep 21 11:42 RBC0921d
    -rw-rw-rw- 1 tstadm sapsys    38319 Sep 21 11:42 RBC0921c
    -rw-rw-rw- 1 tstadm sapsys    38809 Sep 21 11:42 RBC0921b
    -rw-rw-rw- 1 tstadm sapsys    38652 Sep 21 11:42 RBC0921a
    -rw-rw-rw- 1 tstadm sapsys    38522 Sep 21 11:42 RBC09219
    -rw-rw-rw- 1 tstadm sapsys    39984 Sep 21 11:42 RBC09218
    Adrian

  • Brrestore RMAN-20242: specification does not match any archived log in the repository

    Dear all,
    When trying to restore arvhive logs which are taken through netbackup with the following command brrestore -a se1-seqLast=path  like in the image attached . It fails with the following image:

    1) crosscheck archivelog all - when the error happens here, i think this means that there are no archived redo logs in the archivelog destination?? ..or something to that nature.
    2) crosscheck copy - not sure what the other errors mean here.
    specification does not match any archived log in the repositoryI don't see the error here, it's only a msg that mean : There is no files on XXX destination, which is normal when no files found.

  • RMAN - specification does not match any archived log in the repository

    Hi All,
    Oracle 11G R2 on WIndows woo8 R2 Std Edition
    I am running RMAN (almost for the first time), and i am using a script previously used. As i am checking through the log, i notice some 'errors' though the backup finishes successfully.
    RMAN> crosscheck archivelog all;
    using target database control file instead of recovery catalog
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=352 device type=DISK
    specification does not match any archived log in the repository
    RMAN> crosscheck backupset;
    using channel ORA_DISK_1
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=D:\ORACLE\DATABASE\ORADATA\MMSPRD7\ORAFRA\MMSPRD7\BACKUPSET\
    2013_04_23\O1_MF_NCNNF_TAG20130423T134331_8QFL24F7_.BKP RECID=16 STAMP=813505412
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=D:\ORACLE\DATABASE\ORADATA\MMSPRD7\ORAFRA\MMSPRD7\BACKUPSET\
    2013_04_23\O1_MF_ANNNN_TAG20130423T134334_8QFL26K1_.BKP RECID=17 STAMP=813505414
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=D:\ORACLE\DATABASE\ORADATA\MMSPRD7\ORAFRA\MMSPRD7\BACKUPSET\
    2013_04_23\O1_MF_NCNNF_TAG20130423T134423_8QFL3S48_.BKP RECID=18 STAMP=813505465
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=D:\ORACLE\DATABASE\ORADATA\MMSPRD7\ORAFRA\MMSPRD7\BACKUPSET\
    2013_04_23\O1_MF_ANNNN_TAG20130423T134427_8QFL3V9J_.BKP RECID=19 STAMP=813505467
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=D:\ORACLE\DATABASE\ORADATA\MMSPRD7\ORAFRA\MMSPRD7\BACKUPSET\
    2013_04_23\O1_MF_NNNDF_TAG20130423T134428_8QFL3XDT_.BKP RECID=20 STAMP=813505469
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=D:\ORACLE\DATABASE\ORADATA\MMSPRD7\ORAFRA\MMSPRD7\BACKUPSET\
    2013_04_23\O1_MF_NCSNF_TAG20130423T134428_8QFM4C5S_.BKP RECID=21 STAMP=813506507
    crosschecked backup piece: found to be 'AVAILABLE'
    backup piece handle=D:\ORACLE\DATABASE\ORADATA\MMSPRD7\ORAFRA\MMSPRD7\BACKUPSET\
    2013_04_23\O1_MF_ANNNN_TAG20130423T140148_8QFM4DOT_.BKP RECID=22 STAMP=813506508
    Crosschecked 7 objects
    RMAN> crosscheck copy;
    released channel: ORA_DISK_1
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID=352 device type=DISK
    specification does not match any datafile copy in the repository
    specification does not match any control file copy in the repository
    specification does not match any archived log in the repositorySo there are 2 instances of the errors:
    1) crosscheck archivelog all - when the error happens here, i think this means that there are no archived redo logs in the archivelog destination?? ..or something to that nature.
    2) crosscheck copy - not sure what the other errors mean here.
    Thx in advance!

    1) crosscheck archivelog all - when the error happens here, i think this means that there are no archived redo logs in the archivelog destination?? ..or something to that nature.
    2) crosscheck copy - not sure what the other errors mean here.
    specification does not match any archived log in the repositoryI don't see the error here, it's only a msg that mean : There is no files on XXX destination, which is normal when no files found.

  • Using AppleScript to auto-archive mail in Outlook 2011

    I want to use AppleScript to set up a schedule to auto-archive mail greater than X days old. What I've found so far is below, and the error I'm receiving is "error "Microsoft Outlook got an error: Can’t get pop account \"TargetProcess\"." number -1728 from pop account "TargetProcess"".
    # the time we want to archive from
    set theArchiveCutoffTime to ((current date) - (32 * days))
    property theCount : 0
    tell application "System Events"
      set targetProcess to count (every application process whose name is "Mail")
    end tell
    tell application "Microsoft Outlook"
      set thisAccount to pop account "TargetProcess"
      set thisFolders to mail folder of thisAccount
    # find the "Inbox" of topFolder and "Mail ARCHIVE" of on my computer
      repeat with thisFolder in thisFolders
      if name of thisFolder is "Inbox" then
      set theInbox to thisFolder
      else if name of thisFolder is "Mail ARCHIVE" then
      set theARCHIVE to thisFolder
      end if
      end repeat
    # find the archive "Inbox"
      repeat with thisFolder in mail folder of theARCHIVE
      if name of thisFolder is "Inbox" then
      set theArchiveInbox to thisFolder
      end if
      end repeat
      set theArchiveTarget to theArchiveInbox
    # archive the Inbox
      repeat with theMessage in message in theInbox
      if time received of theMessage < theArchiveCutoffTime then
      move theMessage to theArchiveTarget
      set theCount to theCount + 1
      else
      # we get messages from oldest to newest
      exit repeat
      end if
      end repeat
    # archive sub-folders
      repeat with thisSubfolder in mail folder of theInbox
      # find the archive subfolder corresponding to this
      repeat with thisARCHIVEubfolder in mail folder of theArchiveInbox
      if name of thisARCHIVEubfolder is name of thisSubfolder then
      set theArchiveTarget to thisARCHIVEubfolder
      end if
      end repeat
      # archive messages
      repeat with theMessage in message in thisSubfolder
      if time received of theMessage < theArchiveCutoffTime then
      move theMessage to theArchiveTarget
      set theCount to theCount + 1
      else
      # we get messages from oldest to newest
      exit repeat
      end if
      end repeat
      end repeat
    end tell
    I'm working in AppleScript Editor v2.6.1 (152.1), Microsoft Outlook 2011 v14.3.5, OSX 10.9.4 Mavericks.

    Ok, red_menace above me had a shorter and more elegant solution to the question, I'm adding this just for another example.
    To solve your problem I'd make a mail rule that looked for any messages with "Filename:" in them (along with whatever criteria you wanted, like sender, domain, etc). The mail rule would execute the Applescript. My assumption is that the "Filename:foobar" text could be anywhere in the email, not necessarily the first thing in a paragraph, so I had to parse it differently.
    The results end up in a datalist, (theFilename {} ) that you can parse later to collect all filenames found in whatever messages were processed.
    I realize this could be cleaner, hope it's not hard to follow, but I did it really fast. It works flawlessly for me, picking out the name of the file no matter where in the email it appears.
    using terms from application "Mail"
    on perform mail action with messages theSelectedMessages for rule theRule
    repeat with aCounter from 1 to count theSelectedMessages
    set theMessage to item aCounter of theSelectedMessages
    set theContent to content of theMessage
    set theWords to every word of theContent
    set theFilename to {}
    set tid to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ":"
    repeat with thisLoop in theWords
    try
    if (text item 1 of thisLoop) is "Filename" then
    set end of theFilename to (text item 2 of thisLoop)
    -- rest of your logic goes here the display is just to show it finds the filename, take it out!
    display dialog theFilename ¬
    buttons {"OK"}
    end if
    end try
    end repeat
    set AppleScript's text item delimiters to tid
    end repeat
    end perform mail action with messages
    end using terms from
    Message was edited by: stephen.bradley Typos for the win!

  • Using PowerShell to auto archive exchange mailboxes to *.pst.

    I am trying to auto-archive terminated users' mailbox to *.pst using PowerShell.  I use the commandlet, New-MailboxExportRequest.  I then type in the the correct file path and mailbox name; however, I keep getting an error indicating that exchange
    could not find a database suitable to store my request.  Can someone please advise as to how I can remedy this error?  

    Hi,
    Please include the full command you ran and the full error text. Also, what version of Exchange are you running?
    Don't retire TechNet! -
    (Don't give up yet - 12,830+ strong and growing)

  • Creating local auto archive setting by script Outlook 2010

    How could I enable Autoarchive feature and setup it by script for creating local pst file
    Delete letters older then 14 days
    Making Archivation every 1 day
    Apply Autoarchive settings for all folders
    Ideally I would love to have on script, no policy or exchange admin features and other staff, only script like vbs or something.
    I hope you understand me, my english is not so good

    Hi,
    Thanks for your post. I understand that you are looking for a scripted solution for auto archive settings in Outlook.
    However, this forum focuses on questions and feedback for Microsoft Office client. I would suggest you to post in the forum of
    Script Center>Scripting Forums, where you can get more experienced responses:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Ethan Hua
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

Maybe you are looking for