Jason Buss’ Blog

Jason Buss on Infor CRM (SalesLogix) development & customization, SQL, and more.

Using Global Script functions in InforCRM

I recently had a project that required me to be able to check if a user belonged to a particular team. A previous post by Ryan showed me how to query team membership, but rather than setting this up as a Business Rule, I wanted to create it as a Global function that could be called from anywhere without having to worry about instantiating an entity to access the business rule. Instead of creating a business rule, I created a Global CS script...

Adding a report link to the Common Tasks pane in Infor CRM (formerly Saleslogix)

When you are viewing an Entity Detail page, the Common Tasks pane on the right of the page provides a number of links to perform common tasks, such as Mail Merges, Emails and creating activities for the current entity record. By making a couple modifications, we can add a link to run a report from this section I'm going to demonstrate how to add a report link to the Account Entity. Account should already have a link to run the Account De...

Limiting a Product lookup to current Account Product records in Infor CRM (Formerly Saleslogix)

I recently worked on a project which contained a Product Lookup control on an Account-level tab. In this case, the lookup is only supposed to return products that are also AccountProducts for the current Account. To do this, you can set the Lookup control to pull from the AccountProduct entity, then use code to save the Product from that entity and save it to your custom entity. In your lookup control: Set the Lookup Binding Mode to "Obj...

Problem with the Clean Build Folders option in Application Architect

On occasion, it becomes necessary to clean out the build folders and deployed website prior to a build/deploy, in order to force changes to become available. In version 8.1, Saleslogix provides a handy menu option to clear out the build folders. Unfortunately, using this menu item also seems to temporarily break it's own ability to build by causing some of the folders in that build path to become read-only, as shown below:

Pivoting data in SQL (Part 2)

In the past, I've written about pivoting data in SQL, and I wanted to post a quick follow-up showing basically how to rotate the data back into a single column. My source data consists of a recordID field, then 5 different boolean fields representing a different type value:

Debugging Custom Assemblies Using Visual Studio

Developing for Saleslogix web using external assemblies provides you with a lot of freedom when developing code for Saleslogix web. External assemblies can be helpful when organizing projects, reusing code and working with references to other assemblies. You also have the ability to step through your code for debugging and troubleshooting. In this post, I'm going to briefly outline how to launch your custom assembly code in debug mode in ...

Installing a Saleslogix Web Bundle

I realized that we didn't have any sort of simple write up of how to install a Saleslogix web bundle, so for my post this month, I thought I'd list the steps in a typical installation with screenshots. Most of these screenshots are from an 8.0 system, but the process should be the same in older versions of Saleslogix. In Application Architect, Right-click on the VFS in the Project Explorer and Select "Install Bundle".

Adding string formatting to values using WebEntityBinding

In a recent project, I needed to round numeric values displayed in the Opportunity Snapshot.  This can be done easily using the WebEntityBinding method in the source code file for the Opportunity Snapshot smartpart. The WebEntityBinding method is contained in the  Sage.Platform.WebPortal.Binding namespace, and is used to bind data to controls contained in Saleslogix smartparts.  […]

Error: StringConverter cannot convert ‘String’ to ‘Boolean’

This error usually occurs because an entity property is set as the wrong datatype for it's underlying field. This happens because when adding a new entity from an existing table, it doesn't create those boolean properties correctly. This is not an uncommon issue. In fact, it comes up all the time and I'm sure it's been mentioned on this site before. I just wanted to re-iterate the issue and include some screenshots to demonst...

Evaluating strings in C# Code snippets

When checking for two (or more) different values for a property in a code snippet, you can't simply look at the string values without an error being thrown. For example: Sage.Entity.Interfaces.IAccount acc this.BindingSource.Current as Sage.Entity.Interfaces.IAccount; if (acc.type != "Customer" || acc.type != "Prospect")

Updating text within Textblob fields in SalesLogix

I had a request to post on how you could replace characters within a blob field in the SalesLogix database. Blob fields are database fields that hold any sort of binary information (such as text, images, audio, etc..), but SalesLogix uses them primarily for holding large amounts of text, since you don't have to define a field length. The LongNotes field in the History table is a good example.

(not quite as) Easily Increasing the Height of the Picklist Dropdown in SalesLogix Web

My colleague Ryan just posted about a simple method to increase the height of picklist dropdowns in the SalesLogix web client. I have a slightly different way to accomplish the same thing for individual picklists, so while not really more difficult to do, would require you to do it for as many picklists you want to modify. Ryan's solution modifies a stylesheet to affect all picklists in the system at once.

Exporting Table data via the SalesLogix web client

Recently, I had a request to create export functionality for a datagrid in the SalesLogix web client. I had a little difficulty exporting data from the actual grid, but as an alternative, we put together functionality to export data based on a provided SQL query. (Thanks to Ryan for working out the SmartPart code) By creating a new custom smartpart, we can simply export the results of a SQL query to a CSV file, save it on the webserver and dow...

Missing Properties/Toolbox window in SalesLogix LAN

If you work on SalesLogix across a number of remote desktop connections and a number of different workstations as I do, you may occasionally run into an issue where the Properties or Toolbox windows cannot be made visible. This happens when you first start a Remote session from a machine with a greater screen resolution, move one of those windows to the far right of the screen, then start a Remote session on a machine with a smaller resolution. ...

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!