Additional Information in Entity Top Content Screens – Sage CRM v7.2

By | August 27, 2014

Entity Top Content screens in Sage CRM are used to give quick overview of an entity without actually having to scroll down all the way on Summary screens.  These Top Content screens can be further customized to add eye-catching information in the Top Content screen using client side SDK introduced in Sage CRM v7.2.
New Stuff: Add Print Button to Print Entity information in Sage CRM v7.2
Let’s consider one example where user wants to show information in the Top Content screen based on the Status of an Opportunity. If Opportunity Status is In Progress, then the information should be in Blue color in the Opportunity context and if Opportunity is Lost, then the information should be in Red color. Here are the steps that you need to follow.
1) Login to Sage CRM.
2) Navigate to below path.
Administration | Customization | Opportunity.
3) Navigate to Screens tab and click on the Opportunity Top Content screen.
4) Copy and Paste below code into the Custom Content section of screen.
<script>
crm.ready(function ()
{
var strClassName = “”;
var strMessage = “”;
if(crm.fields(“oppo_status”).value()==”In Progress”)
{
strClassName += “InfoContent”;
strMessage += “Opportunity is in progress.”;
}
else if(crm.fields(“oppo_status”).value()==”Lost”)
{
strClassName = “ErrorContent”;
strMessage += “Opportunity is Lost.”;
}
var myOutPut = “<table border=0><tbody>”
myOutPut += “<tr><td class='”+strClassName+”‘>”+strMessage+”</td></tr>”
myOutPut += “</tbody></table>”;
var x = $(“#EWARE_TOP”).children();
var y = $(x).children();
var z = $(y).children();
var a = $(z).children(“td:last”);
a.after(myOutPut);
})
</script>
5) Click on Save button.
Once done, navigate to an opportunity which is In Progress and you will see that the Top Content screen shows the information in Blue color at the Right Hand side of screen as shown below.
In Progress
If the Opportunity is Lost, then the Top Content screen shows the information in Red color at the Right Hand side of screen as shown below.
Lost
You can apply above code to any other entities based on different conditions. Happy scripting 🙂
Also Read:
1) Displaying a Popup window in Sage CRM 7.2 without Menu button and Top Content section
2) Adding Extra information in Top Content
3) Customize your Top Content
4) Live world clock in Company Top Content
5) Hide Fields from Top Content Screen

30 thoughts on “Additional Information in Entity Top Content Screens – Sage CRM v7.2

  1. Pingback: W88 เว็บพนันออนไลน์ส่งตรงจากฟิลิปปินส์

  2. Pingback: เช่ารถตู้พร้อมคนขับ

  3. Pingback: cat888

  4. Pingback: ส่งsms

  5. Pingback: สอน วิธีคิดเงินบอลสเต็ป

  6. Pingback: https://casino-russvulcan.com/games/ramses-2

  7. Pingback: ดูบอลสด66

  8. Pingback: จองตั๋วรถทัวร์ออนไลน์

  9. Pingback: Big Bass Bonanza

  10. Pingback: ไก่ชนออนไลน์ ได้ที่หมวดทางเข้า อันดับ 1 เว็บตรง LSM99

  11. Pingback: pg168

  12. Pingback: Prayer

  13. Pingback: เว็บปั้มไลค์

  14. Pingback: Buy Luxury Watch

  15. Pingback: elephant sanctuary chiang mai

  16. Pingback: เน็ต ais

  17. Pingback: Demirtas info platform features explained

  18. Pingback: ปริ้นสติกเกอร์

  19. Pingback: Foxzz คืออะไร

  20. Pingback: https://mostbetkzotzyvy.kz

  21. Pingback: บริษัทรับสร้างบ้านเชียงใหม่

  22. Pingback: vg98

  23. Pingback: take a look at the site here

  24. Pingback: ปั้มไลค์

  25. Pingback: โคมไฟ

  26. Pingback: HL789

  27. Pingback: https://aviator-demo.adilet2005.kz

  28. Pingback: สล็อตเว็บตรง

  29. Pingback: ทนายคดีอาญานนทบุรี

  30. Pingback: pinup-aviator.sbs

Comments are closed.