Skip to content

Commit 3c5905a

Browse files
tpellissierclaude
andcommitted
Update README: use client.create_lookup_field() instead of extension
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 492230d commit 3c5905a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,14 +290,11 @@ if rel:
290290
client.delete_relationship(result['relationship_id'])
291291
```
292292

293-
For simpler scenarios, use the extension helper:
293+
For simpler scenarios, use the convenience method:
294294

295295
```python
296-
from PowerPlatform.Dataverse.extensions.relationships import create_lookup_field
297-
298296
# Quick way to create a lookup field with sensible defaults
299-
result = create_lookup_field(
300-
client,
297+
result = client.create_lookup_field(
301298
referencing_table="contact", # Child table gets the lookup field
302299
lookup_field_name="new_AccountId",
303300
referenced_table="account", # Parent table being referenced

0 commit comments

Comments
 (0)