Difference between revisions of "Displaying Notes as a Horizontal Frame on a Record"
From SmartWiki
(Created page with 'To view the Notes on a record as a frame on the record itself, create a Read Only – System Variables field that references…') |
Lorena Ruiz (talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 15: | Line 15: | ||
word-wrap: break-word;"><iframe width=100% height=400 frameborder=0 src="/s_viewnotes.jsp?appid=102564&objecttype=100&objectid=@opportunityid@"></iframe></pre> | word-wrap: break-word;"><iframe width=100% height=400 frameborder=0 src="/s_viewnotes.jsp?appid=102564&objecttype=100&objectid=@opportunityid@"></iframe></pre> | ||
− | For other | + | 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 {{l1}} record:'' | ||
+ | <pre style="white-space: pre-wrap; | ||
+ | white-space: -moz-pre-wrap; | ||
+ | white-space: -pre-wrap; | ||
+ | white-space: -o-pre-wrap; | ||
+ | word-wrap: break-word;">openinmwin('/s_viewnotes.jsp?appid=@system.gmsID@&objecttype=100&objectid=@opportunityid@','Lightbox Title','100');</pre> | ||
+ | The number value controls the default lightbox height. It can also be left blank if you wish for the system to autoset the height. | ||
[[Category:Notes]] | [[Category:Notes]] |
Latest revision as of 16: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.