Deletion Of Pages From Variant Sites
Hi,
I have made site variations of a publishing site. The variation labels that i have made are for English and German. The issue that i m facing is that whenever i try to delete the page from the source site the same is not deleted from the variant site.
I guess Moss doesn't support this by default. Is there a workaround for the same.
I have tried handling the ItemDeleted Event For the pages library but some how the event is not getting handled.
Please help me out with the same.
Hi,
Are your pages stored in a document library in the site?
Assuming your working with MOSS, you can try to create a WF that will run on the document library each time an item is deleted.
About the event handling, you should try to use ItemUpdated\ItemUpdating instead of deleted, from my tries it should work with deletion also.
Hope that was helpfull.
Hi,
Sorry but I couldn't get what you are trying to say.
Let me give you a scenario of my case. Let us consider that we create a page "Test.aspx" which has "full control" permissions for "Group1" on the source site. When i publish this page the same page would be created in the variant sites with the exact similar security permissions because of variation. Now i try to change the permissions of "Group1" to "Read" for the "Test.aspx" on the source site. The same is not reflected on the variant site.
The reason for which i can figure out is that there's no publish workflow called when you edit the permissions. So if you can highlight what we can do to replicate the security permission on the variant site.
Hay,
I'm sorry, but I'm not familiar with that problem, if your saying the neither WF nor EH fire when permissions are changed...
The best thing I think would be offering a new page to enter permissions, instead of the normal page. That page will be able to update the permissions and update the a property of the page file so the WF\EH will fire.
If such a solution would be good, tell me and I'll try to instruct you on ways to do that.