Tuesday, February 28, 2012

ADF:Deleting MDS document


        MDSInstance mdsi =  (MDSInstance)ADFContext.getCurrent().getMDSInstanceAsObject();
        MDSSession mdss = (MDSSession)ADFContext.getCurrent().getMDSSessionAsObject();
        MetadataObject mo;
        try {
            mo = mdss.getMetadataObject("/sessiondef/oracle/apps/atk/ess/MyJobDefintion6AtkEssParamaterViewDef.xml");
            MOReference mr = mo.getReference();
            mdss.deleteMetadataObject(mr);
        } catch (Exception e) {
            e.printStackTrace();
        } 

2 comments:

Anonymous said...

Does your website have a contact page? I'm having trouble locating it but, I'd like to shoot
you an email. I've got some recommendations for your blog you might be interested in hearing. Either way, great blog and I look forward to seeing it improve over time.

Feel free to visit my homepage growxlreview.com

Anonymous said...

Link exchange is nothing else but it is just placing the other person's webpage link on your page at suitable place and other person will also do same in support of you.

Also visit my blog post: ranking kredytów hipotecznych (www.katalogkredytow.pl)