Hyperion Financial Reporting Products (MOSC)

MOSC Banner

Updating SQR include files using API calls

edited Jan 29, 2017 4:00AM in Hyperion Financial Reporting Products (MOSC) 2 commentsAnswered

Has anyone had any success updating an SQR Job to setup/amend it's include files using API provided by Oracle.

I have a Java class that performs, basically I copied items out of SDK sample addDocument.

SQRJob sqrj = repository.getSQRJob('/mysqrfiles/mysqr1.sqr');

sqrj.setDescription('whatever')

sqrj.setIncludeFiles(new DataObject(0));   // remove current include files

sqrj.update();

Now I would like to add new include files but I cannot seem to find a good example on how to achieve this.

I tried

DataObject obj1 = (DataObject)repository.getObjectbyPath('/myincludes/includefile1.inc');

sqrj.setIncludeFiles(obj1);

This fails.

Any help approeiated as Oracle support will not assist as they state API is not covered by Customer Support Service.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center