CINXE.COM

TPGateway | Journey Overview of a SFC Training Provider supported by Lead Agencies

<!DOCTYPE html> <html class="no-js" lang="en"> <head> <meta charset="utf-8"><script type="text/html" id="sf-tracking-consent-manager"> <div class="consent-container" id="tracking-consent-dialog" style="z-index: 100000;"> <div class="consent-text-container"> <strong>Training Partners Gateway</strong> <p>Training Partners Gateway uses cookies to offer you a better browsing experience. By continuing to use this website, you consent to our use of cookies.</p> </div> <div class="consent-button-container"> <button class="btn btn-default btn-secondary consent-accept" id="tracking-consent-dialog-accept" type="button" onclick="TrackingConsentManager.updateUserConsent(true)">I accept</button> </div> </div> </script><script type="text/javascript" src="/WebResource.axd?d=DzHrpQl5URXarFHAtrmzFp7OBFEjfQGX-QuWXTWn3yM_Ztl0Ymehcx_-qBZk1PssAj_BVLWMuU8HicSbO6g52i3U-K_Unhmg93HhqvSS_Qgwvb2SbtNpEDtwyPqEe7MikWvkNN8aq7qRmNqeGbh1rH-qcVmIZkBTTGWFYiN9gx2UwpGf0&amp;t=638427473503004950"> </script> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title> TPGateway | Journey Overview of a SFC Training Provider supported by Lead Agencies </title> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="/assets/styles/main.css?v=1.1"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&amp;display=swap"> <link rel="shortcut icon" type="image/ico" href="/assets/images/favicon.ico"> <link rel="apple-touch-icon" sizes="57x57" href="/assets/images/app.png" /> <link rel="apple-touch-icon" sizes="72x72" href="/assets/images/app.png" /> <link rel="apple-touch-icon" sizes="114x114" href="/assets/images/app.png" /> <link rel="apple-touch-icon" sizes="144x144" href="/assets/images/app.png" /> <meta property="og:title" content="TPGateway | Journey Overview of a SFC Training Provider supported by Lead Agencies" /><meta property="og:description" content="Journey Overview of a SFC Training Provider supported by Lead Agencies" /><meta property="og:url" content="https://www.tpgateway.gov.sg/get-started/journey-overview-of-a-sfc-training-provider-supported-by-lead-agencies" /><meta property="og:type" content="website" /><meta property="og:site_name" content="SSG" /><script type="text/javascript" src="//cdn.evgnet.com/beacon/skillsfuturesingapore/ssg_prod/scripts/evergage.min.js"></script><script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=UA-158691572-1"></script><script type="text/javascript"> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-158691572-1'); </script><link rel="canonical" href="https://www.tpgateway.gov.sg/get-started/journey-overview-of-a-sfc-training-provider-supported-by-lead-agencies" /><meta name="description" content="Journey Overview of a SFC Training Provider supported by Lead Agencies" /></head> <body> <!--[if lt IE 11]> <p class='browsehappy'>You are using an <strong>outdated</strong> browser. Please <a href='http://browsehappy.com/'>upgrade your browser</a> to improve your experience.</p> <![endif]--> <header class="site-header"> <div class="sg-gov-banner"> <div class="container"><a href="https://www.gov.sg" target="_blank" title="Singapore Government Website"><span class="img-sg-crest"><img src="/assets/images/icon-sg-crest.svg" alt="Singapore Government Website"></span><span>A Singapore Government Agency Website</span></a></div> </div> <div class="container"> <div class="site-header__logo"> <a href="/"> <img src="/images/default-source/home-page/ssg-logo.png?sfvrsn=5ce6e46c_4" alt="SSG logo"> </a> </div> <div class="site-header__nav-toggle mobile-tablet"> <button type="button"> <span class="line line1"></span> <span class="line line2"></span> <span class="line line3"></span> <span class="line line4"></span> </button> </div> <div class="site-header__login"> <a class="cta cta-login no-style" href=""> <img class="desktop-only" src="/assets/images/Log in with Singpass - Red Inline - Recommended.svg" alt="button image"> <i class="mobile-tablet icon-login"></i> </a> <ul class="site-header__logged-in-ctas"> <li class="site-header__cta cta-workspace"> <a class="cta" href="/workspace/"><i class="icon-square-grids"></i></a> </li> <li class="site-header__cta cta-notifications"> <a class="cta" href="/workspace/notification/"><i class="icon-bell"></i><span class="badge"></span></a> </li> <li class="site-header__cta cta-logout"> <a class="cta" href="#logout"><i class="icon-login"></i></a> <div class="site-header__dropdown"> <ul class="site-header__dropdown-links"> <li><a href="/workspace/user-management/UserProfile.aspx">My Profile</a></li> <li><a href="/workspace/SoftLandingPage.aspx">Tutorial</a></li> <li><a href="/workspace/session/Logout.aspx?Source=TPG">Logout</a></li> </ul> </div> </li> </ul> </div> <div class="site-header__search-toggle"> <button aria-label="Search"><i class="icon-search"></i></button> </div> <nav class="site-header__nav"> <ul class="nav-level1"> <li> <a>Who We Are</a><i class="icon-chevron-right mobile-tablet" data-toggle="data-toggle"></i> <ul class="nav-level2" style="display: none;"> <li> <a href="/who-we-are/about-training-partners-gateway">About Training Partners Gateway</a> </li> <li> <a href="/who-we-are//self-help-guides">Self Help Guides</a><i class="icon-chevron-right" data-toggle="data-toggle"></i> <ul class="nav-level3" style="display: none;"> <li><a href="/who-we-are//self-help-guides/transaction-specific-self-help-guides">Transaction-specific Self Help Guides</a></li> <li><a href="/who-we-are//self-help-guides/agency-specific-self-help-guides">Agency-specific Self Help Guides</a></li> </ul> </li> <li> <a href="/who-we-are//new-features">New Features</a> </li> </ul> </li> <li> <a>Get Started</a><i class="icon-chevron-right mobile-tablet" data-toggle="data-toggle"></i> <ul class="nav-level2" style="display: none;"> <li> <a href="/get-started/education-(training-and-adult-education-industry)-transformation-map">Education (Training and Adult Education) Industry Transformation Map</a> </li> <li> <a href="/get-started/journey-overview-of-a-training-provider">Journey Overview of a Training Provider</a> </li> <li> <a href="/get-started/journey-overview-of-a-private-education-institution-(pei)">Journey Overview of a Private Education Institution</a> </li> <li> <a href="/get-started/journey-overview-of-a-sfc-training-provider-supported-by-lead-agencies">Journey Overview of a SFC Training Provider supported by Lead Agencies</a> </li> <li> <a href="/get-started/journey-overview-of-a-programme-partner">Journey Overview of a Programme Partner (Enterprise Users)</a> </li> </ul> </li> <li> <a>Plan Courses</a><i class="icon-chevron-right mobile-tablet" data-toggle="data-toggle"></i> <ul class="nav-level2" style="display: none;"> <li> <a href="/plan-courses/job-skills-insights">Job-Skills Insights</a> </li> <li> <a href="/plan-courses/skills-framework">Skills Framework</a> </li> <li> <a href="/plan-courses/inclusive-training">Inclusive Training</a> </li> <li> <a href="/plan-courses/organisation-registration-for-first-time-training-provider">Organisation Registration for First-time Training Provider offering SSG-funded Courses</a><i class="icon-chevron-right" data-toggle="data-toggle"></i> <ul class="nav-level3" style="display: none;"> <li><a href="/plan-courses/organisation-registration-for-first-time-training-provider/apply-for-organisation-registration">Apply for Organisation Registration</a></li> <li><a href="/plan-courses/organisation-registration-for-first-time-training-provider/information-on-organisation-registration-private-education-institution-(or-pei)">Information on Organisation Registration – Private Education Institution (OR-PEI)</a></li> <li><a href="/plan-courses/organisation-registration-for-first-time-training-provider/change-in-entity">Change in Entity</a></li> </ul> </li> <li> <a href="/plan-courses/training-provider-quality-assessment-(tpqa)">Training Provider Quality Assessment (TPQA)</a> </li> <li> <a href="/plan-courses/course-accreditation">Course Accreditation</a> </li> <li> <a href="/plan-courses/course-funding">Course Funding</a> </li> <li> <a href="/plan-courses/skills-extraction-algorithm">Skills Extraction Algorithm (SEA)</a> </li> </ul> </li> <li> <a>Administer Courses</a><i class="icon-chevron-right mobile-tablet" data-toggle="data-toggle"></i> <ul class="nav-level2" style="display: none;"> <li> <a href="/administer-courses/course-administration">Course Administration</a> </li> <li> <a href="/administer-courses/course-customization">Course Customization</a> </li> </ul> </li> <li> <a>Training Grants</a><i class="icon-chevron-right mobile-tablet" data-toggle="data-toggle"></i> <ul class="nav-level2" style="display: none;"> <li> <a href="/training-grants/training-grants-from-government-agencies">Training Grants from Government Agencies</a> </li> </ul> </li> <li> <a>Resources</a><i class="icon-chevron-right mobile-tablet" data-toggle="data-toggle"></i> <ul class="nav-level2" style="display: none;"> <li> <a href="/resources/overview">Overview</a> </li> <li> <a href="/resources/announcements-and-circulars">Announcements and Circulars</a> </li> <li> <a href="/resources/information-for-private-education-institutions-(peis)">Information for Private Education Institutions (PEIs)</a><i class="icon-chevron-right" data-toggle="data-toggle"></i> <ul class="nav-level3" style="display: none;"> <li><a href="/resources/information-for-private-education-institutions-(peis)/enhanced-registration-framework-(erf)">Enhanced Registration Framework (ERF)</a></li> <li><a href="/resources/information-for-private-education-institutions-(peis)/edutrust-certification-scheme">EduTrust Certification Scheme</a></li> <li><a href="/resources/information-for-private-education-institutions-(peis)/credit-rating">Credit Rating</a></li> <li><a href="/resources/information-for-private-education-institutions-(peis)/protection-of-course-fees">Protection of Course Fees</a></li> <li><a href="/resources/information-for-private-education-institutions-(peis)/pei-listing">PEI Listing</a></li> <li><a href="/resources/information-for-private-education-institutions-(peis)/deregistered-peis">Deregistered PEIs</a></li> <li><a href="/resources/information-for-private-education-institutions-(peis)/resources">Resources</a></li> </ul> </li> <li> <a href="/resources/regulation">Regulation</a><i class="icon-chevron-right" data-toggle="data-toggle"></i> <ul class="nav-level3" style="display: none;"> <li><a href="/resources/regulation/legislation">Legislation</a></li> <li><a href="/resources/regulation/terms-for-training-providers">Terms for Training Providers</a></li> <li><a href="/resources/regulation/enforcement-actions">Enforcement Actions</a></li> </ul> </li> <li> <a href="/resources/inclusive-training">Inclusive Training</a> </li> <li> <a href="/resources/digitalisation">Digitalisation</a><i class="icon-chevron-right" data-toggle="data-toggle"></i> <ul class="nav-level3" style="display: none;"> <li><a href="/resources/digitalisation/training-management-system">Training Management System</a></li> <li><a href="/resources/digitalisation/training-quality-and-outcomes-measurement-(traqom)">Training Quality and Outcomes Measurement (TRAQOM)</a></li> <li><a href="/resources/digitalisation/developer-portal">Developer Portal</a></li> </ul> </li> <li> <a href="/resources/grow-talents">Grow Talents</a> </li> <li> <a href="/resources/facilities">Facilities</a> </li> <li> <a href="/resources/course-directory">Course Directory</a> </li> <li> <a href="/resources/call-for-information-proposal">Call for Information/ Proposal</a> </li> </ul> </li> </ul> </nav> </div> </header> <div class="site-search" data-searchurl="/search" data-endpoint="/SSGContentInterface/Header/GetSearchSuggestions"> <div class="container"> <div class="site-search__search"> <i class="icon-search"></i> <input type="search" placeholder="What are you looking for?"> <input type="hidden" data-sf-role="indexCatalogue" value="pages"> <input type="hidden" data-sf-role="suggestionFields" value="Title,Content"> <input type="hidden" data-sf-role="language" value="en"> <button class="clear" type="button"><i class="icon-close"></i></button> <div class="site-search__suggestions"> <div class="site-search__suggestions--suggested"> <p>Suggested Searches</p> <p class="no-results" style="display: none;">No Search suggestions found.</p> <ul> <li><a href="#"><strong>Accountancy</strong> Framework</a></li> <li><a href="#">Fundings in <strong>Accountancy</strong> sector</a></li> <li><a href="#">Courses under <strong>Accountancy</strong></a></li> <li><a href="#">Job & Skill insights for <strong>Accountancy</strong></a></li> </ul> </div> <div class="site-search__suggestions--fundings"> <p>Training Grants</p> <p class="no-results" style="display: none;">No training grant suggestions found.</p> <ul> <li><a href="#">Diploma in <strong>Accountancy</strong></a></li> <li><a href="#">Post-Diploma Certificate in Accounting Practice - Part of Advanced Diploma in <strong>Accountancy</strong></a></li> <li><a href="#">Post-Diploma Certificate in Advanced Financial Reporting & Assurance - Part of Advanced Diploma in <strong>Accountancy</strong></a></li> </ul> </div> </div> </div> <div class="site-search__submit"> <button class="submit" type="button">Search</button> </div> </div> </div> <script id="search-suggestion-template" type="text/x-dot-template"> {{~it:item:index}} <li tabindex="1"><a class="suggestion" href="{{=item.Link}}">{{=item.Title}}</a></li> {{~}} </script> <main class="main-content"> <div class="breadcrumb"> <ul> <li><a href="/" aria-label="Home"><i class="icon-home"></i></a></li> <li> <a href="/get-started">Get Started</a> </li> <li> <span>Journey Overview of a SFC Training Provider supported by Lead Agencies</span> </li> </ul> </div> <section class="journey"> <div class="container"> <div class="journey__header"> <h1>Journey Overview of a SFC Training Provider supported by Lead Agencies</h1> <hr> <p>This journey overview is meant for Training Providers (TP) who are offering SFC courses through lead agencies. For a start, you will need to be assigned with Corppass credentials and log into TPGateway via Singpass to transact within the portal. The following journey overview provides the essential steps to kickstart your SkillsFuture Credit transactions. Applicable Tiles mentioned in this section: 1) Course Registry 2) Organisation Profile 3) User Management 4) SkillsFuture Credit. Please note that steps 3, 4 and 5 are for new training providers only.</p> </div> <div class="journey__steps"> <ul class="journey-items"> <li class="journey-item"> <div class="journey-item__image match-height"><img src="/images/default-source/tp-journey/journey-1.png?sfvrsn=50a97355_0" alt="Journey 1"></div> <div class="journey-item__text match-height"> <div> <div class="journey-item__text--title"> <span>1</span> <h2>Get your Courses Uploaded</h2> </div> <div class="journey-item__text--text"> <p>Approach your supporting agency to have your courses approved and uploaded on TPGateway. Go to the “Course Registry” tile to check if your courses have been uploaded. Note: If you are a new TP, ensure step 5 is completed for the approved courses to be displayed on MySkillsFuture.gov.sg</p> </div> <div class="journey-item__text--ctas"> </div> </div> </div> </li> <li class="journey-item"> <div class="journey-item__image match-height"><img src="/images/default-source/tp-journey/journey-2.png?sfvrsn=247c3caf_0" alt="Journey 2"></div> <div class="journey-item__text match-height"> <div> <div class="journey-item__text--title"> <span>2</span> <h2>Update Courses</h2> </div> <div class="journey-item__text--text"> <p>Approach your supporting agency if you wish to edit, renew or cease your courses.</p> </div> <div class="journey-item__text--ctas"> </div> </div> </div> </li> <li class="journey-item"> <div class="journey-item__image match-height"><img src="/images/default-source/tp-journey/journey-3.png?sfvrsn=bcdb3a87_0" alt="Journey 3"></div> <div class="journey-item__text match-height"> <div> <div class="journey-item__text--title"> <span>3</span> <h2>Set up Corppass and Assigning User Permission (*for New TPs only)</h2> </div> <div class="journey-item__text--text"> <p>To transact in TPGateway, you are required to be assigned with Corppass credentials. Users with “TPGAdmin” Corppass role is required to assign permission for users to access the “SkillsFuture Credit” tile. *Your organisation and course files must be successfully uploaded by your supporting agency before you can proceed to login to TPGateway.</p> </div> <div class="journey-item__text--ctas"> <a class="cta cta-reverse" href="https://www.tpgateway.gov.sg/docs/default-source/default-document-library/about-tpg/new-guides-(apr2021)/01a-tgs_cm_getting-started-(new-tp)-qrg.pdf" target="_blank">Getting Started Quick Reference Guide for new TPs</a> </div> </div> </div> </li> <li class="journey-item"> <div class="journey-item__image match-height"><img src="/images/default-source/tp-journey/journey-4.png?sfvrsn=82728a82_0" alt="Journey 4"></div> <div class="journey-item__text match-height"> <div> <div class="journey-item__text--title"> <span>4</span> <h2>Update Organisation Profile (for New TPs only)</h2> </div> <div class="journey-item__text--text"> <p>Update your organisation information including mailing address and Corporate PayNow account for SkillsFuture Credit Payout under the “Organisation Profile” tile.</p> </div> <div class="journey-item__text--ctas"> </div> </div> </div> </li> <li class="journey-item"> <div class="journey-item__image match-height"><img src="/images/default-source/tp-journey/journey-5f51b208eec844ae99fad7ba0eb879cb8.png?sfvrsn=629f6adf_0" alt="Journey 5"></div> <div class="journey-item__text match-height"> <div> <div class="journey-item__text--title"> <span>5</span> <h2>Accept T&amp;Cs (for New TPs only)</h2> </div> <div class="journey-item__text--text"> <p>You are required to enter your organisation’s information and accept the T&amp;Cs upon your first login to TPGateway</p> </div> <div class="journey-item__text--ctas"> </div> </div> </div> </li> <li class="journey-item"> <div class="journey-item__image match-height"><img src="/images/default-source/tp-journey/journey-6128847d35b0643d08b61387d8138e32f.png?sfvrsn=718e042c_0" alt="Journey 6"></div> <div class="journey-item__text match-height"> <div> <div class="journey-item__text--title"> <span>6</span> <h2>SkillsFuture Credit Transactions (e.g. Pay-out, Refund etc) and Reports</h2> </div> <div class="journey-item__text--text"> <p>To begin your journey and view SkillsFuture Credit transaction reports or perform pay-out/refund request in TPGateway, click on the “SkillsFuture Credit” tile upon login to TPGateway. (Note: Users should have access to “SkillsFuture Credit” tile. Kindly refer to step 3 for User Permission)</p> </div> <div class="journey-item__text--ctas"> <a class="cta cta-reverse" href="https://www.tpgateway.gov.sg/docs/default-source/default-document-library/other/presentation-in-journey-map-sfc-170221.pdf?sfvrsn=68b6f3e5_4" target="_blank">Guide for SkillsFuture Credit Tile</a> </div> </div> </div> </li> </ul> </div> </div> </section> <article class="rte"> <div class="popup-panel" id="login"> <div class="popup-panel__wrapper"><button class="close" type="button"><em class="icon-close"></em></button> <div class="popup-panel__content"> <div class="popup-panel__content--header"> <h2>Training Partner Login</h2> <p class="subtitle">Singpass</p> </div> <div style="margin:0 0 16px;"><a class="cta cta-reverse" style="width:200px;" href="/workspace/session/Login.aspx" target="_blank">TPGateway</a> </div> <div class="popup-panel__content--footer"> <p>If you have not registered for Corppass for your entity, click <a target="_blank" href="https://www.corppass.gov.sg/cpauth/login/homepage?TAM_OP=login">here</a> to register and assign Singpass User accounts for the respective e-Services.</p> </div> </div> </div> </div> <style> .popup-panel__content &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; div &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; a { font-size: 12px; cursor: pointer; outline:0; } @media only screen and (min-width: 1024px) { .popup-panel__content &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; div &amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;amp;gt; a { font-size: 15px; } } </style> </article> </main> <section class="related-items-widget"> <div class="container"> <h2> You may also be interested in </h2> <div class="row"> <div class="col-sm-4"> <a class="related-item match-height" href="/plan-courses/organisation-registration-for-first-time-training-provider/information-on-organisation-registration-private-education-institution-(or-pei)" style="height: 142px;"> <h3>Information on Organisation Registration – Private Education Institution (OR-PEI)</h3> <p>Training Providers (TPs) seeking to offer both SSG funded courses and Private Education (PE) courses must meet the registration requirements established by SkillsFuture Singapore (SSG).</p> </a> </div> <div class="col-sm-4"> <a class="related-item match-height" href="/plan-courses/skills-framework" style="height: 142px;"> <h3>Skills Framework</h3> <p>As a Training Provider, you would need to develop courses to meet the evolving needs of the learners and their industries.</p> </a> </div> <div class="col-sm-4"> <a class="related-item match-height" href="/training-grants/training-grants-from-government-agencies" style="height: 142px;"> <h3>Training Grants from Government Agencies</h3> <p>Training Providers can view the list of training grants provided by various government agencies. Find out what are the respective training grants that are available.</p> </a> </div> </div> </div> </section> <footer class="site-footer"> <button class="back-to-top"><span>To Top</span><i class="icon-chevron-up"></i></button> <div class="container"> <div class="site-footer__top"> <p>Training Partners Gateway</p> <ul> <li><a target="_self" href="/faq">FAQ</a></li> <li><a target="_self" href="/footer-pages/feedback">Feedback</a></li> <li><a target="_self" href="/footer-pages/contact-us">Contact Us</a></li> </ul> </div> <div class="site-footer__bottom"> <ul> <li><a target="_self" href="/footer-pages/privacy-policy">Privacy Policy</a></li> <li><a target="_self" href="/footer-pages/terms-of-use">Terms Of Use</a></li> <li><a target="_self" href="/footer-pages/sitemap">Sitemap</a></li> <li><a target="_blank" href="https://www.tech.gov.sg/report_vulnerability">Report Vulnerability</a></li> <li><a target="_self" href="/footer-pages/reach">REACH</a></li> </ul> <div class="legal"> <p class="copyright-updated"><span>&#169; 2020, Government of Singapore</span><span>Last Updated 19 November 2024</span></p> <p class="browsers">Supported Browsers: Chrome 51, IE 11, Firefox 46, Safari 10, Opera 37 and above</p> </div> </div> </div> </footer> <script src="/assets/scripts/main.js?v=1.1"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js" integrity="sha384-vtXRMe3mGCbOeY7l30aIg8H9p3GdeSe4IFlP6G8JMa7o7lXvnz3GFKzPxzJdPfGK" crossorigin="anonymous"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js" integrity="sha384-Dziy8F2VlJQLMShA6FHWNul/veM9bCkRUaLqr199K94ntO5QUrLJBEbYegdSkkqX" crossorigin="anonymous"></script> <script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5e4cabf65ff54b85"></script> <script src="https://assets.wogaa.sg/scripts/wogaa.js" integrity="sha384-6SfdKlrDgL1dBzpw/Jx13x3jyrFNNk1HYFMcW2LBgwQxqTKxY3OJ/OEU2Ttccisu" crossorigin="anonymous"></script> <script type="application/json" id="PersonalizationTracker"> {"IsPagePersonalizationTarget":false,"IsUrlPersonalizationTarget":false,"PageId":"80865666-7e9b-42d7-8512-3b42270ac6fc"} </script><script type="text/javascript" src="/WebResource.axd?d=Oiw5o8i74rDb2VpVaCaMSk63aMKOZofrhd6qTBT_4oF550nHfqlq_RK5V7JQ84VvAM3yJU96_qJbBT2_v7dxC5e4o4NOU6rQBCFJ5eAdfJQhD1rib8HKs3oeiF89HKFjVhJKEWXSR_ebd-ADvMD9dl5oHhUHq1Rk9XS1Y4Gz4v_3nUCGwcMmYr3vWgQWssalubJ0phU0f_FSAc40-qIIjlxrJtk1&amp;t=638427473516342423"> </script> <script> function __tpg_setLoginStatus(loggedIn) { if(loggedIn) { var body = document.getElementsByTagName('body')[0]; body.classList.add('logged-in'); } } function __tpg_updateNotificationCount(count) { var badge = document.getElementsByClassName('badge')[0]; if(count > 0){ badge.classList.add('has-notifications'); } else { badge.classList.remove('has-notifications'); } badge.innerHTML = count.toString(); } (function() { // Initialize TPG script. // This function expects __tpg_setLoginStatus(bool) to be made available before this script starts. var __tpg_apiVerify = "/workspace/session/rest/session/verify"; var __tpg_notificationCount = -1; var __tpg_loopMilliseconds = 60000; // Check inactivity after 60secs var __tpg_loopId; var __tpg_continueIfNotLoggedIn = true; // To continue checking after knowing session is not active? var __tpg_continueIfLoggedIn = true; // To continue checking after knowing session is active? var __tpg_logInfo = false; // Set this to false to disable detail logging for Production. __tpg_init(500); // Start 0.5 second after script is loaded. function __tpg_init(milliseconds) { __tpg_log(false, 'Next session check ms: '+ milliseconds); // window.setTimeout returns an Id that can be used to start and stop a timer __tpg_loopId = window.setTimeout(__tpg_checkTpg, milliseconds) } function __tpg_log(isError, message) { let showLog = (isError === true || __tpg_logInfo === true); if (typeof __tpg_debugMode === "boolean") showLog = (showLog === true || __tpg_debugMode === true); if (showLog === true) window.console && console.log(message); } function __tpg_checkNotificationCount(notificationCount) { if (!/^\d+$/.test(notificationCount)) return; // Do nothing if notificationCount is not a number. let notificationCountNumber = parseInt(notificationCount, 10); if (notificationCountNumber === __tpg_notificationCount) return; // Do nothing if number are matching. __tpg_log(false, 'New Notificaton Count: '+ notificationCountNumber); // Can remove when pushed to prod - for testing if (typeof __tpg_updateNotificationCount === "function") __tpg_updateNotificationCount(notificationCountNumber); __tpg_notificationCount = notificationCountNumber; // Update the count to variable } // Check if TPG is initialized or Last Activity is greater than Last Extension function __tpg_checkTpg() { // Creating the XMLHttpRequest object let $requestTPG = new XMLHttpRequest(); // Instantiating the request object $requestTPG.open("GET", __tpg_apiVerify); $requestTPG.withCredentials = true; // Defining event listener for readystatechange event $requestTPG.onload = function() { // Check if the request is compete and was successful if(this.status === 200) { __tpg_log(false, 'TPG session active: '+this.status); if (typeof __tpg_setLoginStatus === "function") __tpg_setLoginStatus(true); __tpg_checkNotificationCount($requestTPG.getResponseHeader("tpg-notification-count")); window.clearTimeout(__tpg_loopId); if (__tpg_continueIfLoggedIn) __tpg_init(__tpg_loopMilliseconds); } else { __tpg_log(true, 'TPG session inactive: '+this.status); if (typeof __tpg_setLoginStatus === "function") __tpg_setLoginStatus(false); window.clearTimeout(__tpg_loopId); if (__tpg_continueIfNotLoggedIn) __tpg_init(__tpg_loopMilliseconds); } }; // Sending the request to the server $requestTPG.send(); } })(); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10