Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

4
votes
1answer
47 views

Displaying a variable before it has been set to a value

What I have is an app that pulls in social media and displays that content in ExactTarget. I want to set text and links in the email based upon the content in the social post... in this case ...
2
votes
1answer
65 views

Can't seem to use $ObjectType in a component

I found myself using a bit of code to display a searchable history of a given SObject, for a couple of different SObjects so I thought it sensible to create a component, that could be told the SObject ...
3
votes
1answer
86 views

Batchable class variable shows as NULL in finish() method

Sorry if the format is not good, first post ever and I don't know what all the options are. totalRecords list size is printing as NULL in the email message body, I cannot figure out why. global ...
1
vote
1answer
101 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
433 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
280 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
530 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 ...
1
vote
1answer
51 views

what is the use case $ComponentLabel

The documentation is not very clear. Click here for SF documentation
2
votes
2answers
907 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
66 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
212 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
170 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
238 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 ...
2
votes
5answers
3k 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
275 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
281 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 ...