question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Delete Field syntax?

See original GitHub issue

Refer to this article:

Looks like clearing (aka nulling, aka deleting) a field in CRM isn’t always possible with the patch request (I believe this is only for Entity-References). The DeleteAssociation appears to implement this using the Delete call which I believe to be correct and a requirement for N:N, but for N:1, I don’t believe as much information is required. Just the field and $ref "/api/data/v8.0/accounts(1DD18913-11CB-E511-80D2-C4346BDC11C1)/primarycontactid/$ref"

Could this shorter syntax get added to the library?

If you’d like me to just submit a PR, let me know.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
KhashRastincommented, Feb 16, 2018

Is this implemented in the dot.net version can only find the fix in the js library?

1reaction
davidyackcommented, May 22, 2017

Yes

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL DELETE Statement - W3Schools
The DELETE statement is used to delete existing records in a table. DELETE Syntax ... The WHERE clause specifies which record(s) should be...
Read more >
How to Delete a Column in SQL | LearnSQL.com
First, write ALTER TABLE , followed by the name of the table you want to change (in our example, product ). Next add...
Read more >
Delete Field (Data Management)—ArcMap | Documentation
Syntax. The table containing the fields to be deleted. The existing input table will be modified. The fields to be dropped from the...
Read more >
Delete a field - Microsoft Support
In the Navigation Pane, right-click the table, and then click Design View. · In the table design grid, select the field that you...
Read more >
SQL: DELETE Statement - TechOnTheNet
You do not need to list fields in the DELETE statement since you are deleting the entire row from the table. DDL/DML for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found