function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DharmendraDharmendra 

describeLayout method of partner api returns exception "The specified type was not recognized: name='VisualforcePage', namespace='urn:partner.soap.sforce.com', at layout."


Hi,

I'm using partner api to identify the custom fields available in event page layout.
For almost all Salesforce accounts its working fine except for one which I encountered and it return the exception as below:

There is an error in XML document (1, 11638).

"The specified type was not recognized: name='VisualforcePage', namespace='urn:partner.soap.sforce.com', at layout."

The issue occurring because of visual force page to write notes after the event exists in that account. Once it has been removed then its working fine.

Please suggest, to resolve the issue without removing this visual force page.
 
CongnizentCongnizent
Try 'ApexPage'
DharmendraDharmendra
Hi

Thanks @Congnizent for reply, but can you please elaborate more on this as I'm not clear with it. 
DharmendraDharmendra
Hi

Besides this is there any other way to get the list of fields of event page layout or identify if some fields are exist on event page layout using api call.
Please sugggest.