This article applies to both PHPRunner and ASPRunner.NET. Here is how we recommend brinning older projects to version 11.
If your project's version is older than 10.91 - upgrade it to version 10.91 first.
Upgrade business templates to their respective latest versions. Here are links that explains how this can be done
PHPRunner
ASPRunner.NET
If your project uses custom View or Edit plugins - make sure you downloaded and installed the latest versions of those plugins from the Marketplace.
Get rid of deprecated code in events like DAL functions. Use Database API intead. Links to Database API in the manual.
PHPRunner
ASPRunner.NET
The easy way to find all DAL related code in events is to run a search across all events for something like "DAL". It will point you to all the code that needs to be updated.
Btw, both ChatGPT and Claude AI can handle DAL -> Database API conversion. Also check these two artciles:
PHPRunner DAL -> Database API conversion cheat sheet
ASPRunner.NET DAL -> Database API conversion cheat sheet
- If your project uses non-documented variables and functions that were available in version 10.x, we recommend switching to APIs. For instance, for field labels, instead of $field_labels we recommend using Labels API etc.