Unable to copy properties of the program

Hi All,
Actually, i am working on a code that copies reports or programs or lets say any obects.All this in CMC.
For suppose if we have some reports and Programs in the public folders. Then what my code does is it copies reports and programs into the other folder(Lets say Destiantion)
The thing is if any properties are changed for the reports that will be also copied into destination for that specific report. But where as if any properties are changed for the program..that is not being copied into destination. I could'nt find any thing related to properties in add program method in tha SDK...for report it is there regarding properties.
So anyone can help me out in solving this issue.
Thanks.

My sample code
IInfoObjects programObj1s = this.getChildrenForParentFolder(infoStore, modFolderId, "Program");
               if(programObj1s.size() > 0){
               for (int i = 0; i < programObj1s.size(); i++) {
                       IProgram progObject = (IProgram)programObj1s.get(i);
                       System.out.println("Program name to be modified : " + progObject.getTitle());
                        IInfoObjects iChildProgObjects = infoStore.query("SELECT * FROM "
                                   + "CI_INFOOBJECTS "
                                   + "Where SI_KIND='Program'"
                                   + " AND SI_NAME='"+ progObject.getTitle() + "'"
                                   + " AND SI_PARENTID=" + destProgFolderId);                      
                        if(iChildProgObjects.size() > 0){
                             IProgram modProg = (IProgram)iChildProgObjects.get(0);
                             iChildProgObjects.delete(modProg);
                             infoStore.commit (iChildProgObjects);
                             int progId = this.addProgram(infoStore, modProg.getTitle(), modProg.getProgramType(), destProgFolderId);
                             //cmcMain.addToDeletedReportList(delReport.getTitle());
                             //System.out.println("Deleted report is " + delReport.getTitle());
                        } else{
                             System.out.println(progObject.getTitle() + " cannot be located");

Similar Messages

  • Please advise how I can register my Photoshop Starter Edition when I apply I do not receive an unlock code so I am unable to continue to use the program and all my photos are locked in, please advise, thanks John

    Please advise how I can register my Photoshop Starter Edition when I apply I do not receive an unlock code so I am unable to continue to use the program and all my photos are locked in, please advise, thanks John

    Please refer to the appropriate Forum, this one is dedicated to Photoshop proper.
    Photoshop Album Starter Edition

  • I want to copy films but the program freezes

    I want to copy my films in iTunes to my Apple iPhone but allready when I klick on the button the whole program freezes and goes down.
    Help me please.

    Use the alt key to create a copy of an Arrange section by dragging it.

  • 11.1.1.5 - Unable to copy XML to the clipboard

    Could someone do a quick check in 11.1.1.5 and see if you're experiencing this? Click the Catalog link on the common header. Click the More icon for any analysis or KPI. Click Copy. The XML should be on the clipboard, right?
    Now try to paste into a text editor. For me, nothing happens.

    Hi,
    Did you refreshed GUID after applied obiee11.1.1.16.8BP?
    Bug Ref: (catalog might be corrupted) also refer oracle bug info..
    12779543 DASHBOARD ERROR CATALOG OBJECT SCHEMA VALIDATION FAILED AGFIXBO2:EIRWWH9E
    12427582 10G->11G UPGRADE: CATALOG OBJECT SCHEMA VALIDATION FAILED : AGFIXBO2:EIRWWH9E
    Thanks
    Deva

  • Unable to open files or the program with having to switch users.... Why?

    Updated to 10.5.6 now when i try to open any filemaker files or the filemaker program it starts to open and closes in a split second. If i log out and open as new user it will open.
    I have deleted and reinstalled filemaker and this did not solve the issue. All my other programs & files open without issues. Why is this?

    If it works in a new user account, then there's a probability you have a bad preference file. Look for FM's preference files in /Home/Library/Preferences/ then drag them to your Desktop. If FM now works that was the problem. Delete the preference files now on the Desktop. If this didn't solve the problem, let us know.

  • Unable to copy and paste code or text in the post

    hi
     i am unable to copy or paste the code or text from my notepad/word to this editor when i am trying post questions  etc.
    is this feature blocked my MS ?
    If i add a html code windows , i am able to paste the  code and text. can anyone pls confirm why they have removed copy-paste operations from the normal window

    Did you try to paste by right-clicking or by typing Ctrl + V ?
    Sometimes the former doesn't work but the latter works.  -- My own experience.
    Alexis Zhang
    http://mvp.support.microsoft.com/profile/jie
    http://blogs.itecn.net/blogs/alexis
    | i am unable to copy or paste the code or text from my notepad/word to this editor when i am trying post questions etc.

  • Why do I get a "ITunes can't copy music to the IPad?

    ITunes stopped copying songs to my IPad 1. I'm upgraded to the most recent IOs 5 version, but when I try to copy my music from ITunes (on a Windows laptop) to my IPad it wont work. I get an error message that says  "ITunes is unable to copy music to ___'s IPad because ITunes is unable to copy music to the IPad. This is a first, I've always been able to transfer my ITunes library to my IPad. I'm not just talking about music Ive copied to ITunes from CD's, it won't copy any of the songs I've purchased through ITunes.
    I do have some music on my IPad from ITunes but it wont allow me to add additional music.
    Thanks

    You can try deleting all of the music and then sync it back to the iPad.
    Uncheck the Sync Music heading in iTunes and then sync the iPad to remove the music. Quit iTunes, and then connect the iPad again, launch iTunes and select the Sync Music heading again to sync the Music back to the iPad.

  • I am unable to copy images from pdfs

    I have Reader 8 and a trial Acrobat 9 running in Vista. I have set General Preferences to have the select tool choose images over text. When I try to copy a chart or graph I am only able to highlight and copy text. The program does not show the table select box described in help.
    Help, please.

    Do you use SP1 Vista?
    h
    e
    l
    l
    o

  • Error when trying to preview on device : unable to copy files to device

    I have  an error with the device preview function.
    Everything is installed and has worked 2-3 times, but painfully.
    An error is often displayed and says unable to copy files to the device.
    What is the problem?
    Have you this error?

    Are you using this function without problem ?
    Is your custom viewer built with developper or enterprise certificate ?

  • Unable to copy to clients with ARD 3.8

    Our school is unable to using ARD 3.8 with all clients running on Mavericks 10.9.5 with all updates.
    While using Spotlight search we find files, but are unable to copy them to the admin machine.
    The scenario is this:
    - I search for files on users desktop "/Users/student/Desktop/" using the Spotlight feature
    - Look for mp3 audio files
    - Select all results and press "Copy To This Computer."
    - Select Desktop as my destination and start to copy the files
    Problem:
    The first file will copy fast, but the second will stall sat 0%.
    After a about 1 minute timeout the second file fails.
    The third file copies as fast as the first.
    The fourth file stalls again at 0%.
    After a about 1 minute timeout the second file fails.
    This pattern repeats.
    Tried these fixes:
    - Updating Maverick host and client with all available updates.
    - Update Apple Remote Desktop from 3.7 -> 3.8
    - Deleted associated preferences with ARD database
    - Opening com.apple.RemoteDesktop.plist and replacing all hostname with ignorehostname,etc., via recommendation from community poster (Bryan).
    Question:
    Is anyone else having problems with this? Copying files from admin machine with ARD to clients also exhibits this problem.
    Appreciate your help friends.
    Take care,
    -Steve

    I would use an alternate scheme.
    Duplicate the document and delete what must not appear in the LogBook.
    Yvan KOENIG (VALLAURIS, France) lundi 17 octobre 2011 18:59:00
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Unable to use the Copy function while submitting the program for XML output

    Hi
    when i submit the concurrent program with XML output type, getting the output..
    when i submit he concurrent program using the copy button not able to get the output,
    my observation
    while submitting the program the xml template is not called....
    Diagnostics--> view xml -- able to view the ouput.
    do let me know if any of the steps is missing while registration in the xml responsibility..
    this is only with the custom conc program.. the standard program is working fine...
    do help me out..
    Regards
    Yram

    It's really a little difficult to answer your question without a bit more information. What version of JDeveloper are you using? What's your technology stack?
    If this is JDeveloper 11+g+, with the Fusion technology stack, you can use a technique like the one described here:
    http://groundside.com/blog/GrantRonald.php?title=jdeveloper_11_business_services_cascadin&more=1&c=1&tb=1&pb=1
    If it's JDeveloper 10.1.3, with the default Web technology stack, look here:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#62
    If, as it looks like, this is really a question about generic JSPs (no JSF), you might actually have a bit more success on a generic JSP forum--using scriptlets hasn't really been best practices within JDev since...well, since JSTL became available, really. That was a number of years ago.
    Like I said, there's really no direct way to use Javascript output in a scriptlet--unless you mean something like storing Javascript output in a hidden field, and using the value in a scriptlet on the next request. But by the time Javascript runs, any scriptlet from the current request will already have executed.

  • I am unable to open my Photoshop program after installing the entire Creative Suite: Premium Production 6. All other programs work, but with Photoshop it says that the program is "locked or in use by another user". I need this fixed immediately.

    I am unable to open my Photoshop program after installing the entire Creative Suite: Premium Production 6. All other programs work, but with Photoshop it says that it "Could not open a scratch file because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock the file." Then I select "OK" and the next message comes up "Could not initialize Photoshop because the file is locked, you do not have the necessary permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock this file. I installed all of the programs on the same day from a CD. I need this fixed immediately.
    I am not interested in switching to Creative Cloud, so don't even suggest it. I spoke to Mashmi (or something to that effect) on the "Support" Chat and there was absolutely no support. Useless actually.
    Thanks in advance.

    Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
    Mylenium

  • I imported a video I make in another program and I played it back in the video editor and I like the pan and zoom that was added by the program how do I save a copy with the effect of Premiere elements 12

    I imported a video I make in movie maker program and I played it back in the premiere video editor and I like the pan and zoom that was added by the program how do I save a copy with the effect of Premiere elements 12
    all I did was played it back how do I save that and make a new version of the video beacause when I save a copy the effect look I was trying to save was not there.
    Rodney
    [personal information removed... Mod - https://forums.adobe.com/docs/DOC-3731]
    [This is an open forum, not Adobe support, please do not post personal information]
    [If you are posting using email, please turn your 'sig file' function OFF for posting]

    silkman1
    I would be glad for the opportunity to customize a Premiere Elements 12 answer to your Premiere Elements 12 issue.
    But, I want to make sure that we are together on the details. This is my understanding of what you have written. Please review and let me
    know if I am misinterpreting anything that you have written.
    You have a video created in Windows Movie Maker.
    How did you output the video from Windows Movie Maker...wmv or mp4, what was the frame size and frame rate of that export?
    Next you import that video into Premiere Elements 12 (can we assume that this is on Windows 7, 8, or 8.1 64 bit?)
    From what you wrote, you have applied a pan and zoom effect to your video in Premiere Elements.
    Now you go to export the Premiere Elements 12 Timeline content with your video with the pan and zoom applied.
    But, the pan and zoom effect is not seen in playback of the export.
    Is all of the above correct so far?
    If so....we are going to need some more details from you...
    a. What is the project preset that you or the project are setting to match the properties of the video coming from Movie maker? See Edit Menu/Project Settings/General and the readings for Editing Mode, Timebase, Frame Rate, and Pixel Aspect Ratio even if the fields look grayed out.
    b. Are you applying the pan and zoom effect with the Pan and Zoom Tool, fx Effects Presets, or keyframing the Scale (for Zoom) and
    Position (for Pan) in the Motion Panel expanded?
    c. What are you selecting as your export in Publish+Share/. Please give details...are you using default settings or customizing the export
    setting under the Advanced Button/Video Tab and Audio Tab of the preset selected?
    I am suspecting some sort of mismatch of your project settings or some problems with working with the Pan and Zoom tool. I need
    your answers to help me help you. If I have written anything that you do not understand, please let me know. I will re-write if necessary
    so that we are in sync to resolve the issue.
    Thanks.
    ATR

  • Unable to download iTunes on my second windows computer (64 bit). I got it fine on my first one. After downloading the program and installing it, I keep getting an error message:Apple Mobile Device Failed to Start. This happens wven when my IPhone 5c is t

    I am unable to download iTunes on my second Windows 8 computer (64 bit). I got it fine on my first one and have used it quite a bit. After downloading the program and installing it on the second computer, I keep getting this error message: "Apple Mobile Device Failed to Start." This happens when when my IPhone 5c is connected via Wi-Fi and I have clicked on "Trust This Computer." (I have tried to install several times-- It gets hung up when it reaches"Starting Services.")

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • Acrobat sdk, not able to run samples, getting a message, unable to start the program

    Hi,
    I have downloaded Acrobat sdk XI and tried to run plugin samples  in visual studio 2010, It is build successfully but when I try to run the program am getting an error message saying " Unable to start  Program 'C:\Users\downloads\sdk110_VI_win\Adobe\acrobatXISdk\Version1\Plugin Support\samples\BasicPlugin\Win32\Debug\BasicPlugin.api'."
    Can anybody help me finding out why am getting this message.
    Thanks.

    How do you run the program?
    I need to copy the compiled BasicPlugin.api under Acrobat\plug_ins folder. I can create a subfolder of plug_ins and copy the .api file there. Just one level deep: if I create a subfolder under a subfolder of plug_ins, the .api file will not be found by Acrobat.
    Then I need to restart Acrobat and I find the plugin running. In particular, BasicPlugin add a new Acrobat SDK menu and a menu item under it.
    If I close Acrobat and go back to Visual Studio, I can push the Debug button which will open Acrobat for me and stop the program execution at any breakpoints I have set in the code.

Maybe you are looking for