
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.
Awesome! Thanks for sharing this.
This is the tweaked CSS I’m using. It allows the View More links in Ticket Activities to also require only one click, and it prevents phantom new lines appearing in the preview text (sometimes in the middle of words), as can be seen in your gif above.
.expando .moreView span.display-none { display: inline !important; }
.expando .moreView .morelink.more { display: none !important; }