Developer forum

Forum » Development » item creator, existing item type and custom code

item creator, existing item type and custom code

Remi Muller
Reply

I have an existing item type created in dw backend. Using the item creator we are adding items in the frontend.

What i like to do is before this item in created i want to validate some fields and possibly update fields of this item as well.
This custom code only needs to run on the frontend (not when creating items in the backend).

What are the posibilities?

- Are there extensions or notifications i could use to get to the event before the item is added to the database?

- Or should i move to an ItemEntry using code first?


Replies

 
Jonas Mersholm
Reply
This post has been marked as an answer

Perhaps you could try extending the Items.Saving notification?

 

Best regards.

Jonas

Votes for this answer: 1
 
Remi Muller
Reply

Yes that should work. Thank you.

 
Mikkel Ricky
Reply

Check out this post for details in how to actually do it: http://developer.dynamicweb.com/forum/development/update-item-with-notificationsubscriber.aspx#Reply36925

Best regards,
Mikkel

 
Remi Muller
Reply

Got it working. thanks!

 

You must be logged in to post in the forum