I want to create a web base on a custom webtemplate. Afterwards I am not able to find out which webtemplate was used. The property WebTemplate only returns STS for example. I expected a guid and a name. So I thought I develop a feature with a event receiver on the web event "a site was provisioned" and save it to the property bag.
I am not able to find an information about the custom template. I only find STS. Does anybody know where to find this info? Is my way of thinking wrong? Does SharePoint use STS and customizes afterwards? But there should be a GUID or a name of my custom template, shouldn't it?