Showing the Entire Note at Once When Clicking “View More” in the Notes/History Tab in Infor CRM

There’s an annoyance in Infor CRM Web (Saleslogix) that most people have when viewing long notes or emails in the Notes/History tab. There’s a “View More” link, but clicking that only reveals a bit more. You click it again and it reveals a little more, and you repeat that several times until the entire note is finally showing. I don’t care for that behavior and would prefer to click “View More” and have the entire note revealed at once. Luckily, that’s an easy task by injecting a bit of CSS on the page.

To do change this behavior, all you need to do is edit the NotesHistoryList.ascx.cs file under the SlxClient SupportFiles\SmartParts\History folder. Somewhere in the Page_Load, add the following code:

ScriptManager.RegisterClientScriptBlock(this, GetType(), "gridStyle_Script", "$('head').append('<style type=\"text/css\">#NotesHistoryList .expando .moreView span.display-none { display: block !important; } #NotesHistoryList .expando .moreView .morelink.more { display: none !important; } </style>');", true);

After that, the notes will change from the default behavior where you have to click “View More” multiple times, like this:

To this, where you can expand the entire note by clicking “View More” once:

Much better.

ABOUT THE AUTHOR

Ryan Farley

Ryan Farley is the Director of Development for Customer FX and creator of slxdeveloper.com. He's been blogging regularly about SalesLogix, now Infor CRM, since 2001 and believes in sharing with the community. He loves C#, Javascript, web development, open source, and Linux. He also loves his hobby as an amateur filmmaker.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

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

You have Successfully Subscribed!