# ContentService.Created in vNext?

**URL:** <https://forum.umbraco.com/t/contentservice-created-in-vnext/1382>\
**Category:** Questions\
**Tags:** v12, v13\
**Created:** [March 18, 2025, 12:49pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382 "2025-03-18T12:49:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![andersbrohall](https://forum.umbraco.com/user_avatar/forum.umbraco.com/andersbrohall/32/968_2.png) [@andersbrohall](https://forum.umbraco.com/u/andersbrohall)\
**Post date:** [March 18, 2025, 12:49pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/1 "2025-03-18T12:49:15Z")

</div>

In v8 we’ve got an event for ContentService.Created.  
I can’t find it in vNext as a ContentNotification though, specificly v12 that i’m working with ATM.

Is it suppose to be there? Can I find it somewhere else?  
Cheers’

---

<div class="post-metadata">

**Author:** ![patrickdemooij9](https://forum.umbraco.com/user_avatar/forum.umbraco.com/patrickdemooij9/32/953_2.png) [@patrickdemooij9](https://forum.umbraco.com/u/patrickdemooij9)\
**Post date:** [March 18, 2025, 12:59pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/2 "2025-03-18T12:59:20Z")

</div>

Hi Anders,

If I remember correctly, you’ll want to use either the `ContentSavingNotification` or the `ContentSavedNotification` and check if the Id is 0 (indicating a new content item).

---

<div class="post-metadata">

**Author:** ![KevinJump](https://forum.umbraco.com/user_avatar/forum.umbraco.com/kevinjump/32/186_2.png) [@KevinJump](https://forum.umbraco.com/u/KevinJump)\
**Post date:** [March 18, 2025, 12:59pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/3 "2025-03-18T12:59:47Z")

</div>

Hi,

you can use the ContentSaving and ContentSaved notifications and then check if the id has been updated.

> **[Determining if an entity is new | Umbraco CMS](https://docs.umbraco.com/umbraco-cms/reference/notifications/determining-new-entity)**
>
> Example of how to determine if an entity is new

---

<div class="post-metadata">

**Author:** ![andersbrohall](https://forum.umbraco.com/user_avatar/forum.umbraco.com/andersbrohall/32/968_2.png) [@andersbrohall](https://forum.umbraco.com/u/andersbrohall)\
**Post date:** [March 18, 2025, 1:06pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/4 "2025-03-18T13:06:41Z")

</div>

Ok,

Well we inherit loads of property data from ancestors on create. That the editor can edit straight away. I need to figure out another solution.

That said, if we create a blank node, waiting fo the saving/saved event to populate, we’re way to late.

---

<div class="post-metadata">

**Author:** ![KevinJump](https://forum.umbraco.com/user_avatar/forum.umbraco.com/kevinjump/32/186_2.png) [@KevinJump](https://forum.umbraco.com/u/KevinJump)\
**Post date:** [March 18, 2025, 2:04pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/5 "2025-03-18T14:04:07Z")

</div>

Hi,

You might need the EditorModel Notifications then - which are before the content is sent to the backoffice.

> **[EditorModel Notifications | Umbraco CMS](https://docs.umbraco.com/umbraco-cms/reference/notifications/editormodel-notifications)**

but note : these do not exist on v14+ (see [ongoing discussion](https://github.com/umbraco/Umbraco-CMS/discussions/16329))

---

<div class="post-metadata">

**Author:** ![andersbrohall](https://forum.umbraco.com/user_avatar/forum.umbraco.com/andersbrohall/32/968_2.png) [@andersbrohall](https://forum.umbraco.com/u/andersbrohall)\
**Post date:** [March 18, 2025, 2:05pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/6 "2025-03-18T14:05:18Z")

</div>

@markusjoha is on it!  
We’ve figured it out, will post a solution shortly 🙂

---

<div class="post-metadata">

**Author:** ![andersbrohall](https://forum.umbraco.com/user_avatar/forum.umbraco.com/andersbrohall/32/968_2.png) [@andersbrohall](https://forum.umbraco.com/u/andersbrohall)\
**Post date:** [March 18, 2025, 2:06pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/7 "2025-03-18T14:06:22Z")

</div>

… everyone should have a MVP two meters to their right.

---

<div class="post-metadata">

**Author:** ![markusjoha](https://forum.umbraco.com/user_avatar/forum.umbraco.com/markusjoha/32/141_2.png) [@markusjoha](https://forum.umbraco.com/u/markusjoha)\
**Post date:** [March 18, 2025, 2:18pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/8 "2025-03-18T14:18:59Z")

</div>

I’m working with @andersbrohall on this.

Checked the source of v7, v8, and vNext and it seems like v7 and v8 had a way to hook into this on the service level:

v7:

> <https://github.com/umbraco/Umbraco-CMS/blob/095147181854f90c72d9ae09fcbf764c89254e8e/src/Umbraco.Core/Services/ContentService.cs#L187>

v8

> <https://github.com/umbraco/Umbraco-CMS/blob/816ec66aa097043df2a6ed6017cd62e75a32e1cf/src/Umbraco.Core/Services/Implement/ContentService.cs#L340C41-L340C63>

This disappeared in vNext.

The SendingContentNotification can indeed be used, however, it would only work when content is created from the backoffice and it also operates on the “view model” (ContentItemDisplay).

Maybe I should submit an issue in the Github-repo?

**Update:**  
The use case here is to copy data from one node (IContent) into the newly created node so it’s populated when the editor starts to work on the node. I got it to work for property editors that work with strings and also for the Block Grid Editor - might be that we’re missing some code from potential DataEditors that processes the the raw data from IContent into the format in ContentItemDisplay - it works for our use case but it for sure feels like a real hack ⛏

Created this issue: [Bring back Creating notification for Content · Issue #18716 · umbraco/Umbraco-CMS · GitHub](https://github.com/umbraco/Umbraco-CMS/issues/18716)

---

<div class="post-metadata">

**Author:** ![system](https://forum.umbraco.com/uploads/default/original/1X/624adeddd330a3d0268a184db47946ca7e82c676.png) [@system](https://forum.umbraco.com/u/system)\
**Post date:** [April 17, 2025, 2:19pm UTC](https://forum.umbraco.com/t/contentservice-created-in-vnext/1382/9 "2025-04-17T14:19:44Z")

</div>

Closed on April 17, 2025, 2:19pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
