Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi,
Just try to install thingworx 8.5, and import project from 8.3.5.
There are some issues occurred, I'd like to ask for advice:
1. unable to import extension.
in platform-setting json, configuration r all set, but imported failed with no valid error messages.
{
"PlatformSettingsConfig": {
"AdministratorUserSettings": {
"InitialPassword": ...
},
"ContentTypeSettings": {
"supportedMediaEntityContentTypes": [
"image/svg+xml",
"image/png",
"image/gif",
"image/bmp",
"image/jpeg",
"application/pdf",
"image/vnd.microsoft.icon"
]
}
},
"ExtensionPackageImportPolicy": {
"importEnabled": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowCSSResources": true,
"allowJSONResources": true,
"allowWebAppResources": true,
"allowEntities": true,
"allowExtensibleEntities": true
},
"PersistenceProviderPackageConfigs": {
....
}
}
error message: Extension Exception
2. imported project, missing widgets, due to 'soon to be depreciated ', legacy widgets.
either 'yes' or 'no', to confirm the option to replace widget. the widgets in mashup are gone.
Any tips?
thanks
Solved! Go to Solution.
Hi @hkumar-41.
It looks like the platform-settings.json file is not structured correctly. The ExtensionPackageImportPolicy should be under PlatformSettingsConfig as in this example:
{
"PersistenceProviderPackageConfigs": {
"MssqlPersistenceProviderPackage": {
"ConnectionInformation": {
"driverClass": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"jdbcUrl": "jdbc:sqlserver://localhost:1433;databaseName=thingworx;applicationName=Thingworx;",
"password": "twadmin",
"username": "twadmin"
}
}
},
"PlatformSettingsConfig": {
"LicensingConnectionSettings":{
"username":"username",
"password":"password"
},
"ExtensionPackageImportPolicy": {
"allowCSSResources": true,
"allowEntities": true,
"allowExtensibleEntities": true,
"allowJSONResources": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowWebAppResources": true,
"importEnabled": true
},
"ContentTypeSettings": {
"supportedMediaEntityContentTypes": [
"image/svg+xml",
"image/png",
"image/gif",
"image/bmp",
"image/jpeg",
"application/pdf",
"image/vnd.microsoft.icon"
]
}
}
}
If you continue to have issues, please provide the complete file (you can mask out the sensitive information and I will update it and send it back.
Regards.
--Sharon
1.unable to import extension.
2.imported project, missing widgets, due to 'soon to be depreciated ', legacy widgets.
either 'yes' or 'no', to confirm the option to replace widget. the widgets in mashup are gone.
Thanks,
Vibhuti
Hi @hkumar-41.
It looks like the platform-settings.json file is not structured correctly. The ExtensionPackageImportPolicy should be under PlatformSettingsConfig as in this example:
{
"PersistenceProviderPackageConfigs": {
"MssqlPersistenceProviderPackage": {
"ConnectionInformation": {
"driverClass": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
"jdbcUrl": "jdbc:sqlserver://localhost:1433;databaseName=thingworx;applicationName=Thingworx;",
"password": "twadmin",
"username": "twadmin"
}
}
},
"PlatformSettingsConfig": {
"LicensingConnectionSettings":{
"username":"username",
"password":"password"
},
"ExtensionPackageImportPolicy": {
"allowCSSResources": true,
"allowEntities": true,
"allowExtensibleEntities": true,
"allowJSONResources": true,
"allowJarResources": true,
"allowJavascriptResources": true,
"allowWebAppResources": true,
"importEnabled": true
},
"ContentTypeSettings": {
"supportedMediaEntityContentTypes": [
"image/svg+xml",
"image/png",
"image/gif",
"image/bmp",
"image/jpeg",
"application/pdf",
"image/vnd.microsoft.icon"
]
}
}
}
If you continue to have issues, please provide the complete file (you can mask out the sensitive information and I will update it and send it back.
Regards.
--Sharon
Hi @hkumar-41.
If one of the previous responses allowed you to resolve your issue, please mark the appropriate one as the Accepted Solution for the benefit of others with the same problem.
Regards.
--Sharon