The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
30 views

Access merge fields from js script injection sidebar component

I have an HTML sidebar component that I'm using to inject js scripts in all standard pages. I need to be able to access global variables such as $User. How can I do this outside of a VF page? So, I'd ...
5
votes
2answers
92 views

What is the purpose of Global and Final modifiers in Batch Apex?

I've noticed that Batch Apex classes are all global, and the dev console returns an error if you just try to do a public/private class. My understanding is that a global class is visible to all ...
6
votes
1answer
141 views

Using “User” global variable in SOQL query

I want to retrieve some data from an object to a List according to the ID of the logged in User, so I am trying this soql query List<Object> = [SELECT Id,Name FROM Object WHERE User_id = : ...
3
votes
1answer
170 views

Using global variable's fields or methods (in Visualforce)

For example we have $CurrentPage variable. How can I get all fields or methods which I can use for particular global variable? I don't see where they are stated like for URL class Added. I understand ...
2
votes
2answers
444 views

Can we use global variables in triggers to get informations

Can we use global variables like $Profile, $setup, $Label in apex triggers and apex Code? Thanks in advance.
1
vote
1answer
58 views

refer to a component's name

Is there a way to get the name off of an apex:component? For example: <apex:component> ... The name of this component is {!$Component.Name} </apex:component> Or something ...
1
vote
1answer
182 views

Global variable for Group

Is there a global variable for referencing public groups Use case: I want to generate data on a field for few users belonging to a public group.I know using $profile I can do !IF( $Profile.Name = ...
5
votes
1answer
158 views

Need to modified variable value in visualforce/apex/salesforce

My code in gobal footer component - <div id="copyright"> &copy; {!$Label.copyright} </div> It is displaying in page"© Copyright 2012 " I am new in ...
2
votes
1answer
199 views

Where can I check the value of $Setup variables?

I have this code: <link rel="canonical" href="{!$Setup.websiteSystemVariables__c.Main_URL__c+$CurrentPage.Name}"/> I want to check where the $Setup.websiteSystemVariables__c and ...
1
vote
5answers
2k views

Cannot get the global variable $Component to return id

How can I get the force.com generated id from the $Component global varible for me apex:selectRadio component? Javascript var rdo = j("input[@id=" + jq('{!$Component.searchRdo}') + ...
2
votes
1answer
251 views

Do methods returning APEX classes live in a different namespace?

I have a controller class, below. It is passed in "thePpt" as an SOBJECT, and the class has access to it in the getGuam method, but not the initPhoneList or GetDaytimePhoneList() methods. WHY? They ...
3
votes
2answers
243 views

What are the components of Salesforce's built-in CSS URLs?

The URLs for CSS files in Salesforce resemble this: /sCSS/25.0/sprites/1344400715000/Theme3/default/gc/elements.css What does the 1344400715000 refer to, and is there a way to expose that value via ...