CreateSchema
Creates a schema file for the specified table.
Input
| Name | Type | Accepts Output Streams | Description |
| TableName | String | False | The name of the table for which to create a schema. |
| SOQL | String | False | [DEPRECATED] The SOQL query to issue to Salesforce. This input is deprecated and will be removed in the next version. |
| TableDescription | String | False | An optional description of the table. |
| WriteToFile | String | False | Whether to write the contents of the generated schema to a file or not. The input defaults to true. Set it to false to write to FileStream or FileData. |
| FileName | String | False | The filename of the schema to generate. Ex: 'Accounts.rsd' |
| FileStream | String | True | An instance of an output stream where file data is written to. Only used if WriteToFile=false. |
Result Set Columns
| Name | Type | Description |
| Result | String | Returns Success or Failure. |
| FileData | String | The generated schema encoded in Base64. Only returned if WriteToFile=false and FileStream is not provided. |
| SchemaFile | String | The generated schema file. |