> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# validateLoadedPublisherEntityV2()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/publisher/v2/validation.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Validates a document, document template or page template as loaded from the backend. It reads what [validatePublisherEntityV2()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.validatepublisherentityv2/index.md) would not save but the backend stores: an empty title, and an id starting with `default.`. Everything else is checked as for a save.

**Signature:**

```typescript
export declare function validateLoadedPublisherEntityV2(entity: unknown): IPublisherValidationIssueV2[];
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| entity | unknown |  |

**Returns:**

[IPublisherValidationIssueV2](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ipublishervalidationissuev2/index.md)[]
