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
Frank_LopezFrank_Lopez 

XML-RPC to SOAP migration question(s)

Using XML-RPC v2.0, when I describe an object type, I would also get layout information.  And for each object type, there is one layout with the name "default".
 
Using the SOAP v7 API, what do I need to do to determine the same default layout information for each object type?
 
DevAngelDevAngel
You will need to use the describeLayout call.  This will return all both a detail and edit layout for the object. 
Frank_LopezFrank_Lopez
For those objects, there are no layouts called "default".
 
Do the XML-RPC layouts with the name "default" directly map to the "Master" record type layout objects in the SOAP v7.0 API?

If so, then I can look it up using the values in recordTypeMappings.
 
DevAngelDevAngel
I think you are correct.  If you have record types you will need to select the desired record type.
SimplySfdcSimplySfdc

Hi,

Anyone implement have describe layout to design layout using describelayout methods? And can you please share some codes about it, I have take a look on sforce API doc, but this sample is too simple which is only to display label and field name in console. Thanks.

sq

SimplySfdcSimplySfdc
and do I have to use XSLT to implement this?
SuperfellSuperfell
I think the ASP.NET samples includes something that renders a layout from the describeLayout call.
SimplySfdcSimplySfdc
Hi Simon,
May I know how to get this sample? Thanks.
sq
SuperfellSuperfell