Creating DataLocationId for import into images tables

I would like to ask if someone has working code to create a DataLocation when importing pictures into the Images table using the Java API.
I´ve already worked out that this is a hierarchical structure and i´ve to create an entry for every component of my filename.
Take this example:
fileserverpath1path2 ile.txt
I´ve to create node
fileserver, path1, path2 where path1 is a child of fileserver and path2 a child of path1.
For every node during creation, i´ve to set the DataLocationType which is one of
static int      COMPUTER_LOCATION
          A particular computer location.
static int      DIRECTORY_LOCATION
          A directory location type.
static int      LOCAL_FIXED_DEVICE_LOCATION
          A local fixed device such as a local drive.
static int      PHYSICAL_LOCATION
          A non computer location, such as postal address.
static int      REMOVABLE_MEDIA_LOCATION
          A removable media device such as disk on key.
static int      ROOT_LOCATION
          Root of tree, doesn't represent a location.
static int      SHARED_FIXED_DEVICE_LOCATION
          A shared directory on another computer.
The problem is, that for the above example, i used COMPUTER_LOCATION for the
fileserver component and DIRECTORY_LOCATION for the remaining components. But i get an unspecified server error when trying this.
However, if i import a picture from this path using the MDM Data Manager everything is fine and if a look at the entries created (using the RetrieveGroupTree Command) all entries have type DIRECTORY_LOCATION. Strange. I tried setting this type also for the
fileserver part of the path but this gives also a unspecified server error.
I would really appreciate some working code fragment.

Don't know if this helps you or not, but I found a work around. Instead of using the "Export" option, I used "Send to" and selected iDVD. It exports the Keynote presentation as a Quicktime movie with very high video and audio settings, which means a larger file size, but Final Cut seems to recognize the file now. This is not a proper way of doing it, so I will keep a close eye out for other responses to this thread. I'm sure the problem has to do with a specific set of export settings that you have to change, but I tried a bunch and none of them seem to work. This "Send to" technique seems to do the job (though you have to go through the hassle of quitting iDVD once you have the QT file on your desktop.)

Similar Messages

  • Exporting Final Cut Pro audio for importing into Avid via OMF

    Greeting Colleagues
    I'm just wondering if there are any special consideration when creating an audio OMF in Final Cut Pro for importing into a PC based Avid edit suite.
    best
    Aldo

    Answered under Final Cut Pro thread.

  • Default duration time for importing still images

    Hello all,
    Is there an easy way to change the default duration time for imported still images?
    I have thousands of images that I want to import to make a time elapsed movie. I would like for these images to have a duration of less than a second. I could do this individually, but it would take forever.
    Can the default duration time for imported images be changed?
    Thanks,
    Adam

    Hi
    Too long time I made anything serious in iMovie HD6 (altough a a very competent editor)
    (Took the FinalCut leap)
    As I remember (just tested) it - if photos are imported then it's a tedious labor
    to set duration - one at a time. No global function I can induce.
    BUT - I would put my photos into a separate folder in iPhoto so that they are easy
    to get in iMovie from audio/photo browser.
    Then I select (in iMovie) the first photo and double click on it to view it on canvas.
    Now I also get a small gray window where I can set size and duration.
    I select 01:00 (1 sec) in duration and Apply/Use.
    Then I selec the rest of the photos and drag them down to TimeLine after first
    photo. And they also get same duration of 01:00.
    Yours Bengt W

  • Maximum file size for importing into Premiere Pro CS6

    Hi,
    I'm considering recording raw video, no compression at 720p, 30 fps for 20-30 min.  This woudl result in a file that is close to 80 Gbytes.  I'm wondering what the maximum file size for importing into premiere Pro is and if I need to split this file up into smaller pieces.  Any recommendations on how I may deal with uncompressed raw video that is pretty long in length?
    Thanks,
    Serena

    There is bound to be some limit somewhere in the program, but you should be well below that. The biggest issue might be whether your computer is up to the task of handling it. If you will post your computer specs., someone will give you comments on that aspect.
    Good luck,
    Hunt

  • How to create Criterian For more than one table

    Hi,
    I have one problem how to create criteria for more than one table in that using one criteria hot to get the values from database in that more than onetable for getting these values .Please send me the exampke code.
    reagrds,
    raghu

    Hi,
    I don't think its possible to create fieldcatalog for different tables,
    but if you want to do so create a dummy table which has all the fields which you want in fieldcatalog.
    populate the data from different table to that dummy table
    then create fieldcatalog for that table and pass it in the function module...
    Regards,
    Siddarth

  • Can i use create function for MSSql scalar and table valude function.

    Hi,
    1) Can i use create function for MSSql scalar and table valued function?
    2) How many type of user defined function are there in oracle 11g express?
    3) And can i reture any "type" form user defined function?
    yourse sincerely

    944768 wrote:
    Q1)That means even if i return predefined types like integer, varchar2 then also PGA is used ?The data type does not determine where the variable is stored. A string (called a varchar2 in Oracle) can be stored in stack space, heap space, on disk, in a memory mapped file, in a shared memory, in an atom table, etc.
    It is the who and what is defining and using that string, that determines where and how it is stored.
    The Oracle sever supports 2 languages in PL/SQL. The PL (Programming Logic) language is a procedural/declarative language. It is NOT SQL. SQL is integrated with it. The PL/SQL engine uses private process memory (PGA). So PL/SQL variables exist in the PGA (but there are exceptions such as LOBs).
    Q2) So please suggest me solution in oracle.Sounds to me you are looking at how to implement a T-SQL style function as an Oracle function, and once implemented, do joins on the function.
    Do not use PL/SQL in SQL in place of a SQL select. It is not T-SQL.
    One cannot use PL/SQL to create functions along the style of T-SQL, where the function executes a SQL using some conditional logic, and then return as if the function was a native SQL select.
    T-SQL is an extension to the SQL language - making it a hybrid and very impure language implementation. PL is based on ADA - part of the Pascal family of languages. The E-SQL (embedded SQL) approach used in languages like C/C++, Cobol and Ada, has been transparently done in PL/SQL. You can write and mix PL code and variables with SQL code. And the PL/SQL engine figures out how to make the call from the PL/SQL engine to the SQL engine.
    But PL/SQL is not "part" of the SQL language and does not "extend" the SQL language in a T-SQL fashion.
    So you need to check your SQL-Server preconcepts in at the door, as they are not only irrelevant in Oracle, they are WRONG in Oracle.
    The correct way in Oracle, in a nutshell - Use the SQL language to do data processing. Use PL/SQL to manage conditional process flow and the handling of errors.

  • SPRO - Create Destination for Import Post-Processing

    Hi,
    What is the significance of this setting in SPRO?
    SAP IMG -> Business Intelligence -> Transport Settings -> Create Destination for Import Post-Processing
    How and in what situations do we need to fill the entries for this setting?
    Thanks

    Hi George,
    If you dont create a destination here in a target system for transport then your process chains will not get activated after the transport. I am not sure if it has any other implications.
    regards,
    Sumit

  • Break mail into "chunks" for importing into Entourage?

    Hello,
    I currently have a mail.app account that is around 10GB in size. Mail.app is giving our studio far too much trouble (especially when upgrading from 1.0 to 2.0) and we're switching to Entourage. The problem I'm having right now is that Entourage limits its mail database to 4GB, thus I can't import my mail.app account. Is there a way to break up my mail.app account into more manageable (3GB) chucks for importing into Entourage?
    Any help would be greatly appreciated!
    Thanks,
    Kristin.

    OPEN LETTER TO THE MAIL 2.0 CODING TEAM. RSVP.
    with thanks to DAVID GIMENO GOST, for answering so many people's posts about all the mail 2.0 bugs.
    hi guys,
    i love all things apple, and i have done for twenty years.
    but with respect, your build of mail 2.0 really could be a lot better.
    moving my mail from 1.0 on an ibook g3 running os X 10.3.9, over to mail 2.0 on an intel macbook 1.83 running os X 10.4.7 has been a nightmare.
    the discussion boards of many mac sites feature countless cases of people making the move from 1.0 to 2.0, with all their e-mails disappearing.
    having spent two weeks reading the knowledge forums, and learning about emailchemy, plus all the complications which, even with that third party program, still exist in moving one's mail over from version 1.0 over to 2.0, are both massive and horrendous.
    and that's for me, who has twenty years of finding my way around mac bugs.
    but this one is the most difficult i've ever seen, as well as being one of the most widespread problems in a FULL VERSION RELEASE of an apple program, which apple has done nothing to resolve during the six months in which this problem has been widespread in the mac community worldwide.
    so thank god for DAVID GIMENO GOST !
    i'm amazed that apple still hasn't come up with a patch for moving mail from 1.0 to 2.0.
    even now, while i've finally got all my mail back today, 95% is showing as unread, due to the last obstacles in the process, which i can no longer face solving.
    i've also lost hundreds of red mail flags during the transfer :o(.
    PLEASE PLEASE PLEASE, guys:
    we shouldn't need to be buying third party software to move our e-mails from apple mail 1.0 up to apple mail 2.0, and even then be faced by massive hurdles to overcome, which take weeks for someone who at least has SOME idea of what he's doing.
    i pity all the people who read the numerous forum posts about how difficult it is to transfer their mail from 1.0 to 2.0, and simply give up on the spot, and have to start their e-mail history TODAY, unable to access their previous e-mail again - potentially now for ever.
    because the ironic joke is that we can't even have an access copy of mail 1.0 on our macs to read our old e-mails, unless we hack that program out of the 10.3 cd installation set, which the gurus on your own web site recommend us NOT to do !
    so what are we supposed to do, to access our old e-mail, which we can't open, even though YES, it is in our mail folder, and YES, we did full rebuilds of every mail folder, and YES, we trashed our mail preferences first.
    e-mail is now at the very center of the average mac user's digital life.
    a user's most important program should not require countless hours scrolling through the astonishing number of problems within mail 2.0, which the apple.com discussion boards evidence, with new problems being added every day.
    please sort this out, and build a patch, for the sanity of the many people who love apple, but who are unable to access any of their old e-mails.
    because i wouldn't wish the last fortnight on anyone else.
    RSVP, APPLE.
    with best wishes to everyone on the infinity loop,
    michael thorne
    london, england
    [email protected]
    ps: if you're a mac user who has been affected by the mail 2.0 disappearing bug, please post a reply to this message, and send me an e-mail to: [email protected], so that we can draw apple's increasing attention to it. thanks.
    MacBook1. 1.83 GHz. 512 MB.   Mac OS X (10.4.7)  

  • MXF file conversion for import into Final Cut Express 4

    Does anyone know of a good software product to convert mxf files to quicktime for import into Final Cut Express 4? Not having much luck finding one. Thanks

    alski999 wrote:
    Does anyone know of a good software product to convert mxf files to quicktime for import into Final Cut Express 4?
    the makers of famous flip4mac (=wmv plug-in for QT), offer a mxf-modul too
    http://www.telestream.net/telestream-products/desktop-products.htm
    they offer a trial - test before buy.
    mxf is a professional format, so professional price ...

  • Transport Request is not flagged for import into production.

    When I try to migrate a CR from the quality system to the acceptance system, through solution manager system, the status flag still remains to be "To be tested" which normally does not happen.
    I get 4 warnings as below:
    1) Status was reset by system
    2) No import into test system has taken place.
    3) Transport request is not flagged for import into production
    4) The tester role cannot be the same as the developer role.
    Usually when a CR is selected for migration to Acceptance, the status flag automatically sets to "productive", which in turn depicts that the CR has been migrated to acceptance and is ready for import into production.
    But when I check the Transport log in the acceptance system, it is evident that the CR has been migrated to acceptance with errors.

    I guess these errors you mentioned are the reason why ChaRM reports your transprot request as
    2) No import into test system has taken place.
    1) Status was reset because 2) is not fullfilled.
    3) did not get flagged because status was not set due to previous errors.
    4) business partner of user with function "tester" (apparently the one who tries to set status) is the same as the business partner assigned to function "developer". If it should be the same person you can switch off the warning in customizing.
    Try to correct import errors and repeat status switch.

  • Creating a button for inserting into a table

    What I can't do, because I've never needed to, is to create in a page (where I have a Interactive report) a button that when is clicked performs a simple sql (for example an insert into a table using some page item values).
    How can I do it?
    Thanks

    Here are some of the steps:
    1) Create the button.
    2) Then right click on the button name and select Create Dynamic Action
    3) Give the DA a name, click next
    4) On the "When" Step, Event should already be "Click" and the button name should be filled in
    5) For Condition, you would have a condition for when you want the button display.  Say, if your page items have a certain range of values then display this button.  No condition means the button is always displayed.
    6) For the "True Action" Step, for Action select "Execute PL/SQL Code"
        [There are other ways to do this, but this is straight-forward for me.]
    7) The in the PL/SQL Code block enter say:
    Begin
      INSERT INTO EMP (EMPNO, ENAME, HIREDATE)        
              VALUES (:P6_EMPNO, 'MARK1970', :P6_HIREDATE);
      COMMIT;
    END;   --- You would likely make them all page item variables
    8) Here the part I'm not 100% sure of.
        For "Page Items to Submit", name the page items used in YOUR QUERY -- in my example these are  P6_EMPNO,P6_HIREDATE   (Note no use of & or : or . here)
        Hmm.  Start by putting nothing in the "Page Items to Return".   If that fails, then try the same page items  P6_EMPNO,P6_HIREDATE there as well.
    [ I'm too lazy to go run this down at the moment.]
    9) I think that's it.
    Howard

  • Best strategy for importing organized images

    Hello,
    I have recently started using Aperture in my photography workflow and I need some advice from the experts on the best strategy to import the existing .JPGs from my hard disk into my Aperture library.
    Prior to using Aperture, my workflow was as follows:
    1.) I would import ALL the photos from my digital camera to a folder on my hard disk (one folder for each date of import). These, in effect, were my 'master' images, which I never edited or deleted.
    2.) Next I would make a copy of each new master folder, under a separate folder called 'picks', where I would go thru and delete the bad ones and occasionally make some minor edits or crops to the good ones. These 'picks' folders are what I used for my slideshows, photo galleries, etc.
    NOW, as I'm moving everything to Aperture, I'm attempting to find the best strategy to import everything, where I would maintain both a master copy of everything that came off my camera and the already organized 'albums' of 'versions' the represent my 'picks', but also reduce some of the redundancy of having duplicate copies of 60-70% of the photos in my library.
    Here is where I need some advice. In the case of new photos imported directly from the camera into Aperture I have managed to figure out how to import the master images and then create albums of versions for my good pics. However, I haven't found any way to import my existing masters and picks without importing two copies of each "good" pick.
    Is there any way I can get Aperture to recognize that the photos in my 'picks' folders are actually 'versions' of some of the original 'masters' so I don't need to import two master copies of each of my good pics? (I generally left the file names the same.)
    I have several thousand existing pics on my hard disk that I'm hoping to import into Aperture so I'm hoping there is an efficient way to do this!
    Many thanks for the help!

    HI I would also be interested in how others do this. I have been playing with aperture for some time and I am still not sure whether to commit to it.
    I also keep my masters in a folder structure with year at the highest level and day of shooting below that.
    I know its not necessary to do this in Aperture but I am not sure I understand why or if its a bad thing to do.
    Would love to her what others think and advise.
    Thanks

  • Ideas on how to export from Oracle (11g) for import into a MSSQL server?

    Hi folks,
    Crazy question yes...but I have some devs that are needing to export some schemas/tables from Oracle to somehow import into MSSQL.
    Are there any utilities our there, hopefully from Oracle that would allow for this? So far, all I can think of are to generate the DDL from the Oracle instance, and then do some scripts to output the data in a cvs type format....
    Anything better than this?
    Any links or suggestions greatly appreciated.
    Thank you in advance,
    cayenne

    cayenne wrote:
    EdStevens wrote:
    cayenne wrote:
    sybrand_b wrote:
    Heterogeneous Services using ODBC or OLEDB.
    No need for stupid csv files.
    Sybrand Bakker
    Senior Oracle DBAThank you for the prompt reply. I'm looking into this and am finding some Oracle documentation, but just off the top of my head, this approach seems to assume the 2 database servers can see or talk to each other.
    What if the oracle box is on one network...that cannot connect to the network that the MSSQL box is on. For example..running off some test data from one company to another company with networks that do not cross?Assuming some acceptable export/import utility, how do you plan on getting the file from the source to the target if the two servers are on networks that cannot talk to each other?Well, I'm still trying to gather facts, this is just a question coming in from some developers.
    From what it may be, is that the can scp from site to site, but no direct connectivity between the database servers on the sites...isolated, maybe a DMZ...I dunno everything yet.Well, you either have connectivity between the two machines or you don't. Binary decision tree.
    IF  net_connectivity_exists
         you can use oracle sqlnet enabled capabilities
         OR
         you can transfer an export file via ftp, sftp, scp, etc.
    ELSE
         you have to transfer an export file via sneakernet
    END-IF

  • QUERY FOR INSERT INTO  SQL TABLE

    Hi all,
    i want to insert some records into SQL table but not SAP database table. This table is only present in SQL database &
    not present in SAP database.
      i want to write a program in SAP to update the SQL table(not present in SAP database). is it possible?
       if yes, plz give me the query for inserting records into SQL table.
    Regards

    Hello,
    working on the same issue:
    Try this:
    DATA : Begin Of XY Occurs 1000,
            id(15)    TYPE C,
            Name(50)  TYPE C,
            ArtNr(50) TYPE C,
            lieferant TYPE I,
         End Of XY.
    Fill this internal Table with the SAP-Table
    START Connection to your Database
      EXEC SQL.
          Connect TO 'TEST_FH'
      ENDEXEC.
      IF SY-SUBRC EQ 0.
        EXEC SQL.
        Set Connection 'TEST_FH'     " <-- this is defines with TCode dbco
        ENDEXEC.
        IF SY-SUBRC EQ 0.
        Else.
          " OUT_Msg = '... won't connect'.
          Exit.
        EndIf.  " Else IF SY-SUBRC EQ 0
      Else.
        " OUT_Msg =  'Error at Set Connection Test_FH'.
        Exit.
      EndIf.  " IF SY-SUBRC EQ 0
    ENDE  Connection to your Database
    START Insert your table XY to an external database
        Loop AT XY.
          Try.
           EXEC SQL.
               INSERT INTO stoff
               (id, name , artnr, lieferant)
               VALUES
               ( :XY-ID,  :XY-Name, :XY-ArtNr, :XY-Lieferant )
           ENDEXEC.
           COMMIT WORK AND WAIT.     " <=== Maybe VERY important
          CATCH cx_sy_native_sql_error INTO exc_ref.
              error_text = exc_ref->get_text( ).
              Concatenate 'Table-INSERT: ' error_text Into error_text.
              MESSAGE error_text TYPE 'I'.
          ENDTRY.
        ENDLoop.     " Loop AT XY     
    END   Insert your table XY to an external database
    START: Clear Connection
        EXEC SQL.
          DISCONNECT 'TEST_FH'
        ENDEXEC.
    END : Clear Connection
    Hope it works
    Best wishes
    Frank

  • What is the best video format for importing into After Effects CS5

    Please look at this video, work in progress.
    http://www.youtube.com/watch?v=49_wbdKALQk
    The opening, featuring a ribbon of videos, was created in After Effects, using Digieffects Freeform.
    The  issue is the poor quality of the videos that are featured in the  opening -- compared to the higher quality of videos from the original Premiere  project., which you can see at the end of the clip.
    To create the After Effects project, I exported a series of video clips from Premiere  to mp4.
    Then I imported them into AfterEffects.
    The bottom line, and the purpose of this question, is I am thinking that  MP4 was not the best choice for the Adobe Premiere export.
    What  is the best format to export video from in Premiere Pro CS5 to import  into after effects, or to import into any other editing program,  incuding importing right back into Adobe Premiere, if that is eever  needed.
    AVI?
    MOV
    MP4
    And any other settings that will result with the highest qualiity videos for importing.
    Thanks

    To follow on with Wade's suggestion...
    There are lots of ways to get movies and projects and other things back and forth between After Effects and Premiere Pro. This page outlines them:
    "Working with Premiere Pro and After Effects"
    If you must render and export a movie out of one application to bring it into another, there is a very basic piece of video workflow advice that you need to keep in mind (which applies to _all_ video software, not just After Effects and Premiere Pro):
    If you're creating a movie to be used in the next step of a post-production pipeline, you _never_ want to use a format that does lossy compression. You either use no compression or (preferable) lossless compression. Examples of codecs that provide lossless compression are the Animation codec and PNG codec at the highest quality settings; these can be used in a QuickTime container, for example. Never compress a movie with lossy compression except at the very end of your pipeline, when you're creating the final movie for distribution.
    MP4 (MPEG-4) is a lossy codec. The quality loss is acceptable for the last stage in the pipeline, but it's not acceptable for an intermediate file.
    It seems that you would benefit from reading this and and working your way through this.

Maybe you are looking for