Need help to import Job Output Collection (Repository.loadOutputCollection)

Hi, ALL.
I have a task to transfer all <BQYJobOutput>-objects (Hyperion workspace objects) from one environment(9.2) to another(9.3.1) using java SDK.
Please help me to solve my problem and load <BQYJobOutput> back into workspase.
I wrote an java apllication, so I did:
1. I exported <BQYJobOutput> object using "saveContentsToZipByteArray" method. Now I have zip-archive on file system with ~32/.../70 files inside per one <BQYJobOutput>.
2. I did "unzip", found proper BQYJob (job), and called:
obj = getRepository().loadOutputCollection(
job, EntityName, CategoryPath, arr_s_files, arr_b_primary
, EntityBrowsable, EntityDesc, arr_s_keywords, pr_autoDelete, pr_expiration
, pr_customProps, pr_exception, arr_s_exceptText, pr_rating);
with
pr_customProps.put("IS_DASHBOARD", "false");
pr_customProps.put("sys_thin_client_view", "true");
arr_s_files is array with all 32 full file pathes inside
arr_b_primary array has "true" only for "primary" files ("false" for other)
As result I got:
- All 32 files in the folder/category.
- New object with type "Output collection" not "Ineractive Reporting Job Output", and an empty content inside.
Also, if you have rich documentaion/help on Repository.loadOutputCollection - please post it with details.
Thank you in advance for any hint!
What I have as part of java sdk:
loadOutputCollection
public com.sqribe.rm.JobOutput loadOutputCollection(com.sqribe.rm.Job job,
java.lang.String name,
java.lang.String path,
java.lang.String[] files,
boolean[] primary,
boolean browsable,
java.lang.String desc,
java.lang.String[] keywords,
boolean autoDelete,
java.util.Date expiration,
java.util.Properties customProps,
boolean exception,
java.lang.String[] exceptText,
com.sqribe.rm.Rating rating)
throws ReportMartException
Load a job output collection in the repository. The newly created collection is associated with the specified job.
Since:
Version 8.0
Thank you, Sergey

There are always various ways to do things.  Any of the following and others will work.
SCOTT@orcl12c> alter session set nls_date_format = 'dy dd-mon-yyyy hh24:mi:ss';
Session altered.
SCOTT@orcl12c> -- 1050 minutes divided by 1440 minutes in the day:
SCOTT@orcl12c> select trunc(SYSDATE)+(1050/1440) from dual;
TRUNC(SYSDATE)+(1050/144
wed 06-nov-2013 17:30:00
1 row selected.
SCOTT@orcl12c> -- 17.5 hours divided by 24 hours in the day:
SCOTT@orcl12c> select trunc(SYSDATE)+(17.5/24) from dual;
TRUNC(SYSDATE)+(17.5/24)
wed 06-nov-2013 17:30:00
1 row selected.
SCOTT@orcl12c> -- 17 hours + 1 half hour:
SCOTT@orcl12c> select trunc(sysdate+1)+17/24+1/48 from dual;
TRUNC(SYSDATE+1)+17/24+1
thu 07-nov-2013 17:30:00
1 row selected.

Similar Messages

  • Need help to import and syncronize HCM pagelets with Interaction Hub, how can I do that?

    Hi,
    I need help to import and synchronize HCM pagelets with Interaction Hub, how can I do that? The default page "Select Remote Content" of the WorkCenter "Unified Navigation WorkCenter" is not working as well, when I run the import/sync button I get the following error message:
    Integration Gateway: General Connection Failed (158,10836)
    This error is thrown when there is no valid response.
    Possible errors include:
    Bad gateway URL
    Sync Service Timeout set and Service actually timed out.
    Java exception thrown - Check Application Server for possible Java exception

    Do you have integration configured between the two systems?  It sounds like you don't from the error.  Here is a walk-through on setting up Unified Navigation although it assumes you have integration already working.  If you haven't done that, it's documented a hundred different places.
    http://remotepsadmins.com/2013/03/04/peoplesoft-unified-navigation-with-peoplesoft-applicatations-portal-interaction-hub/

  • Need help for importing oracle 10G dump into 9i database

    hi, Someone help me to import oracle 10G dump into 9i database. I'm studying oracle . Im using oracle 10G developer suite(downloaded from oracle) and oracle 9i database. I saw some threads tat we can't import the higher version dumps into lower version database. But i'm badly need help for importing the dump...
    or
    someone please tell me the site to download oracle 9i Developer suite as i can't find it in oracle site...

    I didnt testet it to import a dump out of a 10g instance into a 9i instance if this export has been done using a 10g environment.
    But it is possible to perform an export with a 9i environment against a 10g instance.
    I am just testing this with a 9.2.0.8 environment against a 10.2.0.4.0 instance and is working so far.
    The system raises an EXP-00008 / ORA-37002 error after exporting the data segments (exporting post-schema procedural objects and actions).
    I am not sure if it is possible to perform an import to a 9i instance with this dump but maybe worth to give it a try.
    It should potentially be possible to export at least 9i compatible objects/segments with this approach.
    However, I have my doubts if this stunt is supported by oracle ...
    Message was edited by:
    user434854

  • Need help adobe bridge cc output module

    I need help. I have an assignment I'm held up on completing because the adobe cc bridge does not have the output modue I need. I followed the adobe instructions page to the letter. I copied and pasted the output module folder to the adobe bridge cc extensions folder in programs/commonfiles/adobe. The only thing is the instructions then say to paste the workspace file into the workspace folder located below the bridge extensions folder. I don't have a workspaces folder there or anywhere. I even tried must making one and adding the file to it, but no go. can someone PLEASE help me with this?    I have an assignment due like now that requires the use of the output modue.thanks!

    oh,my system is windows 8.1. sorry, lol.

  • Need help on import from external drive!

    I just imported several thousand pictures from an external drive into iphoto 08--unfortunately all photos are listed as one big event--I am now a little confused as to what to do next---I would like them to be imported in the original files (years) if possible...thanks for the help!

    In iPhoto preferences (iPhoto menu ==> Preferences ==> events) under AutoSplit events you need to check "Imported items from finder" before you import
    Probably the best thing to do *IF THE ONLY THING IN YOUR LIBRARY* is this import is to trash the iPhoto Library from your pictures folder, verify your preference settings and reimport
    LN
    Message was edited by: LarryHN

  • Need help with Importing These Kinds of Excel Data Sheets

    hy there, Can someone Assist me with this.
    I got a package in SSIS. where I need to import Excel data sheets.
    Those sheets are coming from Cube.
    And So their format is bit different
    Kindly help me how to import those With DATA FLOW TASK.
    And ,
    As you can see Excel sheets got Filter on their Columns.
    So I am Getting much often Errors in importing those sheets Via DATA FLOW TASK.
    Thanks In Advance.
    # Note.
    I can not Edit each Excel File Before running packages.
    Packages are automated.
    And also the sheets are automated, they get store in the FTP on a cyclic job.
    So Have to Do it on PAckage level

    You cannot hit a moving target, your data quality is at risk, too. Even if a package succeeded there is still a degree of suspect whether the data ended in the right place.
    You can create a helper program that checks for data integrity, e.g. a series of SQL queries can be executed against the source to pinpoint what metadata shape the Excel arrived in. Then branch the package flow based on one or the other variant (there will
    be only a handful). The branching can be done by using Precedence Constraints. Hey, but see what I say about above.
    Arthur My Blog
    Okay than I must do it differently. OR get the source in a better and secured manner.

  • Noob needs help using/managing large font collection in os10

    Hope this is the correct forum for this question. I'm a os10 noob starting at a new, small startup design-oriented biz (6-7 macs) that needs to manage fonts - 100s, over a 1000. Other places I've worked used Font Reserve and I'm familiar with that program but I never knew if it came with os10 or you had to go buy it, and if you needed to buy a separate copy for each computer?
    I'm trying to help get this biz set-up, but I know NOTHING about font usage/set-up in os10. I've always used ATM Deluxe4.6 (os9) and have over 2000 fonts nicely arranged in sets (took me an entire day, way back when). Would love to transfer these arranged sets into os10, if possible.
    Is there a built-in font mgmt in os10? Is it any good for large collections? Is Font Reserve a good program for large font collections?
    I don't even know where os10 stores fonts or the right questions to ask. Pls point me in the right direction!
    TIA

    Fontbook is ok for dealing with a handful of fonts on an occasional basis, but for pro design work you should run, don't walk, to: http://www.linotype.com/fontexplorerX/
    FontExplorerX beats the pants of any other font management tool I've used on the mac after many years of ATM, Suitcase & Font Agent Pro. FEX looks and feels like an "iTunes for Fonts" - it's fast, stable, clean and simple to use and best of all for a small biz (like me) - it's FREE! :O

  • I need help with Importing songs into Creative organizer please help!

    OK now i have a bunch of music files in my documents that all have MPEG4 with the itunes music symbol next to them. My problem is when i try to add them to my Windows media player nothing happens also when i search for the files in the Creative Import Wizard nothing shows up! Do i first need to put all the music i want on my ZVM im Windows Media Player first then add it's or is it something else? do i need to get rid of itunes entirely and just have the music files in my documents? Im really really confused please help!!!!!! Also No tracks show up when i try to add them to Windows Media Player or Creative MediaSource5 even though when i know i put them there
    P.S. What do u guys do ( I mean people with Zen Vison M's) Any know of any guides too? that would be great!Message Edited by Chrismic3 on 03-9-200705:54 PM
    Message Edited by Chrismic3 on 03-9-200706:00 PM

    bump

  • Need help in Importing User, Shared and Journals into Exchange

    Hi,
    I have been tasked with the following imports into EX07 and EX10 following an acquisition:
    Shared MB 12 GB, corrupt pre-nov 2013 archives of users 30GB, shared sent items 4GB, users sent items 80GB. All in .pst format.
    4-8TB of journal data to be imported into Enterprise Vault 2010 with EX2010 (in .pst format)
    I'm looking for the best approach to get these imports done. Also, need to compile an assessment done on the time and performance ramifications of running these imports into EX as other migrations are currently on. Do I need to parallel run perfmon with
    EX counters to monitor while import is running in the background?
    Is it a good idea to run import of journal into Enterprise Vault of 4-8 TB data in .pst format in one go?
    Thank you for your comments...
    TY
    - thestriver

    Hi,
    In addition to Rajith's suggestion, I would like to verify the following things:
    In Exchange 2007, you can use the Import-Mailbox cmdlet to import all messages types, including messages, calendar items, contacts, distribution lists, journal entries and so on. Here is an example of importing the mailbox data from the amy.pst file that
    is in the Sent Items folder:
    Import-Mailbox -Identity amy -PSTFolderPath C:\PSTFiles\amy.pst -IncludeFolders '\Sent Items'
    In Exchange 2010, you need to use the New-MailboxImportRequest cmdlet.
    For more information, here is a thread for your reference.
    New-MailboxImportRequest
    http://technet.microsoft.com/en-us/library/ff607310(v=exchg.141).aspx
    Hope it helps.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

  • Help with importing huge photo collection

    Hello,
    my brther switched to Mac and want to use iPhoto. His pohoto collection is about 40GB and many, many folders and subfolders. The structure of the folders and subfolders are like this example:
    -X-mas     ->2009
                   ->2010
                   ->2011
    Moto-trip  ->Germany 2008 -> My photos
                                            -> Toms photos
                                            -> Mikes photos
                   ->Switzerland 2009     -> My photos
                                                    -> Brothers photos
    etc...
    Is there some possibility (maybe some script or 3rd app) of how to import all this pictures and for example automaticaly create Albums with subfolders in iPhoto?
    Importing each subfolder would take days...
    Any idea?
    P.S.: He uses Mountain Lion and the latest iPhoto.

    The structure you outline here is one for Files and not Photos. Using that structure in iPhoto is a bit pointless as it remains as limited in iPhoto as it is in the Finder.
    iPhoto offers much more varied organisational opportunities, leveraging data that the file browser doesn't even know about - such as Exif and IPTC.
    For Instance: anything date-based is done automatically based on the date and time of the Exif metadata in the Photos. So, Events are made this way, automatically. You can search by date using Smart Albums or the Calendar search in the search box: Therefore can easily find all the photos from any specific day, month, year, or in any time range using one of these tools.
    If, in the example above, Tom and Mike have different cameras, then again you can sort these from each others with a simple Smart Album.
    Next: Albums hold Photos. There is no such thing as a subfolder in Albums. You can have Folders. They can contain Albums nested Folders, which can also contain Albums.
    As for importing  folder tree: there's some stuff here that might help
    http://www.macworld.com/article/1139658/iphotoimport.html
    but I don't believe that there is any way to create a folder and move an Album into it.
    Regards
    TD

  • Need help in Import format

    Hi Guys,
    I have a requirement where if the Account field carried a value "100" only then Cost Center will appear. but all the Res.Pvartemp1 to 5 are used in for different purpose
    20101117 IMP Value 100 AB12CD 243.34
    20101117 IMP Value 200 142.00
    20101117 IMP Value 300 1234 100.00
    20101117 IMP Value 100 AB12ED 540.00
    The record looks like above, where AB12DC and AB12ED are the cost centers that I need to pick when the account is 100.
    Can you help if all the Res.Pvartemp variable are already in use, how to do it?
    Thank you

    Darrel Plant has written an importer for .ai and .eps files.
    You can get
    it at:
    http://www.moshplant.com/direct-or/ps2vs/
    Haven't used it for a while but it works pretty good.
    Downside is that it creates multiple members because Director
    can't
    (couldn't?) handle multiple-line vector members.
    Dsotm wrote:
    > I am trying this topic again in the hope of help. I need
    to import drawings in
    > a vector format for printing. These drawings will be
    cast members not sprites.
    > I have tried printing a swf version via Printomatic but
    it cannot print Flash
    > members. My questions are:
    > 1. Is therre any way to print a swf cast member (not a
    sprite)
    > 2. How can I import an EPS file? - I have heard that it
    can be done but every
    > version I have tried seems to fail
    >
    Manno Bult
    [email protected]

  • Need Help in importing data through HTTP post by using OAF

    Hello Everyone,
    I have one requirement of importing data from Job Posting page of iRecruitment into other application or into other file like csv/xml/txt through HTTP post by using Oracle Application Framework.
    Please help me out in the same if anyone know about how to achieve this kind of requirement.
    Help is highly appreciated.
    Thanks,
    Arvind
    Edited by: user636850 on Sep 18, 2009 5:35 AM

    Hi Gaurav,
    Thanks for your reply. I know about export button but my requirement is to import data into other web based application through HTTP post.
    Thanks,
    Arvind

  • Need help--cannot import hotel.dmp into chinese characterset server

    I'm from china.Because my oracle8i use
    chinese characterset, so I cannot import
    this file into my oracle.
    Has anybody can help me?
    Thanks you very much!!

    I seem to recall that SQL*Loader was capable of doing these kinds of language translations for you. You needed to account for machine language, character set, and datatype all of which could be manipulated either via FTP parameters when a file was transferred (tell ftp not to convert between machine languages, tell sqlloader the machine language being used, tell it the character set, etc.) I found examples of this by scouring the internet for sqlloader examples, but unfortunately I no long have then handy.
    Good luck.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by potian:
    I'm from china.Because my oracle8i use
    chinese characterset, so I cannot import
    this file into my oracle.
    Has anybody can help me?
    Thanks you very much!!<HR></BLOCKQUOTE>
    null

  • Need help with the text output here... kinda a newbie..

    Alright the problem I am having is with the output of this program. It does not appear to calculate the mortgage formula correctly and outputs some other data that does not make any sense. here is the code. Any help on this matter would be great!!
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class Calculator extends JFrame implements ActionListener {
    private JPanel panelAdder;
    private JLabel labela;
    private JLabel labelt;
    private JLabel labelr;
    private JTextField textFieldAmount;
    private JTextField textFieldTerm;
    private JTextField textFieldRate;
    private JTextField textFieldResult;
    private JButton buttonCalc;
    public Calculator() {
      initComponents();
      setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      setVisible(true);
      pack();
      // Add Listeners
      buttonCalc.addActionListener(this);
    public void initComponents() {
    //Initialize Components
    panelAdder = new JPanel();
    labela = new JLabel("Amount");
    textFieldAmount = new JTextField();
    labelt = new JLabel("Term");
    textFieldTerm = new JTextField();
    labelr = new JLabel("Rate");
    textFieldRate = new JTextField();
    textFieldResult = new JTextField();
    buttonCalc = new JButton("Calculate");
    //Set Object Attributes
    textFieldResult.setEditable(false);
    textFieldResult.setColumns(8);
    textFieldAmount.setColumns(6);
    textFieldTerm.setColumns(2);
    textFieldRate.setColumns(2);
    Container contentPane = getContentPane();
    contentPane.setLayout(new FlowLayout());
    //Lets add the components to the panel
    panelAdder.add(labela);
    panelAdder.add(textFieldAmount);
    panelAdder.add(labelt);
    panelAdder.add(textFieldTerm);
    panelAdder.add(labelr);
    panelAdder.add(textFieldRate);
    panelAdder.add(buttonCalc);
    panelAdder.add(textFieldResult);
    contentPane.add(panelAdder);
    public static void main(String[] args) {
      Calculator frame = new Calculator();
    private void setResultValue() {
       double amount = Double.parseDouble(textFieldAmount.getText());
       double term = Integer.parseInt(textFieldTerm.getText());
       double rate = Double.parseDouble(textFieldRate.getText()) / 100.;
       //double result = amount * ( rate * Math.pow ( ( 1 + rate ), term ) ) / ( Math.pow( ( 1 + rate ), term ) - 1 );
       double result = (amount*((rate/12)/(1-Math.pow((1+(rate/12)),-(term*12)))));
       textFieldResult.setText(Double.toString(result));
    public void actionPerformed(ActionEvent event) {
      System.out.println("Action Button");
      String command = event.getActionCommand();
      if (command == "Calculate") {
          setResultValue();
    }

    Alright the problem I am having is with the output of
    this program. It does not appear to calculate the
    mortgage formula correctly and outputs some other
    data that does not make any sense. here is the code.
    Any help on this matter would be great!!First of all, what is the mortgage formula?

  • Need help regarding import !!

    Hi
    I am a sort of new to DBA activities. Have done one refresh till now for refreshing a schema in one DB to another DB.
    I have a job to refresh a schema S in D1 with S in D2. But S doesn't exist in D2. I Need to import only 5 given tables.
    1) I understand I first need to create user S in D2 using CREATE USER command as sys. Then I should import S from D1 to D2 using TABLES clause. Am I correct ?
    2) I need to know what privileges do I need to give S in D2 for it to function well for basic DB operations. Like I know it will have privileges on 5 tables added, but is there anything else to be taken care of ?
    Thanks.

    1) I understand I first need to create user S in D2 using CREATE USER command as sys. Then I should import S from D1 to D2 using TABLES clause. Am I correct ?yes this true , and in import option you could use :
    -if you are using imp : fromuser = touser = option
    -if you are using impdp : you have to use remap_schema option
    2) I need to know what privileges do I need to give S in D2 for it to function well for basic DB operations. Like I know it will have privileges on 5 tables added, but is there anything else to be taken care of ?You can check D1 user privileges before start import to know what priv you should give it by using :
    set heading off
    set pages 0
    set long 9999999
    select dbms_metadata.get_granted_ddl('ROLE_GRANT', user) 
    from dual;
    select dbms_metadata.get_granted_ddl('SYSTEM_GRANT', user) 
    from dual;
    select dbms_metadata.get_granted_ddl('OBJECT_GRANT', user) 
    from dual;

Maybe you are looking for

  • USB network stick in iMac g4?

    Can I use my Belkin High-speed Mode Wireless G USB Network Adapter in my iMac g4? And how do I configure it?

  • Taxes in pricing procedure

    Hello friends, My client requirement is in invoice he wants to see taxes seperately .for example total line items value is 10,000.00 On this amount he wants to see VAT , TOT , service tax, octroi tax seperately. suppose total amount of all line items

  • Spry Tabbed Panels Help

    Greetings everyone: I had an existing Spry tabbed panel with three tabs. I then added a fourth tab and used the up arrow to move it to the number one slot. It displays properly as far as the tab goes, but when the page loads the original number one t

  • Question re: ADOC table

    Hi Experts, There is a field called updatedate in the ADOC table. Is there a field which stores the update time?  I cannot see one. Thanks Greig

  • Ive not used my mac in a while and have completely forgotten my password. How do I log in?

    I need to get back on my mac as I have been using a company PC for a while . However i have completly forgotten what my password is and so cannot log on. Cna anyone give the idiot guide to getting round this. Thanks CJ