back to top

Custom Calculated Entity Properties

The SalesLogix entity model offers the ability to create a custom property underneath an entity.  This can be useful for automatically rolling up things like the Opportunity Sales Potential or calculating fields such as the Opportunity Weighted Average.  To add an custom entity property, expand out the VFS…Entity Model…Packages…SalesLogix Application Entities.  Right click on properties and choose New Code Snippet Property.

SalesLogix Custom Entity Property

The new custom property dialog will open.  First, you need to name your custom property.  For my example we will use something nondescript, "LookupValidation".  You should choose a better name in a real world situation.

The next step is to determine the data type our code system will return.  The default is a String but you can choose from others if appropriate.  Some data types are not listed.  If they are not you can simply just type it in .  Make sure you use the fully qualified name "System.".

SalesLogix Custom Entity Property Naming 

Now that those have been established you can click the Add Hyperlink next to the Steps label.  I am going to add a new C# snippet and select that choice.

SalesLogix Custom Entity Property New Rule Step 

Once I click OK I can now see my step in the step dialog.  Now I will click the Edit Code Snippet hyperlink to actually modify the code and build my custom entity.

SalesLogix Custom Entity Property with a step

The code editor opens with the skeleton of my custom property already built based upon the parameters I used to set up my property:

SalesLogix Custom Entity Property Code Shell

We replace the commented out line shown above with our code.  In my case I want to check to see if the Account is a Customer or Prospect.  To do that I can add the following code:

            if (account.Type.ToLower() + "" == "customer" | account.Type.ToLower() == "prospect")
                result = "Passes";
            else
                result = "Fails";

So there you have it a complete custom entity property.  Obviously this is a very simple example but this can be a vary powerful feature. 

Now be aware that custom entity properties are currently only useable within the web interface.  They are also not available for use in merge documents or groups.

Contact Customer FX for your CRM project
We let our expertise speak for itself - let us know how our all-star team can help on your CRM project
About the Author
Kris Halsrud
Kris Halsrud
Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Infor CRM SLX 10.0: Delegate Ownership Changes for “Everyone” Records

Learn how the new EveryoneOwnerAssignment secured action in Infor CRM SLX 10.0 allows designated users to change ownership of Everyone-owned records without requiring Administrator access.

Related Articles

Infor CRM Sync for Exchange: Action Required by August 31, 2026

Using Infor CRM Sync for Exchange with Microsoft 365? Your Exchange administrator must update tenant settings by August 31, 2026 to prevent sync disruption.

[Webinar] What’s Coming Next for Infor CRM SLX and Why v10 Matters

See what’s coming next for Infor CRM SLX, including new marketing workflows, automation improvements, and reasons to consider upgrading to v10.

Disable Caching in Infor CRM SLX Web Client

In the rare case caching is causing issues in the Infor CRM SLX web client, it is possible to disable specific types of caching by making edits using Application Architect, and then deploying.

Exploring AI Options for Infor CRM v10

I've started taking a closer look at the AI capabilities built into Infor CRM v10. Over the next several posts, I'll share what I learn. From the built-in features and supported AI providers to implementation considerations, costs, and practical use cases.

Related Videos