[SalesForce] Accessing case information in a sidebar within Service Console

We are using Service Console with multiple case recordtypes, profiles, and roles. Within a page layout we are using the 'Custom Console Components' and linking to a simple visualforce page that will display some help text in the left sidebar within subtab components. Here is the simple visualforce page:

<apex:page standardController="Case" showHeader="false" sidebar="false">
 <apex:pageBlock rendered="{!OR(CONTAINS($Profile.Name,'XYZ'), CONTAINS($Profile.Name,'123')))}">
     <dl>
          <dt> Some help text here </dt>
              <dd> Topic 1 </dd>

          <dt> Some help text here </dt>
              <dd> Topic 2 </dd>

     </dl>
  </apex:pageBlock>

So we can render different blocks based on someones profile pretty easily, that all works fine. What we want to do is show or hide different help text based on Case Recordtype. For instance the page layouts are the same but the help text references specific picklist values and when to use them. The picklist values are different based on Case Recordtype. The page layout in question is a standard case page layout that shows after you click on create new case in Service Console and then select your desired recordtype. Nothing is custom.

Is there an easy way to access the case recordtype similar to the Profile in the example above so we can easily segment the portions of visualforce page to show?

Best Answer

I don't have console handy...

You should be able to do it with {!Case.RecordType.Name} or ...DeveloperName (which will be more reliable if you've translated the record types to French for example).

That's assuming the Case's Id is nicely passed to that page and info about "this" Case is being shown. If it's not - you might check what's in {!$CurrentPage.parameters} or {!$CurrentPage.url}