SOLVED

Modification Package "Capabilities"

%3CLINGO-SUB%20id%3D%22lingo-sub-326539%22%20slang%3D%22en-US%22%3EModification%20Package%20%22Capabilities%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326539%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20are%20the%20rules%20for%20setting%20%22Capabilities%22%20on%20Modification%20Packages%3F%26nbsp%3B%3C%2FP%3E%0A%3CP%3EShould%20it%20include%20the%20capabilities%20settings%20of%20the%20main%20package%3F%26nbsp%3B%20Or%20just%20what%20it%20needs%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-328136%22%20slang%3D%22en-US%22%3ERe%3A%20Modification%20Package%20%22Capabilities%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-328136%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20is%20still%20the%20case%20that%20the%20main%20app%20needs%20to%20provide%20that%20permission%20for%20a%20plugin%20to%20access%20that%20capability.%20Using%20modification%20package%20to%20enhance%2Fenable%20additional%20main%20package%20capabilities%20is%20something%20we%20can%20put%20in%20our%20backlog.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-326788%22%20slang%3D%22en-US%22%3ERe%3A%20Modification%20Package%20%22Capabilities%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326788%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F144649%22%20target%3D%22_blank%22%3E%40Dian%20Hartono%3C%2FA%3E%26nbsp%3B%20But%20wait...%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhat%20if%20I%20were%20a%20developer%20that%20wanted%20to%20build%20a%20plugin%20to%20an%20MSIX%20enabled%20application%20developed%20by%20someone%20else%20and%20needed%20to%20add%20a%20capability%20in%20order%20to%20get%20through%20the%20store%20submission%20process%3F%20Like%20maybe%20AutoCad%20and%20I%20want%20to%20add%20a%20camera%20based%20plugin%2C%20which%20I%20think%20can%20only%20be%20done%20as%20a%20Modification%20package.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWould%20I%20still%20mark%20the%20capability%20in%20the%20modification%20package%20to%20get%20through%20the%20store%2C%20but%20it%20will%20be%20ignored%20at%20runtime%3F%26nbsp%3B%20And%20might%20the%20camera%20get%20blocked%20in%20that%20case%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-326780%22%20slang%3D%22en-US%22%3ERe%3A%20Modification%20Package%20%22Capabilities%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326780%22%20slang%3D%22en-US%22%3E%3CP%3EThanks.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-326760%22%20slang%3D%22en-US%22%3ERe%3A%20Modification%20Package%20%22Capabilities%22%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326760%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%20modification%20packages%20cannot%20set%20capabilities.%20They%20are%20inherited%20from%20the%20main%20package.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
MVP

What are the rules for setting "Capabilities" on Modification Packages? 

Should it include the capabilities settings of the main package?  Or just what it needs?

4 Replies
Best Response confirmed by Tim Mangan (MVP)
Solution

Hi, modification packages cannot set capabilities. They are inherited from the main package. 

Thanks.

@Dian Hartono  But wait...

 

What if I were a developer that wanted to build a plugin to an MSIX enabled application developed by someone else and needed to add a capability in order to get through the store submission process? Like maybe AutoCad and I want to add a camera based plugin, which I think can only be done as a Modification package.

 

Would I still mark the capability in the modification package to get through the store, but it will be ignored at runtime?  And might the camera get blocked in that case?

 

It is still the case that the main app needs to provide that permission for a plugin to access that capability. Using modification package to enhance/enable additional main package capabilities is something we can put in our backlog.