Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Set a dynamic default property when a page is created?

$
0
0

Is there a way to set a default property that is dynamic for a page when it is created? For example, i want to capture a user id from our system and store it in an "author" property when the page is first created. This value can be changed to a different user by the author but in case they don't set it i want to have it default on page creation.

 

I guess a better question would be, is there somewhere i can put code so that it will be executed when a page is created?

 

I considered writing a custom widget and putting this in page properties, but that won't actually run unless page properties has been opened.

 

Thanks


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>