You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Summary
Adds support for `"memo"` (or `"multiline"`) column type, enabling
creation of multiline text columns on Dataverse tables. Users can
specify `"memo"` as a column type in `client.tables.create()` and
`client.tables.add_columns()`.
## Changes
**`src/PowerPlatform/Dataverse/data/_odata.py`**
- Add `"memo"` / `"multiline"` handling in `_attribute_payload()`,
generating `MemoAttributeMetadata` with `MaxLength: 4000`, `Format:
Text`, `ImeMode: Auto`
**`src/PowerPlatform/Dataverse/operations/tables.py`**
- Document `"memo"` / `"multiline"` in `create()` docstring
**`examples/advanced/walkthrough.py`**
- Add `"new_Notes": "memo"` column to walkthrough table
- Include memo field in record creation with multiline content
- Read back and display memo field in Section 4
- Update memo with new multiline content in Section 5
**`tests/unit/data/test_odata_internal.py`**
- `test_memo_type()` — validates MemoAttributeMetadata payload
- `test_multiline_alias()` — validates `"multiline"` produces identical
result
**`tests/unit/test_tables_operations.py`**
- `test_add_columns_memo()` — validates memo type through
`add_columns()`
**`README.md`** / **SKILL docs**
- List `"memo"` in supported column types
## Testing
- 620 unit tests passing
- E2E memo walkthrough verified against live Dataverse (10 assertions):
multiline create/read/update, empty string, None, special characters,
long text (4000 chars), memo not mistaken for picklist label,
triple-quoted strings, clearing memo to None
---------
Co-authored-by: Abel Milash <abelmilash@microsoft.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments