Clearing reference field(s) for a webflow CMS item to be deleted - how to?

Hi everyone,
I am having a tough time trying to figure this out - I have several collection items in webflow linked via single reference fields. When a user tries to delete a review they left for someone, I can’t seem to clear the linked fields in the review item from the references to the individual reviewed, and the comments left in the review.
I’ve tried:

  • entering “emptyArray”
  • unmapping and selecting “empty”
  • unmapping only and leaving field blank
  • entering “null”
  • trying a function to remove the item as if the field was an array (remove(field;item))
  • typing “Empty”

I am at a point to only unpublishing these reviews and having to manually unlink every field in the review to then manually delete these items… but if the site grows significantly, it will be a ridiculous amount of work.

Hopefully the info I have here will help.

Thanks for any suggestions.


blueprint (2).json (360.9 KB)

From the error you are getting it doesnt seem like this is the right endpoint to delete the reference. Perhaps there is another endpoint in the api documentation your suppose to be using?

Hi Paul - I figured it out thanks to another post on the Make Community, all I needed to do was to add the erase function… :sweat_smile:

Thank you!!!

1 Like