Developer forum

Forum » Development » Get current area in backend

Get current area in backend

Lars Larsen
Lars Larsen
Reply

Hi

I want to get the itemtype associated with the area that the editor is editing in the backend. How can that be done? I would very much like to get it from within the notification "ItemNotification.Saving".


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

You can take a look at httpcontext and see what is in the querystring/form post and locate the page id or paragraph id and then locate the information based on that.

BR Nicolai

Votes for this answer: 1
 
Lars Larsen
Lars Larsen
Reply

Hi Nicolai

Oh, yes of course! Didn't think of that. Thanks

 

You must be logged in to post in the forum