MRI Platform X.7 Logic Builder: The Future of Customization

03.01.26 06:01 AM Comment(s) By Assetsoft

For users and developers in the proptech space, the buzz around MRI Software Upgrade X.7 is impossible to ignore. As organizations prepare to transition from legacy systems, the spotlight is shifting toward the new architecture that powers Platform X. While much has been said about Page Builder, the actual engine room of this modernization is a powerful new tool called Logic Builder.

If you have been accustomed to the "wild west" of legacy Web Design, where direct SQL queries were embedded right into the page, Logic Builder represents a paradigm shift. It is a text-based scripting tool designed to create reusable APIs that gather and update data, acting as the secure, intelligent layer between your user interface and your PMX database.

Here is a deep dive into what is new in Logic Builder and why it is a game-changer for your MRI Software environment.

The Architecture Shift: From Queries to APIs

In legacy versions of MRI (e.g., X.6 and earlier), customizing a page often means writing SQL queries and expressions directly in the Web Design tool. While flexible, this approach lacked structure and security.


With Upgrade X.7, MRI has introduced an API-first architecture. Logic Builder allows developers to write APIs in a new internal language called Via. This language acts as a bridge, combining the logic of languages such as JavaScript or C# with the data retrieval capabilities of SQL.


When a user interacts with a page in Platform X, the page doesn't touch the database directly. Instead, it calls a Logic Builder API. This API handles the request, communicates with the database, and returns a structured result.

Key Features of Logic Builder

Based on the latest developer showcases, Logic Builder introduces several critical features that modernize how customizations are built:


1. Enhanced Security and Parameterization

The most significant improvement in Logic Builder is security. Legacy string literals are replaced with parameterization. In the past, developers might have hard-coded variables into SQL strings, leaving systems vulnerable to SQL injection.

Logic Builder enforces the use of parameters (e.g., @BuildingID or @LeaseID). This provides built-in table-level security and field-length validation, ensuring data is sanitized and safe before it interacts with the database.


2. Type Safety and Result Definitions

Logic Builder introduces Type Safety. The system creates a contract between the API and the page. You must explicitly define your data types: Strings, Integers, Booleans (Bit), or Dates.

Furthermore, the Result Type Definition feature requires developers to define the exact structure of the data returned from the API. This eliminates the guessing game; when Page Builder calls an API, it knows precisely what columns and data types to expect in return.


3. SQL Abstraction and the "Via" Language

For those who know SQL, the transition to Logic Builder is intuitive. The tool uses SQL Abstraction, which handles the heavy lifting of syntax details and best practices.

You can declare variables and write queries that look very similar to standard SQL (e.g., SELECT * FROM LEASE WHERE...), but they are wrapped in the Via language syntax. This enables powerful Control Flow features that were difficult in legacy tools, including loops, complex conditional execution, transaction controls, and exception handling (try/catch blocks).

The Developer Experience: App Studio and "The Easy Way"

Logic Builder lives within the new Application Studio interface (which, developers will be happy to note, comes in Dark Mode). The interface is organized with folder structures for modules and color-coded syntax highlighting to make coding easier.


Perhaps the most impressive feature for teams upgrading to X.7 is the integration between Page Builder and Logic Builder.


In a recent demonstration, MRI developers showed "the easy way" to build an API. Instead of writing code from scratch, Logic Builder includes an Import feature. You can select a page you have already built in Page Builder, and Logic Builder will scan the page for data requests. It then auto-generates the API shell, including all necessary input parameters and output definitions. This drastically reduces development time and human error.

Version Management and Customization

One of the biggest challenges in software upgrades is maintaining customizations without breaking the core product. Logic Builder addresses this with robust Version Management.


In Upgrade X.7, you can view the core MRI (system) version of an API alongside your custom "Client" version. If you need to add a custom field or change logic, you create a client version of the API. You can then toggle which version the system uses as the default. This ensures that your customizations are separated from the core code, making future upgrades significantly smoother.

Conclusion

Logic Builder is more than just a scripting tool; it is the backbone of the modern MRI Software ecosystem. By moving to an API-based architecture, Upgrade X.7 provides a more secure, maintainable, and scalable platform.


For organizations looking to get the most out of MRI Software Upgrade X.7, understanding Logic Builder is essential. It empowers your team to build sophisticated, secure, and robust business logic that delivers a seamless experience for your end users.

Are you preparing for the significant upgrade to MRI Property Management? Ensure your team is ready for the shift to Logic Builder and Platform X.

Assetsoft

Share -