Verint 14 upgrade issues: Not able to connect to custom views, stored procedures and tables from custom plugins.

Hello Everyone!!
We have custom tables, views, and stored procedures that our 13.x plugins use. After upgrading the plugins to .NET 10 for 14.x, they can't connect to the database. The upgrade docs say plugins no longer have access to query Community's database outside of the API. How can we access our custom database objects in 14.x? Is there a supported pattern, such as a separate database connection or an external API or service? Any guidance would be appreciated.

Thanks,
Kavitha

  • Hi Kavitha,

    This is expected in 14.x. Plugins can no longer read Community's own data directly, including through direct SQL. The only exception is a join against the read-only [Api].[te_vw_v1_permissions_EffectivePermissions] view. Anything else in Community's data should be read through the platform APIs.

    Your own tables, views and stored procedures are still supported. They just need to move to the new storage model:

    1. Migrate the plugin to the Community 14 plugin model. Create a new project from the template (dotnet new community-plugin --name MyMigratedPlugin). Move your plugin classes, configuration, resources and supporting code into it, then build against the Verint.Community.Platform package. Compile errors usually mean the code depends on an API or implementation detail that changed in 14.

    2. Implement ISqlServerConnectedPlugin for your custom storage. Each plugin is given its own connection string, limited to its own database schema. Create your tables, views and stored procedures in that schema when the plugin installs. The "Managing Data Storage" guide (DT2223) covers the details.

    3. Move existing data out of dbo. If your 13.x plugin created objects in the dbo schema, implement IDboAccessSqlServerConnectedPlugin. It gives read-only access to that data during the plugin's installation phase, so you can copy it into the plugin's own schema.

    4. Replace direct queries against Community's core tables with the In-Process API. See the "API Changes" page for what changed.

    5. Test locally. Start the local stack, enable the plugin, and repeat until it compiles, installs, enables and runs.

    Reference: Migrate plugins to Verint Community 14

    For a detailed working example, see the ContentMetadata plugin that Rich Mercer built for v14: https://github.com/RichMercer/ContentMetadata. It shows the full pattern: using ISqlServerConnectedPlugin for its own schema, creating its table on install, and using IDboAccessSqlServerConnectedPlugin to move its legacy dbo data.

    Hope this helps!