# Workshop Item Data Create Status

{% hint style="success" %}

#### Like what your seeing?

Support us as a [GitHub Sponsor](/old-kb/where-to-buy/become-a-sponsor.md) and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.\
\
These articles are made possible by our [GitHub Sponsors](/old-kb/where-to-buy/become-a-sponsor.md) ... become a sponsor today!
{% endhint %}

## Introduction

Used with the [User Generated Content interface](/old-kb/old-toolkit-for-steamworks/unity/api-extensions/usergeneratedcontent.client.md#createitem) and the [WorkshopItemData ](/old-kb/old-toolkit-for-steamworks/unity/objects/classes/workshop-item-data.md)tool.

The structure provides details on the completed create operation including access to the resulting Workshop Item and the native callback results from Steam API.

```csharp
public struct WorkshopItemDataCreateStatus
{
    public bool hasError;
    public string errorMessage;
    public WorkshopItemData data;
    public CreateItemResult_t? createItemResult;
    public SubmitItemUpdateResult_t? submitItemUpdateResult;
}
```

## Definition

```csharp
public struct WorkshopItemDataCreateStatus
```

### Fields and Attributes

### hasError

Indicates rather or not this process ended in error. This will be true if either the create or update steps had a fault.

```csharp
public bool hasError;
```

### errorMessage

If any this will contain the error message related to the fault.

```csharp
public string errorMessage;
```

### data

The [WorkshopItemData ](/old-kb/old-toolkit-for-steamworks/unity/objects/classes/workshop-item-data.md)that created this response and that contains details about the object.

```csharp
public WorkshopItemData data;
```

### createItemResult

This is the result status returned by Valve when the create step completes, If this is not a successful result then there will not be a submit item update result. This is a nullable value.

```csharp
public CreateItemResult_t? createItemResult;
```

### submitItemUpdateResult

This is the result of the update item status returned by Valve when the update step completes. This is a nullable value.

```csharp
public SubmitItemUpdateResult_t? submitItemUpdateResult;
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.heathen.group/old-kb/old-toolkit-for-steamworks/unity/objects/classes/workshop-item-data-create-status.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
