Event that fires after umbraco.config has been generated?
Hi,
I am working on a broken link checker. I am therefore looking for a an event that fires after the umbraco.config has been generated. I don't know if there is such a thing. I tried with the AfterUpdateDocumentCache but it doesn't seem to work. Maybe that's because it takes some time to generate the file and the event doesn't wait around for that?
That was my initial thought. But when I do that and insert a breakpoint before the event finishes, and then open the umbraco.config file it hasn't been updated yet.
But you want to check the links in the current document right? When the events are finished the file will be updated , it's a matter of milliseconds I think.
Don't know if the AfterUpdateDocumentCache event is related to the umbraco.config file btw. It's possible that this is fired when the internal cache updates. Don't know for sure.
Ah I am not being very clear I think. What I want to do is to be able to check links from the current document against nodes in the umbraco.config file.
That way I, hopefully, avoid dealing with the database.
Event that fires after umbraco.config has been generated?
Hi,
I am working on a broken link checker. I am therefore looking for a an event that fires after the umbraco.config has been generated. I don't know if there is such a thing. I tried with the AfterUpdateDocumentCache but it doesn't seem to work. Maybe that's because it takes some time to generate the file and the event doesn't wait around for that?
Hi,
Is it for a single page? Maybe just use the Document_AfterPublish event?
Cheers,
Richard
Hi,
That was my initial thought. But when I do that and insert a breakpoint before the event finishes, and then open the umbraco.config file it hasn't been updated yet.
But you want to check the links in the current document right? When the events are finished the file will be updated , it's a matter of milliseconds I think.
Don't know if the AfterUpdateDocumentCache event is related to the umbraco.config file btw. It's possible that this is fired when the internal cache updates. Don't know for sure.
Cheers,
Richard
Hi,
Ah I am not being very clear I think. What I want to do is to be able to check links from the current document against nodes in the umbraco.config file.
That way I, hopefully, avoid dealing with the database.
is working on a reply...