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

# factoryNotationFor()

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

Returns a code for generating the provided input using convenience factory methods where possible.

**Signature:**

```typescript
factoryNotationFor: (data: any, additionalConversion?: (data: any) => string | undefined) => string
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| data | any | data to return the generating code for |
| additionalConversion | (data: any) =&gt; string \| undefined | _(Optional)_ specify other conversion that will be tried before falling back to standard stringify. return undefined when you want to fall back to standard stringify. |

**Returns:**

string
