---
category: [Administration & Integrations, Platform and Product Extensions, Platform and Product Extensions/Integration, Administration & Integrations/Custom Integrations & Apps, Platform and Product Extensions/Workday Extend]
keyword: [Extend, Presentation Components, UI components]
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: Site Metadata
layout: subsection
---

## <a id="section_ayx_ddv_32b"></a>Site Metadata (SMD) Example

```
{
"id" : "aCustomApp_acme",
"siteId" : "aCustomApp_acme",
"siteAuth" : {
 "authTypes" : [
   {
     "scheme" : "SSO",
     "id" : "sso"
   }, {
     "scheme" : "NoAuth",
     "id" : "noauth"
   }
 ]
},
"languages" : [
 {
   "code" : "en-US",
   "description" : "English"
 }
]
}
```

## <a id="section_applicationId"></a>applicationId

(Optional) Identifies the app that the site belongs to.

## <a id="section_errorPageConfigurations"></a>errorPageConfigurations

(Optional) Contains declarations for HTTP error codes and their corresponding custom error page.

<table><thead><tr><th>Property</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>statusCode</td><td>string</td><td>Yes</td><td>The HTTP status code that corresponds to the specified error page.</td></tr><tr><td>page</td><td>object</td><td>Yes</td><td>Specifies the id of the error page to invoke when the user encounters the HTTP status code.</td></tr></tbody></table><br/>

The `page` object contains these properties:

<table><thead><tr><th>Property</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>string</td><td>Yes</td><td>The reference id of the custom error page PMD.</td></tr></tbody></table><br/>

Example:

```
"errorPageConfigurations": [
 {
   "statusCode": "401",
   "page": {
     "id": "authError"
   }
 },
 {
   "statusCode": "404",
   "page": {
     "id": "notFoundError"
   }
 },
 {
   "statusCode": "500",
   "page": {
     "id": "internalServerError"
   }
 },
 {
   "statusCode": "503",
   "page": {
   "id" : "serviceUnavailableError"
 }
}
]
```

## <a id="section_headerBackgroundColor"></a>headerBackgroundColor

(Optional) The color of the banner across the top of the pages in the site. Use a hexadecimal color value.

Example:

```
"headerBackgroundColor": "#D3D3D3"
```

## <a id="section_id"></a>id

(Optional) Uniquely identifies this site on the tenant. PMD pages can reference this id using the `<% site.id %>` variable.

## <a id="section_languages"></a>languages

(Required) Contains languages used for:

-   Label translation.
-   To translate date and numeric widget formats to the preferred locale setting in Workday, add the language code for the preferred locale in `languages[]`.


When you create an app, the `languages` array contains the default `en-US` language. Note that `languages[]` can't be empty.

An item in the `languages` array contains these properties:

<table><thead><tr><th>Property</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>code</td><td>string</td><td>Yes</td><td>The ISO language code. See <a href="https://en.wikipedia.org/wiki/Language_localisation#Language_tags_and_codes">Language codes</a>. <p>Example: <code>en-US</code></p></td></tr><tr><td>description</td><td>string</td><td>No</td><td>The language name.</td></tr></tbody></table><br/>

## <a id="section_siteId"></a>siteId

(Required) Uniquely identifies the site metadata of the app. The `siteId` must match the `.smd` filename. A site represents a collection of pages, and displays in the URI path of the page URLs.

## <a id="section_siteAuth"></a>siteAuth

(Required) Contains authentication type declarations used by the PMD endpoints.

<table><thead><tr><th>Property</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>authTypes</td><td>array</td><td>Yes</td><td>Contains authentication schemes that PMDs can use.</td></tr><tr><td>defaultId</td><td>string</td><td>No</td><td>Deprecated. All endpoints use SSO as the default authentication type. Although you can't override the default SSO authentication at the app level, you can specify the <code>authType</code> for each endpoint in the PMD.</td></tr></tbody></table><br/>

An item in the `authTypes` array contains these properties:

<table><thead><tr><th>Property</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>string</td><td>Yes</td><td>The unique id of an authentication type. PMDs reference this authentication type id. <p>For ISU authentication, if you're using multiple ISU users, assign a unique <code>id</code> for each ISU. The ISU auth <code>id</code> must be unique across apps.</p></td></tr><tr><td>scheme</td><td>string</td><td>Yes</td><td>Valid values: <ul><li><code>NoAuth</code>- doesn't require authentication.
</li><li><code>SSO</code>- Workday Single Sign-On authentication.
</li><li><code>OAUTH2</code>- OAuth2 authentication using the authorization code grant type.
</li><li><code>ISU</code>- Simplified ISU authentication.
</li><li><code>WCPISU</code>- Legacy ISU authentication. We recommend<code>ISU</code>instead.
</li><li><code>OAUTH_CLIENT_CREDENTIAL</code>- OAuth2 authentication using the client credentials grant type.
</li><li><code>AWSV4</code>- Amazon Web Services Signature V4 authentication.
</li></ul></td></tr><tr><td>descriptor</td><td>string</td><td>No</td><td>The authentication type description.</td></tr></tbody></table><br/>

See [Declare Authentication Types in the SMD](/wcp_docs/nyw1530545468565.html) and [Define Endpoint Authentication in the PMD](/wcp_docs/yea1530546235609.html).

Example:

```
"siteAuth" : {
 "authTypes" : [
   {
     "id" : "sso",
     "scheme" : "SSO"
   },
   {
     "id": "wdayOauth2Client",
     "scheme": "OAUTH2",
     "source": "WCP",
     "referenceId": "Y2YyYmY2MWYtNDU4NS00YWQwLThjNzEtMDg3ZWJiZGNjNmVl"
   },
   {
     "descriptor": "Google Drive Integration",
     "id": "drive",
     "scheme": "OAUTH2",
     "source": "OMS",
     "referenceId": "NTBhNDg5ZmItZWYxZS00ODA4LWE3MjUtMzVmN2YwODBhZDUz",
     "useProxyServer":"true",
     "providerType":"STANDARD_POST"
   },
   {
     "id": "AWSV4",
     "scheme": "AWSV4",
     "accessKeyId": "ACCESSKEY",
     "secretAccessKey": "SECRETACCESSKEY",
     "awsRegion": "us-east-2",
     "awsService": "dynamodb"
   },
   {  
    "id": "75bced4d78fb10000ee614aed534003a",
    "descriptor": "Seek Client Credential Auth type",
    "source": "CREDSTORE",      
    "scheme": "OAUTH_CLIENT_CREDENTIAL",
    "referenceId": "75bced4d78fb10000ee614aed534003a"
   }
 ]
}
```

## <a id="section_tenantedLabelOverridesEndpoint"></a>tenantedLabelOverridesEndpoint

(Optional) Specifies the label collection on the tenant.

<table><thead><tr><th>Property</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>id</td><td>string</td><td>Yes</td><td>The Workday ID of the label collection on the tenant.</td></tr><tr><td>name</td><td>string</td><td>Yes</td><td>The referenced name of the label collection. This value must always be <code>labelOverride</code>. Don't change this value.</td></tr><tr><td>authType</td><td>string</td><td>Yes</td><td>This value must always be <code>SSO</code>. Don't change this value.</td></tr></tbody></table><br/>

## <a id="section_titles"></a>titles

(Optional) Contains the app title. Presentation Components display the title on all the page headers and on the browser tab. You can have multiple titles, each with a localized title for a specific language.

An item in the `titles` array contains these properties:

<table><thead><tr><th>Property</th><th>Type</th><th>Required</th><th>Description</th></tr></thead><tbody><tr><td>value</td><td>string</td><td>Yes</td><td>The app title.</td></tr><tr><td>languageCode</td><td>string</td><td>Yes</td><td>The ISO language code. Currently only supports the <code>en-US</code> language code.</td></tr></tbody></table><br/>

Example:

```
"titles": [
{
 "value": "Expenses Explorer",
 "languageCode": "en-US"
}
]
```

### Related Information

[Reference: Extend App Metadata](/wcp_docs/btj1547749859781.html)

[Reference: PMD Tags](/wcp_docs/dyg1528862158582.html)

[Reference: Custom Error Pages](/wcp_docs/vfx1525988737823.html)

