Skuid detail page in salesforce console: tab title shows as 'external page'

  • 2
  • Problem
  • Updated 2 years ago
  • In Progress
Hi,
I am displaying a skuid detail page for cases successfully in the service console in a main tab. However, the name of the tab is not populated using the case number, but 'External Page'.
Even if in the console app I change the case display to subtab, the subtab is named 'External Page'.
In the visualforce container that is used as view-override, I am setting the title property as {!Case.CaseNumber}. The skuid page itself also uses a page title element.
Please advise.
Bernd
Photo of Bernd Lenzer

Bernd Lenzer

  • 110 Points 100 badge 2x thumb

Posted 2 years ago

  • 2
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Bernd~

Can you include screenshots of what you are seeing and what is on the builder? Specifically, what's tin the tab nad the page title? 

Thanks!
Karen
Photo of Bernd Lenzer

Bernd Lenzer

  • 110 Points 100 badge 2x thumb
Hi Karen, any news on the topic ?
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
No guarantee.  We ran into a similar problem with another customer.  Turns out they had "click Jack" settings turned on that did not allow loading of the skuid page into the console.  They also got the External Page which was blank.  Go to Setup -> Security Controls -> Session Settings --> Clickjack protection.  Make sure the last two boxes ARE NOT checked. 


Photo of Michael Pierce

Michael Pierce

  • 544 Points 500 badge 2x thumb
I experienced this problem today as well and checked the Clickjack protection (see above), which was unmarked as Rob suggests.

I then found this article which provided this code for the Visualforce page, which fixed my problem:
https://help.salesforce.com/articleView?id=000205552&type=1

<apex:includeScript value="/support/console/20.0/integration.js"/>
    <script type="text/javascript">
        function testSetTabTitle() {
            //Set the current tab's title
            sforce.console.setTabTitle('Lead: {!Lead.Name}');
        }
        var pageLoad = window.onload;
          window.onload = function() {
                if (pageLoad) {
                        pageLoad();
                }
                  testSetTabTitle();
          }
    </script>

I hope this helps.
Photo of Karen Waldschmitt

Karen Waldschmitt, Official Rep

  • 8,240 Points 5k badge 2x thumb
Michael~

Thanks for sharing how you fixed the problem!  Bernd, does this help fix your page?

Thanks!
Karen
Photo of Bernd Lenzer

Bernd Lenzer

  • 110 Points 100 badge 2x thumb

Hi Karen, Michael,

this sounds very promising. I plan to check it on Friday. Thanks for your reply !

Regards

Bernd

Photo of Bernd Lenzer

Bernd Lenzer

  • 110 Points 100 badge 2x thumb

Hi Karen, Michael - again,

I just tested it right away - and: it works ! You see the page opening as 'External Page' and then immediately refreshing the title to the desired value.

Thank you

Bernd