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> TypesRoleFieldsFielddescriptiondisableProtocolSecurityField TypestringbooleanDescriptionThe description explaining what this remote site setting isused for.Required. Indicates whether code within <strong>Database</strong>.<strong>com</strong> canaccess the remote site regardless of whether the user'sconnection is over HTTP or HTTPS (true) or not(false). When true, code within <strong>Database</strong>.<strong>com</strong> can passdata from an HTTPS session to an HTTP session, and viceversa.Warning: Only set to true if you understand thesecurity implications.fullNameisActiveurlstringbooleanstringThe name can only contain characters, letters, and theunderscore (_) character, must start with a letter, and cannotend with an underscore or contain two consecutiveunderscore characters.Inherited from the <strong>Metadata</strong> <strong>com</strong>ponent, this field is notdefined in the WSDL for this <strong>com</strong>ponent. It must bespecified when creating, updating, or deleting. Seecreate() to see an example of this field specified for acall.Required. Indicates if the remote site setting is active (true)or not (false).Required. The URL for the remote site.Declarative <strong>Metadata</strong> Sample DefinitionA sample XML definition of a remote site setting is shown below.Used for Apex callout to mapping web servicefalsetruehttps://www.maptestsite.net/mapping1RoleRepresents a role in your organization.Declarative <strong>Metadata</strong> File Suffix and Directory LocationThe file suffix for role <strong>com</strong>ponents is .role and <strong>com</strong>ponents are stored in the roles directory of the corresponding packagedirectory.VersionRole <strong>com</strong>ponents are available in <strong>API</strong> version 24.0 and later.143

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

Saved successfully!

Ooh no, something went wrong!