{"id":13134,"date":"2017-12-20T12:52:31","date_gmt":"2017-12-20T04:52:31","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=13134"},"modified":"2024-10-23T14:20:52","modified_gmt":"2024-10-23T06:20:52","slug":"month-picker","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/month-picker\/","title":{"rendered":"Month Picker"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.4 and later of IFS OI Explorer. For more, see <a href=\"#Release_History\">Release History<\/a>.<\/p>\n<h2 class=\"page-subheading\">Overview<\/h2>\n<p class=\"overview\">The Month Picker component allows a user to select a month and year from a drop-down list. This sets the two <em>datetime<\/em> variables linked to <strong>Start Date\/Time<\/strong> and <strong>End Date\/Time<\/strong>, as well as the two <em>number<\/em> variables linked to <strong>Month<\/strong> and <strong>Year<\/strong>.<\/p>\n<p class=\"intro-text\">In display mode, the Month Picker displays a month and year on the page, with a drop-down for selecting a different month and year.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-overview.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13841 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-overview.png\" alt=\"\" width=\"174\" height=\"367\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-overview.png 174w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-overview-71x150.png 71w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-overview-11x24.png 11w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-overview-17x36.png 17w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-overview-23x48.png 23w\" sizes=\"auto, (max-width: 174px) 100vw, 174px\" \/><\/a><\/p>\n<p class=\"left-bar-p2blue\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/using-the-page-controls\/using-time-pickers\/#Month_Picker\">Using a Month Picker<\/a> in display mode, Adding a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/explorer-styles\/styling-time-pickers\/\">Month Picker style<\/a>,\u00a0<a title=\"Variables\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/variables\/\">Variables<\/a>,\u00a0<a title=\"Default Values\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/default-value\/\">Default Values<\/a><\/p>\n<hr \/>\n<h2 class=\"page-subheading\">The Month Picker Component<\/h2>\n<p class=\"intro-text\">The Month Picker has two dates: Start Date\/Time and End Date\/Time, and two numbers: Month and Year.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13855 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-.png\" alt=\"\" width=\"532\" height=\"301\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker-.png 532w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker--150x85.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker--24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker--36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-picker--48x27.png 48w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/a><\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"130\"><strong>Start Date\/Time<\/strong>:<\/td>\n<td>The first day of the selected month\/year, at 12:00 AM.<\/p>\n<p>This is preconfigured to use the page default variable, <em>startTime<\/em>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>End Date\/Time<\/strong>:<\/td>\n<td>The first day of month <em>after<\/em> the selected month\/year, at 12:00 AM.<\/p>\n<p>This is preconfigured to use the page default variable, <em>endTime<\/em>.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td width=\"130\"><strong>Month<\/strong>:<\/td>\n<td>The month portion of <em>Start Date\/Time<\/em>, stored as a numeric variable. For example, if the selected value is February 2016, <em>selectedMonth<\/em> = <strong>2<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td><strong>Year<\/strong>:<\/td>\n<td>The year portion of <em>Start Date\/Time<\/em>, stored as a numeric variable. For example, if the selected year is February 2016, <em>selectedYear<\/em> = <strong>2016<\/strong>.<\/td>\n<\/tr>\n<tr>\n<td><strong>Style<\/strong>:<\/td>\n<td>The style you want to apply to the component. If you are a Style Administrator, you can create a new <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/explorer-styles\/styling-time-pickers\/\">Month Picker style<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"best-prac\"><i class=\"fa fa-trophy fa-2x fa-pull-left\"><\/i><span class=\"best-prac-text\">BEST PRACTICE<\/span><\/p>\n<p class=\"best-prac-desc\">Keep the preconfigured variables in the Month Picker if you want to simplify your work.<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Tutorial: Month Picker Using Default Values<\/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\/\" data-slimstat-clicked=\"false\" data-slimstat-type=\"2\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"false\" data-slimstat-async=\"false\">Building an Explorer Page<\/a>.<\/p>\n<p class=\"intro-text\">In this tutorial we'll build a new page from the <em>Date Time Tutorials<\/em> page. We'll add a Month Picker component that uses the page default values for <em>startTime<\/em> and <em>endTime<\/em>.<\/p>\n<p class=\"intro-text\">We'll also add two text labels to show the month picker's Year and Month numbers.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13902\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro.png\" alt=\"\" width=\"800\" height=\"433\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro.png 1123w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro-768x416.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro-150x81.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Intro-48x26.png 48w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p class=\"left-bar\"><strong>Note<\/strong>: This configuration uses the <em>Sample Data <\/em>table\u00a0and datasets that can be optionally made available\u00a0during 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<p class=\"intro-text\"><strong>Step 1. Prepare the Tutorial Page<\/strong><\/p>\n<p class=\"intro-text\">Before you start the tutorial, prepare a new date\/time tutorial page. If you have already created a \"Date\/Time Tutorials\" page, then open this. Otherwise follow the instructions in <a title=\" Date Time Tutorials\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/date-time-tutorials\/\"> Date Time Tutorials<\/a> to add the page.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13213\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components.png\" alt=\"\" width=\"791\" height=\"514\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components.png 1129w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-768x499.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-150x98.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-48x31.png 48w\" sizes=\"auto, (max-width: 791px) 100vw, 791px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 2. Save as a New Tutorial Page<\/strong><\/p>\n<p class=\"intro-text\">Save the page as \"Date Time Tutorials - Month Picker\" in your private workspace, <em>My Workspace<\/em>.<\/p>\n<p class=\"intro-text\">1. Click the <strong>Save As..<\/strong> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13286 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/save-as-button.png\" alt=\"\" width=\"21\" height=\"22\" \/> button on the Studio toolbar.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13253 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As.png\" alt=\"\" width=\"480\" height=\"250\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As.png 480w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-150x78.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-48x25.png 48w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. In the dialog that appears, type in <strong>Date Time Tutorials - Month Picker<\/strong>, and keep the default <strong>Workspace<\/strong>, <em>My Workspace<\/em>.<\/p>\n<p class=\"intro-text\">3. Click <strong>Save<\/strong>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-Month-Picker.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13250 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-Month-Picker.png\" alt=\"\" width=\"590\" height=\"289\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-Month-Picker.png 590w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-Month-Picker-150x73.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-Month-Picker-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-Month-Picker-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-Month-Picker-48x24.png 48w\" sizes=\"auto, (max-width: 590px) 100vw, 590px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 3. Add a Month Picker<\/strong><\/p>\n<p class=\"intro-text\">1. Drag a Month Picker component onto top right of the Precision Layout, as shown.\u00a0The Month\u00a0Picker is in the Time <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/timeicon_sm.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1865\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/timeicon_sm.png\" alt=\"timeicon_sm\" width=\"18\" height=\"17\" \/><\/a>\u00a0group.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13904\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4.png\" alt=\"\" width=\"900\" height=\"323\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4.png 1326w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4-768x276.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4-150x54.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4-1280x459.png 1280w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-4-48x17.png 48w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. Click on the Month Picker component to review it<\/p>\n<p class=\"intro-text\">There is no need to change any of the properties. Note that <strong>Start Date\/Time<\/strong> and <strong>End Date\/Time<\/strong> are preconfigured to use the Page Defaults <em>startTime<\/em> and <em>endTime<\/em>, respectively.<\/p>\n<p class=\"intro-text\">Remember that these variables are also used in the text labels and tags in your tutorial page, so you'll be able to observe how they change when you select a new month\/year from the month picker.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-Picker.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13903 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-Picker.png\" alt=\"\" width=\"354\" height=\"293\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-Picker.png 354w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-Picker-150x124.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-Picker-24x20.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-Picker-36x30.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Month-Picker-48x40.png 48w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 4. Add Text Labels<\/strong><\/p>\n<p class=\"intro-text\">In this step we're going to add text labels to show <em>selectedMonth<\/em> and <em>selectedYear<\/em>, set by the Month Picker's respective <strong>Month<\/strong> and <strong>Year<\/strong> properties.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13899\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels.png\" alt=\"\" width=\"800\" height=\"178\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels.png 1108w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels-768x171.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels-150x33.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Add-text-labels-48x11.png 48w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p class=\"left-bar\">Related: <a title=\"Text Label\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/text-label\/\">Text Label<\/a>.<\/p>\n<p class=\"intro-text\">1. Drag a Text Label onto the top left of the page. In the text label's <strong>Content<\/strong> type <em>Month:<\/em> then click <strong>Add Data<\/strong> and add the Month Picker's <strong>Month<\/strong> variable, <em>selectedMonth<\/em>, with a <em>Normal<\/em> format.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-1.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13905 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-1.png\" alt=\"\" width=\"346\" height=\"390\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-1.png 346w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-1-133x150.png 133w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-1-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-1-32x36.png 32w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-1-43x48.png 43w\" sizes=\"auto, (max-width: 346px) 100vw, 346px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. Drag another Text Label onto the top left of the page, below the first one. In the text label's <strong>Content<\/strong> type <em>Year:<\/em> then click <strong>Add Data<\/strong> and add the Month Picker's <strong>Year<\/strong> variable, <em>selectedYear<\/em>, with a <em>Normal<\/em> format.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-2.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13906 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-2.png\" alt=\"\" width=\"348\" height=\"397\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-2.png 348w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-2-131x150.png 131w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-2-21x24.png 21w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-2-32x36.png 32w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Text-Label-2-42x48.png 42w\" sizes=\"auto, (max-width: 348px) 100vw, 348px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Try out the New Component<\/strong><\/p>\n<p class=\"intro-text\">1. Click the Preview <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2896\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" alt=\"preview\" width=\"13\" height=\"14\" \/><\/a> button on the Studio toolbar to see what your page will look like in run-time.<\/p>\n<p class=\"intro-text\">2. Select <em>June 2015 <\/em>from the Month Picker.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13920\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2.png\" alt=\"\" width=\"900\" height=\"384\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2.png 961w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2-768x328.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2-150x64.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2-36x15.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Conclusion-part-1-2-48x20.png 48w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p class=\"note\"><strong>Note<\/strong> how the Start Time and End Time text labels update, as well as the tag values using <em>startTime<\/em> and <em>endTime<\/em>, respectively. The Month and Year text labels also update to show the numerical variables, <em>selectedMonth<\/em> and <em>selectedYear<\/em>.<\/p>\n<div id=\"attachment_13928\" style=\"width: 889px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3.png\" rel=\"lightbox-14\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-13928\" class=\"wp-image-13928 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3.png\" alt=\"\" width=\"879\" height=\"398\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3.png 879w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3-768x348.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3-150x68.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3-36x16.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/conclusion-3-48x22.png 48w\" sizes=\"auto, (max-width: 879px) 100vw, 879px\" \/><\/a><p id=\"caption-attachment-13928\" class=\"wp-caption-text\">The month picker selection updates variables, as shown on the page.<\/p><\/div>\n<p class=\"left-bar-yellow\"><strong>Note<\/strong> If you refresh the page in run time, the startTime and endTime variables revert to the page default values, and the month picker shows the text: \"Choose month...\".<\/p>\n<p class=\"left-bar-blue\">The video below shows a page with a chart that uses data from a dataset query with a <em>month<\/em> parameter. The month parameter uses the <strong>Month<\/strong> variable (<em>selectedMonth<\/em>) from the Month Picker. Note how the chart and the text label update every time a new month is selected, and how the start and end dates change in the text labels.<\/p>\n\r\n\t<!-- Begin Video.js -->\r\n\t<video id=\"example_video_id_1128963331\" class=\"video-js vjs-default-skin\" width=\"902\" height=\"478\" controls preload=\"none\" data-setup='[]'>\r\n\t\t<source src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/videos\/MonthPicker2.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<hr \/>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li><a title=\"Month Picker (4.3.2)\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/month-picker\/month-picker-4-3-2\/\">Month Picker 4.3.2<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Month Picker component allows a user to select a month and year from a drop-down list. This sets the two datetime variables linked to Start Date\/Time and End Date\/Time, as well as the two number variables linked to Month and Year. All of these variables can be used to update data on the page. This article describes the month picker, and applies to versions 4.4 and later of IFS OI 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\/month-picker\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":8,"featured_media":13790,"parent":1407,"menu_order":323,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[348],"class_list":["post-13134","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-date-and-time-pickers","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/13134","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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=13134"}],"version-history":[{"count":3,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/13134\/revisions"}],"predecessor-version":[{"id":67041,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/13134\/revisions\/67041"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/1407"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/13790"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=13134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=13134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=13134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}