title: How to add a custom field to a layout section in SalesForce via the API
body: <p>I am creating a Java API integration tool, that on start up will create a new custom filed if it doesn't exist for Lead &amp; Contact. After a bit of searching I have found how to do this.
  Now the next bit on the list, is to get the newly created field into the "Lead Information" or "Contact Information" layout.</p>
  
  <p>I have looked in the <a href="http://www.salesforce.com/us/developer/docs/api_rest/api_rest.pdf" rel="nofollow">metadata api docs</a> and cannot find an example, either using Java or plain SOAP messages. I have searched online, in most of the forums, and sample code bases I can find, with no success.</p>
  
  <p>So if anyone one is able to supply an example either through Java or SOAP, that would be fantastic.</p>