File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/PowerPlatform/Dataverse Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ table_info = client.create_table("new_Product", {
218218# Create with custom primary column name and solution assignment
219219table_info = client.create_table(
220220 table_schema_name = " new_Product" ,
221- schema = {
221+ columns = {
222222 " new_Code" : " string" ,
223223 " new_Price" : " decimal"
224224 },
Original file line number Diff line number Diff line change @@ -469,15 +469,15 @@ class ItemStatus(IntEnum):
469469 ACTIVE = 1
470470 INACTIVE = 2
471471
472- schema = {
472+ columns = {
473473 "new_Title": "string", # Note: includes 'new_' customization prefix value
474474 "new_Quantity": "int",
475475 "new_Price": "decimal",
476476 "new_Available": "bool",
477477 "new_Status": ItemStatus
478478 }
479479
480- result = client.create_table("new_SampleItem", schema )
480+ result = client.create_table("new_SampleItem", columns )
481481 print(f"Created table: {result['table_logical_name']}")
482482 print(f"Columns: {result['columns_created']}")
483483
You can’t perform that action at this time.
0 commit comments