แก้ไข

แชร์ผ่าน


PerTenantExtensionCop Analyzer Rules

PerTenantExtensionCop is an analyzer that enforces rules that must be respected by extensions meant to be installed for individual tenants.

Rules

Id Title Category Default severity
PTE0001 Object ID must be in free range. Extensibility Error
PTE0002 Field ID must be in free range. Extensibility Error
PTE0003 Procedures must not subscribe to CompanyOpen events Extensibility Error
PTE0004 Table definitions must have a matching permission set. Configuration Error
PTE0005 The compilation target of an application must be a value that is allowed in a multi-tenant SaaS environment Extensibility Error
PTE0006 Encryption key functions must not be invoked. Extensibility Error
PTE0007 Test assertion functions are not allowed in a non-test context. Extensibility Error
PTE0008 Page controls and actions must use the ApplicationArea property Extensibility Error
PTE0009 This app.json property must not be used for per-tenant extensions. Extensibility Error
PTE0010 The extension name is too long. Extensibility Error
PTE0011 The publisher name is too long. Extensibility Error
PTE0012 InternalsVisibleTo should not be used as a security feature. Extensibility Warning
PTE0013 Entitlements cannot be defined in an extension. Configuration Error
PTE0014 Permission Sets should not be defined in XML files. Configuration Warning
PTE0015 The extension name is not valid. Extensibility Error
PTE0016 Permission set extensions should not include permissions for objects defined in another application. Extensibility Warning
PTE0017 Permission set extensions should not include permission sets defined in another application. Extensibility Warning
PTE0018 Permission set extensions should not include permission sets which include permissions for objects defined in another application. Extensibility Warning
PTE0019 Permission set extensions should not include wildcard permissions. Extensibility Warning
PTE0020 Use the 'application' property instead of specifying an explicit dependency on Base Application. Extensibility Warning
PTE0021 Defining reserved namespaces is not allowed. Configuration Error
PTE0022 The member ID should be within the allowed range Extensibility Warning
PTE0023 The enum ordinal value should be within the allowed range Extensibility Info

Using the Code Analysis Tool
Ruleset for the Code Analysis Tool
Using the Code Analysis Tools with the Ruleset