Quantcast
Channel: Using Optimizely Platforms
Viewing all articles
Browse latest Browse all 8020

Get value of context=epi.cms.contentdata

$
0
0

Hi,
I would like to get hold of this value in OnContentCreating event.

Here is the scenario.

User is in editing context of a block that has a content area. Their workflow is that they want to create article page that would become content area item of block being edited. 

If user clicks on '+' button and choses New Page, user gets a list of all pages available. User can chose Article page, user can fill out properties and still url part would be 13643 in my case all the way throgh until actually clicking on the Create button. At that moment context changes to the newly crated page.

Is there a way of geting that epi.cms.contentdata value in OnContentCreating event so that, while creating and checking if that one specific block type is in question, I could add content area item with the reference of 13643 in my case? If not is there a way of knowing from which context OnContentCreating event got called?

What I need is, as a matter of fact, opposite of PageEdititng.GetEditUrl(reference) if even possible to get hold of in that event.


Viewing all articles
Browse latest Browse all 8020

Trending Articles