How to get metadata of Program MObject | Community
Skip to main content
October 29, 2013
Question

How to get metadata of Program MObject

  • October 29, 2013
  • 2 replies
  • 833 views
Hi all,

When upgrading SOAP APIs from 2.0 to 2.2, I find that MObjects enum has a new member 'Program'. And when getMObjects() was called for 'Program', I got the data.
But when describeMObject() is called for 'Program', I get an exception. When listMObject() is called, I can't get 'Program' in the object list, either.
How could I use this MObject? Is the way different with that for 'Opportunity'?

Best Regards,
Biao
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Kenny_Elkington
Adobe Employee
Adobe Employee
October 29, 2013
Hey Biao,

What's the exception that you're receiving for describeMObjects?
October 30, 2013
Hi Kenny,
When calling describeMObject() for 'Program', I get a SoapException with message "Internal error".
And its Detail is :
     <ns1:serviceException xmlns:ns1="http://www.marketo.com/mktows/">
        <name>mktRuntimeException</name>
        <message>Object 'Program' is not mapped to a DB attrib map</message>
        <code>10001</code>
     </ns1:serviceException>
Is there any thing missed?

Thanks and Regards,
Biao