DX Application Performance Management

Expand all | Collapse all

How To: Make WebView Home Your Default Landing Page For Introscope 10.0

  • 1.  How To: Make WebView Home Your Default Landing Page For Introscope 10.0

    Posted 10-20-2015 04:37 PM

    In our current environment, we do not have users that have fully developed the skillset or understanding of the new Teamcenter feature.  Until they get their hands on it and become more accustomed to the features of the new Teamcenter, we made a quick tweak to ensure that the default landing page for APM goes right to the WebView.  Unless there was an option I have overlooked, the tweak is an easy and quick fix here, basically we are looking for the osgi bundle that contains the ‘WebContent’ just like we needed to for editing that javascript file to allow us to open WebView with IE (Bug Report: TeamCenter's WebView Link Doesn't Work in IE (FIXED)) (in the case of this example: /opt/SA/Introscope10.0.0.12/product/webview/configuration/org.eclipse.osgi/bundles/93/1/.cp/WebContent).  Open the index.jsp file within the WebContent folder, and make the following modification

     

    (Please note, what I bolded and underlined above indicates a variant bundle number that will vary across different installations)

     

    Reference:: Line 255

    From:::::

     

         <c:if test="${jspShowLoginPage == true}">

                <c:if test="${apmServerEnabled == true}">

                    <script type="text/javascript">

                        if (location.hash == '' && location.search == '') {

                            window.location.href = '/ApmServer/';

                        }

                    </script>

                </c:if>

                <div style="width:100%;height:100%">

                    <iframe id="LoginFrame" name="LoginFrame" src=${pageContext.request.contextPath}/jsp/login.jsf></iframe>

                </div>

          </c:if>

     

    To:::::::

     

          <c:if test="${jspShowLoginPage == true}">

                <c:if test="${apmServerEnabled == true}">

                    <script type="text/javascript">

                        if (location.hash == '' && location.search == '') {

                            // Disabled this for now... instead, lets go home

                            // window.location.href = '/ApmServer/';

                            window.location.href = '/#Home';

                        }

                    </script>

                </c:if>

                <div style="width:100%;height:100%">

                    <iframe id="LoginFrame" name="LoginFrame" src=${pageContext.request.contextPath}/jsp/login.jsf></iframe>

                    </div>

     

         </c:if>



  • 2.  Re: How To: Make WebView Home Your Default Landing Page For Introscope 10.0

    Broadcom Employee
    Posted 10-21-2015 12:29 AM

    Hi Paimon,

    Alternatively to avoid change management of files that would be updated by a future APM upgrade you can just setup your users to  use a modified launch URL with appended "#home" or "jsp/login.jsf".

    This KB has details. In APM 10.0 after login to the WebView UI how can I immediately see the WebView Home page instead of the new APM Team Center page.

     

    Regards,

     

    Lynn



  • 3.  Re: How To: Make WebView Home Your Default Landing Page For Introscope 10.0

    Posted 10-21-2015 10:29 AM

    Hi Lynn;

     

    Thanks, this works as well and we had thought of this.  Would have been more convenient for CA to make a preference option to adjust the default landing page.



  • 4.  Re: How To: Make WebView Home Your Default Landing Page For Introscope 10.0

    Posted 10-21-2015 01:42 AM

    Hi Paimon,

     

    To enable direct access to the webview,

    you can add one single line script to the IntroscopeEnterpriseManager.properties file in the config folder

     

    introscope.apmserver.feature.enabled=false

     

    Put this script into IntroscopeEnterpriseManager.properties file

     

    & restart the APM services...



  • 5.  Re: How To: Make WebView Home Your Default Landing Page For Introscope 10.0

    Posted 10-21-2015 10:14 AM

    Just to follow up on this.  This unfortunately wont work for us because this actually fully disables Teamcenter.  We still want Teamcenter, but we would like the landing page to be the main WebView



  • 6.  Re: How To: Make WebView Home Your Default Landing Page For Introscope 10.0

    Posted 10-21-2015 09:10 AM

    Thank you Lynn_Williams and anuranjan.kumar,

     

    Good to know that there is a properties tweak that can be done to make this easier .  Glad I posted.



  • 7.  Re: How To: Make WebView Home Your Default Landing Page For Introscope 10.0

    Posted 11-10-2015 02:35 PM

    paimon.soror - thanks for sharing this with the community.