File adapter - get file metadata

Dear all,

in a BPEL process, I use a file adapter to get a file. I can read the file correctly, but I need information about the file (last modified date and size).

In the documentation, I have seen that there are the following properties:

* jca.file.Size

* jca.file.LastModifiedTime

So I put them in the "fromProperties" configuration of the bpel invoke activity, but when I look in the log files I see the empty property jca.file.Size ("received property"jca.file.Size", the value is" "." "").

What I am doing wrong?

I am using SOA Suite 11.1.1.7

Thanks in advance.

Hello

If I understand correctly, you use the "Synchronous playback" feature to play a single file using BPEL activity. Currently, the only properties that are populated are jca.file.Directory and jca.file.FileName.

Other properties jca.file.Size, jca.file.ModifiedTime currently apply to FileAdapter entrants only.

Tags: Fusion Middleware

Similar Questions

  • Get file metadata or the record broken for the root directory

    I used this method to get the metadata from the a site's root directory, it worked last week and now it has stopped working access to the root directory only, other directories are very good.

    http://docs.BusinessCatalyst.com/dev-assets/reference#! / api-settings/system/get-file - folder - info.html

    Navigate to the root directory

    "/ api/v2/admin/sites/current/storage /? meta' - used to work (now get a 403 Forbidden error)

    "/ api/v2/admin/sites/current/storage/images /? meta'-(par exemple) works very well.

    Please fix it as soon as POSSIBLE.

    Hot-patch has been deployed successfully, the problem should now be resolved.

    Cristinel

  • service to retrieve file metadata in the component FrameworkFolders

    Hi all

    We lack a comparison on the list of services, features supported by the Folders_G component and framework folders. In Folders_G, we are able to get the metadata information (both default / built-in and custom sound) for a particular folder. In records, we are not able to retrieve the information of custom metadata fields. Should which service I use to extract the metadata for a particular folder under Folders information?

    Also, there is another list of services that is available in Folders_G, but not supported by component framework files?

    Thank you

    Try this

    Service: FLD_GET_METADATA_RULES

    ResultSet: FolderExtendedMeta

  • How to hide the alternative files metadata

    Hi all, I would like to hide my custom profile alternative files metadata, how can I do this without having to write a custom for her component?

    Thank you

    Put this piece of magic code in one of your rules for your profile:

    <$dpPromote("suppressAlternateFile", "1")$="">

    Depending on your version, you can also set the "suppressAlternateFile" as a "side effect" to the activation of your rule.

  • How to get images related in an article while getting the metadata?

    We can get the metadata for an item using getMetadata(). Is there a way to get the images (image URL) for article image, image of social sharing, attached to the article?

    Thank you.

    Hello!

    You can get the url of the image summary only, the metadata of the item object:

    Adobe DPS - reading SDK 2.32: adobeDPS-ArticleMetaData: JsDoc reference

    The property name is articleTOCPreviewURL

  • How to get Designer metadata?

    In Acrobat, I can get the metadata by 'this.metadata '.

    Help of the said Designer: allows you to 'xfa.form.desc' instead of 'this.metadata '.

    The 'desc' has a method "metadata(Integer para)" to return metadata information.

    I use the code ' xfa.form.desc.metadata (0) "in the designer.

    But the attention of the error "GeneralError: failed operation.

    Who can tell me how to get the metadata for Designer?

    Thank you.

    Use

    var Meta = event.target.metadata;

    xfa.host.messageBox (Meta, "of this form"3.0 metadata);

    But this isn't a good method as the messageBox may be to small to display all the information!

  • Get the metadata of a file via JS then move to Applescript

    I just put a post that allowed me to add data to the file in its 'title' in the info file.

    activeDocument.info.headline = "YourName";

    not using javascript I need to retrieve this information.

    define the nominative for the result of (javascript "... »)

    How do I get this information?

    To do it in As

    say application ID "com.adobe.Photoshop".

    say an active document

    Info to say

    the value title to "YourName".

    end say

    the value myHeadline to title Info

    myHeadline display dialog box

                end say

    end say


    HTH

    greenrookie

  • Catalogue again pass PC but moved with the tree files metadata and tag

    I'll start at the beginning. Years ago I had PS elements 4 original and upgraded to PSE11 on the same computer and no problem. . at some point, we moved the files from a PC to a new PC. We knew on the displacement of PES in the catalogue and transfer of files. I guess I have relabelled and organized all the photos and was happy for years.

    Last month my husband used the utility PC mover 'link turn' PES 11 to a new PC by moving all the files. I then found the problem, because all my photos had no information and no tag and no tree tag on the screen.  As a precaution, I saved the metadata to all media and created a tree of xml on the old PC before tags it back up again. We were going to do the process of back-up/restore to the new PC, but when my husband was struggling to install Adobe PES 11 on the new PC he transferred somehow all my photos (12,000) and there they were with labels and information and all organized under their respective keywords.

    The problem is PSE11 created a new file (Bethpictures) with all the photos inside.

    Now it seems that we SO 3 separate files with these same pictures 12 000 each. I see all these folders on the left side of the page of the Organizer.

    (1) the original file from Windows

    (2) the old file from PC-bethalbums

    (3) new file of PC-bethpictures

    and XML file - tree of the tag

    so is it possible to remove redundancies and the tag tree file without any screwing or should I delete it all and make the catalog upward and restoration of the process. Can we put the Bethpicture file under bethalbums and remove duplicates? Or get rid of bethalbums (from old PC) and only has Beth photos (new files created by PSE)? Can I delete this file tree of xml tag or ultimately the removal of the tree of the tag on my page of Organizer PSE?

    Should I back up catalog now on the new PC? And then when I get a new PC in the future I can use the backup/restore process or one should always save metadata to file?

    OR should I leave him alone?

    If I take a chance - I have the following questions about the process in two steps:

    Is there a video for me to watch on how to do this?

    some issues are still confused.

    1. on the new should PC-before you begin the process I install PES 11?

    1 a - should there be pictures on the new Windows PC at all? Or get everything restored with AdobePSE11?

    2 - when the backup catalog on CD it will prompt me when another CD is required to be inserted if several CD is necessary?

    Catalogue food 3 when to new PC is there an order to put in the CD?

    Sorry for the delay in responding to...

    beth1017 wrote:

    Now it seems that we SO 3 separate files with these same pictures 12 000 each. I see all these folders on the left side of the page of the Organizer.

    (1) the original file from Windows

    (2) the old file from PC-bethalbums

    (3) new file of PC-bethpictures

    and XML file - tree of the tag

    so is it possible to remove redundancies and the tag tree file without any screwing or should I delete it all and make the Catalog backup & restore process. Can we put the Bethpicture file under bethalbums and remove duplicates? Or get rid of bethalbums (from old PC) and only has Beth photos (new files created by PSE)?

    You have layoffs after several restorations.

    Before you delete it, you should check which of these 'restorations' are the best.

    Each restoration produced a copy of your image tree and a catalog folder.

    When you open the organizer with one of the catalogues referring to these various restorations, you can consult:

    -where the pictures are stored (in the information on the right panel)

    -where the catalog folder is stored: Help menu > system information.

    If you are satisfied with a given restore session, at the locations above should not be deleted, the others can be deleted completely from the Explorer or Finder.

    Your catalog is probably not in the default location on C:, it may be in a different location. You can use Catalog Manager to move the catalog to the location by default if it is not already there.

    Should I back up catalog now on the new PC? And then when I get a new PC in the future I can use the backup/restore process or one should always save metadata to file?

    OR should I leave him alone?

    It would be a good thing. Registration of metadata to the files is a good and redundant way to be sure, but a healthy backup is sufficient.

    1. on the new should PC-before you begin the process I install PES 11?

    Yes

    1 a - should there be pictures on the new Windows PC at all? Or get everything restored with AdobePSE11?

    No, everything is restored, firstly the photo files, then the catalog. If so, you will need to convert a catalog from an older version;

  • Cannot add properties of jad for the compatibility mode for the COD file metadata.

    Hi all.

    I need to disable the application that are installed compatibility mode using the ALX file. I read in an another messages it is possible to add custom file JAD directly properties in the COD file. I tried to create test projects using Blackberry JDE, Blackberry Eclipse plugin generation tools and use Eclipse with ant. Then I tried to add a JAD file for projects and by adding the following properties:

    RIM-TouchCompatibilityMode: false
    RIM-TouchCompatibilityMode-UserChangeable: true
    

    Also I tried specifying the properties of this:

    RIM-TouchCompatibilityMode: 0
    RIM-TouchCompatibilityMode-UserChangeable: 1
    

    But it seems that it does not help to automatically avoid compatibility mode for applications that are built using JDE4.2.1 or earlier. I ran the test on Storm 9530 camera with 5.0.0.32 8 preinstalled JDE. I also wipe my phone several times to avoid the capabilities that the compatibility mode settings is saved.

    In addition, before installing the application I also checked this jar file compatibility mode properties which was built contained in this manifesto.

    Please, anobody can advise which go bad. Or it seems that there is no possibility to implement the solution that are built with the JDE at first then 4.7 and are installed using the ALX file.

    I never could get this job.

    Sorry, don't know what the deal is.

  • cannot save file metadata, file is read only

    I have several files that I changed in LR, then changed in PS and saved in a different format.  Their return to LR and tried to record metadata in files, but it will not allow that and says that the files are 'read only '.  How can I change as read-only to read/write?

    Good answer found by dj_paige!  When I went to make a screenshot of the folder permissions, I found that although security, I have it changed so I had full access, the general tab for the parent folder is still marked read only.  After unchecking read only on the parent folder and the folder and subfolders over 1000, it's finally let me save metadata!  Big thank you!  For everyone with this problem, I would start by right clicking on the parent folder to all your image files, in general tab, uncheck Read-only and then if it does not change the permissions for different people on your computer.  I'm all for controlling the most possible and to relinquish control as a last resort!  Again, thank you dj_paige for me by browsing.  You've been very helpful!

  • What does it mean to 'Include develop settings inside JPEG, TIFF, and PSD files metadata?

    I wonder what the option ' include develop settings inside the JPE metadata . G, TIFF, and PSD files"in settings/metadata catalog done?  What happens if you uncheck the box?

    Bob12312321 wrote:

    also when this is unchecked lightroom always will record keyword changes to raw (nef) files?  Thank you!

    Metadata (metadata 'real' like keyowords or develop adjustments) are never saved in Raw DNG files (like .nef, .cr2) directly. With these files, there is always a file called (with the .xmp extension) created to contain the XMP information.

    And Yes, if the option is disabled, LR record key words on the XMP sidecar, when you 'Write to the metadata file' or have the autowrite option active.

    Beat

  • Tags not shown in file metadata

    Why not the tags assigned on most of the photos in PSE8 show in metadata that we see in looking at the properties in windows Explorer?  It seems that sometimes it is written in the file, but most of the time it is not. I wasn't able to track down when and why does it sometimes.

    If I add tags using Picasa, they appear in the metadata file, but PSE8 does not see these tags.

    Seems strange that PSE8 does not write the info tag in the metadata.  However, it always seems to write copyright metadata in the file.

    I'm doing something wrong in the way I'm applying tags?

    Thank you

    ... Rich

    You must specify PSE8 to write tags in files, just as you had to do in all previous editions of the EP.

    Select the file of interest and then file > write keyword Tag and information of picture properties

  • DNG files, metadata and catalog

    Hello I currently have LR2.7 64-bit running on W7 64 bit. My camera captures native DNG (Leica M9). I import via "Convert to DNG and add to the catalogue" worth compression without loss for files when importing (for copy and extra copy on external hard drive). I prefer not to rename files on import as my first sorting level is contiguous numbering of all original.

    I'm little upgrade to LR3, however I'm waiting for the resolution of the problems reported with the catalog updates. My plan is to first import the images to the laptop when traveling and important copies to my desktop, a first action to return. I understand that there may be issues of import and export of catalog files on both machines currently duplicate with. I prefer a lot to keep multiple copies on computers apart until I swallowed the files in my normal diet at home.

    I'm looking options to avoid rebuilding a catalog, if something is not bad. I prefer to keep initial develop information, Keywords, changes of ratings made on the laptop.

    I understand that the development parameters are stored in the DNG itself rather than in a file. I'm not sure just where each type of information is stored, which is listed in the file and in the lrcat file. I understand that previews are inconsequential, because I need to be updated in any case those who, after the changes.

    So specifically, if I just copy the DNG files after my initial changes on the laptop with the main machine, what information willl be kept and who will be lost if I throw the laptop catalog to reduce to nothing all the problems with import/export?

    Development settings?

    Keywords?

    Ratings/labels?

    I have the ability to import via CS5 on both machines but try to optimize my use of LR for as many functions as possible.

    Develop settings are the final position of the sliders in the develop module. With this information, Lightroom can make the photo with your changes. You do not lose this information if you write to XMP and then reimport into Lightroom.

    Develop the story is the sequence of steps that you followed to reach the final position. You lose that when you write to XMP and then reimport into Lightroom.

    I guess I don't understand the point of the exercise (unless it's purely an educational exercise). If you export in the catalog, and then import from catalog, something that Lightroom is very easy to do, you don't lose any of the catalog information.

    So, you have at your disposal, a method that retains all the information catalog; and a method that doesn't work. Which one will you use?

  • Get the metadata from the images information (CS3, AS, JS)

    I tried using AppleScript and JavaScript to get the photo captions using linkXmp.description.

    This works when the image has been edited in Photoshop, but not when it has just been imported into the page and done nothing for her... The answer is "No metadata information available", a fair enough answer because it don't disagree that the information might be there.

    I got a job AppleScript which goes to Photoshop, opens the picture, gets the information, which is closed without saving changes and returns to InDesign to put an overlay on the image with its legend information. The time delay involved in the image opening is irritating, however.

    I tried initially in AppleScript, and when the offer read in the archives of this forum on the edition vs original problem.

    So, I headed over to the Photoshop Forum where a helpful guy gave me a fragment of AppleScript to get information of legend and a fragment of JavaScript to get the linkXmp.description in InDesign.

    I just finished adapting the JavaScript to work with a selected InDesign page item (learned much in the process). But in the end that I was confronted with the same brick wall I met with AppleScript. If the pic is not changed, no dice.

    My friend Photoshopping was surprised that I did raise my difficulty in the InDesign Forum... which I do now, with apologies to all those who may have read passed me on the road to this topic.

    Yes, there is an InDesign only method to obtain this information from legend?

    In the case that everyone faces in this here is an example that tries to get the legend of the bridge for files that have not given xmp.

    #target indesign
    main(); // Call to the main function
    function main() {
         if (app.documents.length == 0) {
              alert("Please have an 'Indesign' document before running this script.");
              return;
         }
         docRef = app.activeDocument;
         with(docRef) {
              // try reading linkXmp
              var caption = links[0].linkXmp.description;
              if( caption == "" ) getCaptionFromBridge( links[0].filePath );
    
         }
         return caption;
    
         function getCaptionFromBridge( fileName ){
               var cap = undefined;
               function myReturnValue(cap){
                    //do what you want with the results
                     cap = cap;
                    caption = cap;
               }
               var bt = new BridgeTalk;
               bt.target = "bridge";
               var myScript = ("var ftn = " + psRemote.toSource() + "; ftn("+fileName.toSource()+");");
               bt.body = myScript;
               bt.onResult = function( inBT ) {myReturnValue(inBT.body); }
               bt.send();
               bt.pump();
              $.sleep( 100 );
              var timeOutAt = ( new Date() ).getTime() + 500;
              var currentTime = ( new Date() ).getTime();
              while ( ( currentTime < timeOutAt ) && ( undefined == cap ) ) {
                   bt.pump();
                   $.sleep( 100 );
                   currentTime = ( new Date() ).getTime();
               }
               function psRemote(fileName){
               var file = new File(fileName);
               var tn= new Thumbnail(file);
               var md = tn.synchronousMetadata;
               var caption = md.read('http://purl.org/dc/elements/1.1/',"description/*[1]");
               return caption;
               }
         }
    }
    
  • How to get the metadata for the selected tables of a schema

    Hello

    I need the metadata for the tables selected for an activity. The list of the table continues to change now. I get the list of tables just before the activity.

    What I need is to know how to put the list of tables in the sub query dynamicallly

    +++++++++++
    exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'SEGMENT_ATTRIBUTES',);
    exec dbms_metadata.set_transform_param (DBMS_METADATA. False SESSION_TRANSFORM, 'STORAGE',);
    exec dbms_metadata.set_transform_param (DBMS_METADATA. SESSION_TRANSFORM, 'TABLESPACE', TRUE);

    Select DBMS_METADATA. GET_DDL ('TABLE', '&') from user_tables where rownum < 2;
    +++++++++++

    What I need is something of the form where table_name in (< table1 >, < table2 >, < table3 >,..., etc.) in the query above, so that i access all the metadata
    He doesn't hit me how I can write this query to single line. Can someone help here?

    Regds,
    Malika

    Hello

    try using the name of the column to user_tables and owner of the table in the "DBMS_METADATA. GET_DDL' and the reel to reel for some files and run this file in turn exit.

    coil
    Select ' select DBMS_METADATA. GET_DDL ("' TABLE," ' | table_name |', "' ) double;' from user_tables
    where ;
    spool off;

    @some_file - trying to spool output too.

    -Pavan Kumar N

Maybe you are looking for