Difference between revisions of "Displaying Notes as a Horizontal Frame on a Record"
From SmartWiki
Lorena Ruiz (talk | contribs) |
Lorena Ruiz (talk | contribs) |
||
Line 16: | Line 16: | ||
For other Object Type IDs, see [[Object Types]] page. | 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: | Alternatively, the notes can be opened within a lightbox by using the following script within an On Demand Special - Browser Script: |
Latest revision as of 15:04, 23 August 2016
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>
- For a Level 1 record:
<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:
- For a Level 1 record:
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.