{"id":31096,"date":"2017-09-05T10:39:46","date_gmt":"2017-09-05T02:39:46","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=31096"},"modified":"2018-11-05T11:28:28","modified_gmt":"2018-11-05T03:28:28","slug":"comments-button-4-4","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/comments-button\/comments-button-4-4\/","title":{"rendered":"Comments Button (4.4)"},"content":{"rendered":"<p class=\"page-subheading\"><\/p>\n<p class=\"left-bar\">This article applies to versions 4.4.0-4.4.6 of P2 Explorer. For the latest, see <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/comments-button\/\">Comments Button<\/a>.<\/p>\n<h2 class=\"page-subheading\">Overview<\/h2>\n<p class=\"overview\">The Comments Button displays a small icon (<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-8141\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/11\/commenticonempty.png\" alt=\"commenticonempty\" width=\"15\" height=\"12\" data-pin-nopin=\"true\" \/>\u00a0or\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4884\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/08\/image024.png\" alt=\"image024\" width=\"12\" height=\"10\" data-pin-nopin=\"true\" \/>) which, when clicked, launches a window that allows users to enter and view comments relating to a specific entity and context.<\/p>\n<p class=\"intro-text\">The comments are stored in P2 Server and can be viewed anywhere in Explorer where the same context is used.<\/p>\n<p class=\"intro-text\">The white icon indicates that no comments have yet been made for that entity and context, whereas the black icon indicates that comments have already been made. When the button is clicked, a floating comments window appears.\u00a0<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14411\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbuttonbox.png\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbuttonbox-139x150.png 139w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbuttonbox-278x300.png 278w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbuttonbox.png 462w\" alt=\"Comments 4.4\" width=\"462\" height=\"498\" \/><\/p>\n<p class=\"intro-text\">Users can add and view comments for an entity and context, within a specified time range. Users cannot change that time range. However, users can search for additional comments within other time ranges, but cannot add comments against those other time ranges.<\/p>\n<div class=\"best-prac\"><i class=\"fa fa-star fa-2x fa-pull-left\"><\/i><span class=\"best-prac-text\">TOP TIP<\/span><\/p>\n<p class=\"intro-text\">If\u00a0you want to position the comments button very close to another component, you need to use <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/precision-layout\/\">Precision Layout<\/a>. If you drag a Precision Layout onto a grid cell, then you will be able to move the 'set' of components easily, by moving the grid cell around.<\/p>\n<\/div>\n<p class=\"left-bar-p2blue\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/using-the-page-controls\/comments\/\">Using Comments for collaboration<\/a> in display mode, Adding a new <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/styles\/#Comments_Button\">Comments Button style<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/primers\/comments\/\">Comments: Communicating with Context<\/a><\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Configuring the Comments Button\u00a0<\/h2>\n<p class=\"intro-text\">There are 2 configuration modes for the Comments Button. Basic mode (shown below) shows the options most commonly used. Advanced mode (which we will use in the tutorial) allows you to change the type of properties used.<\/p>\n<h3>Basic Mode<\/h3>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2.png\" rel=\"attachment wp-att-14417 lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14417\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2.png\" alt=\"Comments 4.4\" width=\"998\" height=\"311\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2.png 998w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2-768x239.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2-150x47.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2-24x7.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2-36x11.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/commentsbutton2-48x15.png 48w\" sizes=\"auto, (max-width: 998px) 100vw, 998px\" \/><\/a><\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"130\"><strong>Start Date\/Time<\/strong>:<\/td>\n<td>The\u00a0date\/time from which to display comments. This will be entered as the default start of the search date range.<\/td>\n<\/tr>\n<tr>\n<td><strong>End Date\/Time<\/strong>:<\/td>\n<td>The date\/time at which to stop displaying comments.\u00a0This will be entered as the default end\u00a0of the search date range.<\/td>\n<\/tr>\n<tr>\n<td><strong>Entity:<\/strong><\/td>\n<td>The\u00a0entity that all these comments apply to. All comments entered in this box will apply to this entity.<\/td>\n<\/tr>\n<tr>\n<td><strong>Context:<\/strong><\/td>\n<td>The situation in which these comments apply. All comments entered in this box will have this context. If another comment box is placed on another page, with this same context and for the same entity, the comments for both will appear in both comment boxes. If the entity is the same but the context is different, the comments will be shown independently.<\/td>\n<\/tr>\n<tr>\n<td><strong>Style:<\/strong><\/td>\n<td>The style you want to apply to the Comments Button. If you are a Style Administrator,\u00a0you can\u00a0add a new <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/styles\/#Comments_Button\">Comments Button\u00a0style<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Advanced Mode<\/h3>\n<p class=\"intro-text\">In Advanced mode, you have the option of switching between variable and text fields. The first 3 fields are set to variables initially, and have default values associated with them.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13913\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsadvanced.png\" alt=\"Comments Button 4.4\" width=\"465\" height=\"300\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsadvanced.png 465w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsadvanced-150x97.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsadvanced-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsadvanced-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsadvanced-48x31.png 48w\" sizes=\"auto, (max-width: 465px) 100vw, 465px\" \/><\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/variables\/\">Variables<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/default-value\/\">Default Values<\/a><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">What is Context?<\/h2>\n<p class=\"intro-text\">Context is the\u00a0mechanism by which P2 Explorer exposes all comments related to a specific entity, and this is something that the page designer does when creating a page.<\/p>\n<p class=\"intro-text\">A comment\u2019s context is some extra information that is added to the comment, and is used to associate comments with other comments for that entity that use the same context.<\/p>\n<p class=\"intro-text\">As an entity can be used on lots of different pages, adding context to a comment means that you can see \u00a0all of the comments that have been made for that entity with that context, every time you open the comments box, no matter which page you are looking at.<\/p>\n<p class=\"intro-text\">All comments entered via a Comments Button\u00a0component on a page has the context that is specified by the page designer. For example, if the comments on a page all have the context of \u201cReport\u201d, Explorer can apply filtering to all the comments in the system to only show comments for an entity with the \"Report\" context.\u00a0<\/p>\n<p class=\"intro-text\">Taking this a step further, a page designer can use the same context for the same entity on a completely different page. When a comment is applied to that entity, users will see all comments for that entity and\u00a0context (e.g. Report), even though they are displayed on different pages.<\/p>\n<p class=\"left-bar-blue\"><i class=\"fa fa-eye fa-2x fa-pull-left\"><\/i> \u00a0SEE IT IN ACTION! Watch this video to see how comments with context work on a page.<\/p>\n\r\n\t<!-- Begin Video.js -->\r\n\t<video id=\"example_video_id_835672018\" class=\"video-js vjs-default-skin\" width=\"1000\" height=\"734\" controls preload=\"none\" data-setup='[]'>\r\n\t\t<source src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/videos\/Commentcontext.mp4\" type='video\/mp4' \/>\r\n\t\t\r\n\t\t\r\n\t<\/video>\r\n\t<!-- End Video.js -->\r\n\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Tutorial: Adding\u00a0<span id=\"Step_by_Step_Creating_an_Event_ControlledCombo_Box\">Comments Buttons to an Image<\/span><\/h2>\n<p class=\"note\">If you're unfamiliar with the process of building pages, read the article\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-create-your-first-page\/building-an-explorer-page\/\">Building an Explorer Page<\/a>.<\/p>\n<p class=\"intro-text\">In this tutorial, we\u2019ll look at adding two Comment Buttons to an image, for displaying comments on Tubing Head Pressure and Tubing Head Temperature. We'll then create another page to show how the context allows the comments to appear on different displays in P2 Explorer.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2794\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay.png\" alt=\"commentsdisplay\" width=\"664\" height=\"557\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay.png 664w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-150x126.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-48x40.png 48w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a><\/p>\n<p class=\"intro-text\">Let\u2019s go through this process, step-by-step.<\/p>\n<p class=\"left-bar\">Note: This configuration uses the <em>Sample Data<\/em> table and datasets that can be optionally made available during initial installation and setup. If you don't have access to this data, you will need to adjust the configuration to suit your data at your site.<\/p>\n<hr \/>\n<p class=\"intro-text\"><strong>Step 1. Prepare a Studio Page<\/strong><\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14281\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/01\/newpage.png\" sizes=\"auto, (max-width: 438px) 100vw, 438px\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/01\/newpage-400x100.png 400w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/01\/newpage-250x62.png 250w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/01\/newpage-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/01\/newpage-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/01\/newpage-48x12.png 48w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/01\/newpage.png 438w\" alt=\"New Page button on ribbon\" width=\"438\" height=\"109\" \/><\/p>\n<p class=\"intro-text\">Before you start, click the <strong>New Page<\/strong>\u00a0button on the Home tab of the ribbon. Choose the Precision\u00a0layout.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose.png\" rel=\"attachment wp-att-14475 lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-14475\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose.png\" alt=\"Precision Layout 4.4\" width=\"907\" height=\"587\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose.png 907w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose-768x497.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose-150x97.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/precisionlayout-choose-48x31.png 48w\" sizes=\"auto, (max-width: 907px) 100vw, 907px\" \/><\/a><\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/precision-layout\/\">Precision Layout<\/a> tutorial<\/p>\n<p class=\"note\">Note: We need to spend a bit of time setting up so you can see the comments in context.<\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 2. Add a Background Image<\/strong><\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13815 size-large\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/addimage-800x398.png\" alt=\"Image 4.4\" width=\"800\" height=\"398\" \/><\/p>\n<p class=\"intro-text\">A background image is often used in schematic-style pages. Let's use the Image component to do this.<\/p>\n<ul class=\"intro-text\">\n<li>Drag the Image component onto the canvas, and resize it so that it fits the page.<\/li>\n<li>Configure it as follows:\n<ul class=\"intro-text\">\n<li>Display: (Options) Center<\/li>\n<li>Default Image URL:\u00a0https:\/\/cadrondev01.petroleumplace.com\/ExplorerImages\/GasLift.gif<br \/>\n Note: You will\u00a0need to change\u00a0the image\u00a0to one that is available at your site.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/image\/\">Image<\/a>\u00a0tutorial<\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 3. Add 2 Data Labels\u00a0to the Page<\/strong><\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13878\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/2.-commentsdatalabels.png\" alt=\"Comments Button 4.4\" width=\"1107\" height=\"692\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/2.-commentsdatalabels.png 1107w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/2.-commentsdatalabels-768x480.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/2.-commentsdatalabels-150x94.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/2.-commentsdatalabels-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/2.-commentsdatalabels-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/2.-commentsdatalabels-48x30.png 48w\" sizes=\"auto, (max-width: 1107px) 100vw, 1107px\" \/><\/p>\n<p class=\"intro-text\">Drag and drop 2\u00a0Data Label\u00a0components onto the canvas, and position them near the Tubing Head on the diagram.\u00a0<\/p>\n<ul class=\"intro-text\">\n<li>Configure the 1st label to use a tag (e.g. 015AC105L.PV).<\/li>\n<li>Configure the 2nd label to use another tag (e.g.\u00a0015AC108L.PV).<\/li>\n<\/ul>\n<p class=\"intro-text\"><strong>Note<\/strong>: You will need to adjust the configuration to suit your data at your site.<\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/data-label\/\">Data Label<\/a>\u00a0tutorial,\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/data-selector\/\">Data Selector<\/a>\u00a0<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<p class=\"intro-text\"><strong>Step 4. \u00a0Add 2 Text Labels to the Page<\/strong><\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13879\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/3.commentstext.png\" alt=\"Comments Button 4.4\" width=\"1109\" height=\"693\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/3.commentstext.png 1109w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/3.commentstext-768x480.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/3.commentstext-150x94.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/3.commentstext-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/3.commentstext-36x22.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/3.commentstext-48x30.png 48w\" sizes=\"auto, (max-width: 1109px) 100vw, 1109px\" \/><\/p>\n<p class=\"intro-text\">Drag and drop 2 Text\u00a0Label\u00a0components onto the canvas, and position them near the Data Labels\u00a0on the diagram.<\/p>\n<ul class=\"intro-text\">\n<li>Configure the 1st label as follows:\n<ul class=\"intro-text\">\n<li>Content:\u00a0psi<\/li>\n<\/ul>\n<\/li>\n<li>Configure the 2nd label as follows:\n<ul class=\"intro-text\">\n<li>Content:\u00a0degC<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-label\/\">Text\u00a0Label<\/a>\u00a0tutorial<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<p class=\"intro-text\"><strong>Step 5. Add the Comments Buttons<\/strong><\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13880\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/4commentsbutton.png\" alt=\"Comments Button 4.4\" width=\"1112\" height=\"692\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/4commentsbutton.png 1112w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/4commentsbutton-768x478.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/4commentsbutton-150x93.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/4commentsbutton-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/4commentsbutton-36x22.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/4commentsbutton-48x30.png 48w\" sizes=\"auto, (max-width: 1112px) 100vw, 1112px\" \/><\/p>\n<p class=\"intro-text\">Drag and drop 2 Comments Button\u00a0components onto the canvas, and position them near the Text\u00a0Labels\u00a0on the diagram.\u00a0The Comments Button is in the Display <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/display.png\" rel=\"lightbox[1429] lightbox-3\" data-slimstat-clicked=\"false\" data-slimstat-type=\"2\" data-slimstat-tracking=\"false\" data-slimstat-async=\"false\" data-slimstat-callback=\"false\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1844\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/display.png\" alt=\"Display group icon\" width=\"22\" height=\"13\" \/><\/a>\u00a0group.<\/p>\n<p class=\"intro-text\">Click the <strong>Advanced<\/strong> button to see additional options.<\/p>\n<ul class=\"intro-text\">\n<li>Configure the 1st Comment Button\u00a0as follows, to connect it with the tag used for the 1st Data Label:\n<ul class=\"intro-text\">\n<li>Entity:\u00a0(Text) 015AC105L.PV<\/li>\n<li>Context:\u00a0(Text)\u00a0THP<\/li>\n<\/ul>\n<\/li>\n<li>Configure the 2nd Comment Button\u00a0as follows, to connect it with the tag used for the 2nd\u00a0Data Label:\n<ul class=\"intro-text\">\n<li>Entity:\u00a0(Text)\u00a0015AC108L.PV<\/li>\n<li>Context:\u00a0(Text)\u00a0THT<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p class=\"intro-text\">\u00a0<\/p>\n<p class=\"intro-text\"><strong>Step 6. Add a Comment<\/strong><\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13881\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/5.addcomment.png\" alt=\"Comments Button 4.4\" width=\"849\" height=\"590\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/5.addcomment.png 849w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/5.addcomment-768x534.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/5.addcomment-150x104.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/5.addcomment-24x17.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/5.addcomment-36x25.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/5.addcomment-48x33.png 48w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/>\u00a0<\/p>\n<p class=\"intro-text\">We're going to add a comment or two against the Tubing Head Pressure entity, so we can see how it works.<\/p>\n<ul class=\"intro-text\">\n<li>Click the <strong>Finish and Open<\/strong> <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/livemode1.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2978\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/livemode1.png\" alt=\"livemode\" width=\"14\" height=\"16\" \/><\/a>\u00a0button on the Studio toolbar to <a title=\"Saving Your Page\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-create-your-first-page\/saving-your-page\/\">save your page<\/a> and open it in run-time.<\/li>\n<li>Click the Comments Button for the Tubing Head Pressure tag (the first one you added).<\/li>\n<li>Type a comment in the comment box and press Enter. Notice that the comments button now turns black - this indicates that there are comments for this tag.<\/li>\n<\/ul>\n<p class=\"intro-text\">Remember that in the previous step we configured this Comments Button with a context of THP. In the next step, we'll see how the combined entity name and context allows you to see this comment on a completely different page.<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<p class=\"intro-text\"><strong>Step 7. Create a New Page and Add a Comments Button<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-13882\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/6.newbutton.png\" alt=\"Comments Button 4.4\" width=\"1242\" height=\"557\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/6.newbutton.png 1242w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/6.newbutton-768x344.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/6.newbutton-150x67.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/6.newbutton-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/6.newbutton-36x16.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/6.newbutton-48x22.png 48w\" sizes=\"auto, (max-width: 1242px) 100vw, 1242px\" \/><\/p>\n<p class=\"intro-text\">Click the <strong>New Page<\/strong>\u00a0button on the Home tab of the ribbon. Choose the <a title=\"Grid Layout\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/grid-layout\/\">Grid<\/a>\u00a0layout.<\/p>\n<ul class=\"intro-text\">\n<li>Drag the Comments Button component onto the canvas.<\/li>\n<li>Configure it as follows:\n<ul class=\"intro-text\">\n<li>Entity:\u00a0(Text)\u00a0015AC105L.PV<\/li>\n<li>Context:\u00a0(Text)\u00a0THP<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul class=\"intro-text\">\n<li>Click the <strong>Finish and Open<\/strong> <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/livemode1.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2978\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/livemode1.png\" alt=\"livemode\" width=\"14\" height=\"16\" \/><\/a>\u00a0button on the Studio toolbar to <a title=\"Saving Your Page\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-create-your-first-page\/saving-your-page\/\">save your page<\/a> and open it in run-time.<\/li>\n<li>Click the Comments Button. You should see the comment that you entered in the previous step.<\/li>\n<\/ul>\n<p class=\"intro-text\">\u00a0<\/p>\n<p class=\"intro-text\"><strong>Step 8. All done! \u00a0<\/strong><\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2794\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay.png\" alt=\"commentsdisplay\" width=\"664\" height=\"557\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay.png 664w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-150x126.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/commentsdisplay-48x40.png 48w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a><\/p>\n<p class=\"intro-text\">Congratulations! You now have a schematic-style page with two Comments Buttons. You can enter comments against the entities that they have been configured to. You can also view the comments made against the tubing head pressure entity on another page. If you want, have a play around with the configuration, and see what happens when you change the entity names or contexts.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1348\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/save.png\" alt=\"save\" width=\"48\" height=\"53\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/save.png 48w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/save-22x24.png 22w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/save-33x36.png 33w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/save-43x48.png 43w\" sizes=\"auto, (max-width: 48px) 100vw, 48px\" \/>\u00a0Don\u2019t forget to <a title=\"Saving Your Page\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-create-your-first-page\/saving-your-page\/\">save your page<\/a>!<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/comments-button\/comments-button-4-3-2\/\">Comments Button 4.3.2<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Comments Button displays a small icon which, when clicked, launches a floating window that allows the user to enter and view comments relating to a specific entity and context. The comments are stored in P2 Server and can be viewed anywhere in Explorer where the same context is used. This article describes how to configure a Comments Button in versions 4.4.0-4.4.6 of P2 Explorer.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/comments-button\/comments-button-4-4\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":4482,"parent":37650,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[689,663],"class_list":["post-31096","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-button","tag-comment","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/31096","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=31096"}],"version-history":[{"count":0,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/31096\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/37650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/4482"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=31096"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=31096"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=31096"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}