Sites

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
riadhazzouz
Active Member

Sites

Is there a way to find out if  a site has been created or deleted ?
I tried the onCreateNode behaviour, but it seems there are multiple nodes created once you create a site.
So the behaviour get called multiple times.

4 Replies
cesarista
Advanced

Re: Sites

Hi:

Sites are created and deleted below /Sites folder structure in the repo, so you can create simple rules for sending notifications with js api, when a folder is created or deleted at this level. Maybe it's a simpler aprox. than a content behaviour.

Kind regards.

--C.

riadhazzouz
Active Member

Re: Sites

Thanks for the idea.

riadhazzouz
Active Member

Re: Sites

I was trying the idea, but I didn't find out how to figure out how to detect the creation of a new folder.
Thanks.

riadhazzouz
Active Member

Re: Sites

Problem solved, never mind. Thanks