Displaying Notes as a Horizontal Frame on a Record

From SmartWiki
Jump to: navigation, search

To view the Notes on a record as a frame on the record itself, create a Read Only – System Variables field that references the s.viewnotes.jsp page in an iframe.

Example Variables:

  • For Company records:
<iframe width=100% height=400 scrolling="yes" frameborder=0 src="/s_viewnotes.jsp?objecttype=30&objectid=@companyid@"></iframe>
<iframe width=100% height=400 frameborder=0 src="/s_viewnotes.jsp?appid=102564&objecttype=100&objectid=@opportunityid@"></iframe>

For other Object Type IDs, see Object Types page.


Alternatively, the notes can be opened within a lightbox by using the following script within an On Demand Special - Browser Script:

openinmwin('/s_viewnotes.jsp?appid=@system.gmsID@&objecttype=100&objectid=@opportunityid@','Lightbox Title','100');

The number value controls the default lightbox height. It can also be left blank if you wish for the system to autoset the height.