da_admin_create_source
Creates HTML or JSON source content files in an organization repository, using predefined templates for HTML or multi-sheet spreadsheet structures for JSON.
Instructions
Create source content within an organization: can be an html file or a json file
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ext | Yes | The source content file extension: html or json | |
| org | Yes | The organization | |
| path | Yes | Path to the source content | |
| repo | Yes | Name of the repository | |
| content | Yes | If extension is html: an html string using the following template: "<body><header></header><main><!-- content here --></main><footer></footer></body>". Only <main> should be populated with content. If extension is json: a json string representing a spreadsheet which can have multiple sheets. Each sheet can have an array of rows (represented as a data property). Each row can have as many cells as needed. A cell is a key / value pair. Simple sample: { "sheet1": { "total": 2, "data": [{ "column1": "value11", "column2": "value12", "column3": "value13" }, { "column1": "value21", "column2": "value22", "column3": "value23" }], }, ":names": [ "sheet1" ], ":type": "multi-sheet" } |