Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Retrieving Model's metadata using OdiRef

981118Mar 14 2013 — edited Mar 14 2013
Folks,

Does anyone knows how to get the "resource name" from a file type model, using odiRef?

Let me be more specific: in a interface, when mapping a value to a target column, I have to insert the file name of a model's resource name. Have to note that the interface's target model is not the same model from which the resource name is being sought.

The idea here is not harcoding strings in a mapping. Instead, take the string from a model's metadata.

I've looked the "Introduction to the Substitution API" (http://docs.oracle.com/cd/E25178_01/integrate.1111/e12645/api_intro.htm) and the "A.2.33 getModel() Method" (http://docs.oracle.com/cd/E25178_01/integrate.1111/e12645/odiref_reference.htm#CIAJGCDG) but none of them gave me clues. Worse, the getModel() method refers to the current model that's being worked on, not an arbitrary model.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 11 2013
Added on Mar 14 2013
2 comments
231 views