cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Extension Exception: ExtensionPackageImportPolicy

Saran_Rockwell
6-Contributor

Extension Exception: ExtensionPackageImportPolicy

Hi Developers,

 

I've newly installed a TWX instance. My platform settings are as shown below.

 

SK_10217546_0-1648014250027.png

 

Through the composer I'm not able to import any extensions (from market place or a custom one). I'm getting the below error

 

Extension Exception: ExtensionPackageImportPolicy: ExtensionPackage upload attempted while import disabled. Check the ExtensionPackageImportPolicy.

 

I have checked the support portal and came across this article. It seems ExtensionPackageImportPolicy in my platform settings is proper but still im getting the error.

 

Things I have tried :

1.restarting the server

2.restarting by updating the ExtensionPackageImportPolicy with all parameters set as false and then set as true.

3. Tried restarting the ExportImportSubsystem but it threw an error stating that Stop service is not available for this sub system.

 

Please provide a resolution for this issue. 

 

Thanks,

Saran

 

1 ACCEPTED SOLUTION

Accepted Solutions

It looks like your ExtensionPackageImportPolicy is in the wrong 'level' it should be a 'child' of 'PlatformSettingsConfig'

Incomplete example:

"PlatformSettingsConfig": {
   "ExtensionPackageImportPolicy": {
      "importEnabled": true,
      "allowJarResources": true,
      "allowJavascriptResources": true,
      "allowCSSResources": true,
      "allowJSONResources": true,
      "allowWebAppResources": true,
      "allowEntities": true,
      "allowExtensibleEntities": true
   },

View solution in original post

1 REPLY 1

It looks like your ExtensionPackageImportPolicy is in the wrong 'level' it should be a 'child' of 'PlatformSettingsConfig'

Incomplete example:

"PlatformSettingsConfig": {
   "ExtensionPackageImportPolicy": {
      "importEnabled": true,
      "allowJarResources": true,
      "allowJavascriptResources": true,
      "allowCSSResources": true,
      "allowJSONResources": true,
      "allowWebAppResources": true,
      "allowEntities": true,
      "allowExtensibleEntities": true
   },

Top Tags