12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Metadata</strong> TypesInstalledPackageInstalledPackageRepresents a package to be installed or uninstalled. Deploying a newer version of a currently installed package upgrades thepackage.Note: You can’t deploy a package along with other metadata types. Hence, InstalledPackage must be the onlymetadata type specified in the manifest file.File Suffix and Directory LocationThe package is specified in the installedPackages directory, in a file named after the package’s namespace prefix. Thefile extension is .installedPackage.VersionInstalledPackage is available in <strong>API</strong> version 28.0 and later.FieldsField NameversionNumberpasswordField TypestringstringDescriptionThe version number of the package. This has the formatmajorNumber.minorNumber.patchNumber (for example, 2.1.3).An optional field specifying the package password.Declarative <strong>Metadata</strong> Sample DefinitionThis specifies a sample package to be installed or uninstalled.1.0optional_passwordLayoutRepresents the metadata associated with a page layout. For more information, see “Managing Page Layouts” in the <strong>Database</strong>.<strong>com</strong>online help. It extends the <strong>Metadata</strong> metadata type and inherits its fullName field.Note: If you want to edit the Ideas layout, you must specify it by name in the package.xml file. In package.xml,use the following code to retrieve the Ideas layout:Idea-Idea LayoutLayoutFile Suffix and Directory LocationLayouts are stored in the layouts directory of the corresponding package directory. The extension is .layout.112

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!