I have a requirement where a custom action is only added to the root site of the site collection. So planning to add two features one Site
scoped and the other Web
scoped.
In the event receiver of a Site
scoped feature, I'm activating the Web
scope feature.
For this i can use
web.Features.Add(webFeatureId);
How can I find the web level features feature id programmatically ?