function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

How does one determine the current app?

The requirement is to conditionally render controls based on the currently selected app. The code looks like this:


<apex:pageBlockSection columns="1">
<apex:pageBlockTable value="{!AllSearchProducts}" var="i">
<apex:column headerValue="Name"><apex:outputLink value="/{!i.Id}"> {!i.Name}</apex:outputLink></apex:column>
<apex:column headerValue="Brand Name" value="{!i.Brand_Name__c}"/>
<apex:column headerValue="Source="{!i.Source__c}" rendered="!IF(what should go here?)"/>



The third column needs to be conditionally rendered if a particular app is selected but not rendered if a different app is currently selected. How can the current app be determined at runtime?


Thanks for the pointer but this was a dead end.