You need to sign in to do that
Don't have an account?
Emmanuel B.
Documentation about global variables
Hello,
I have tried to find a reference for the VF global variables (such as $API) but without success.
I find the list of these variables but not the members of each.
Can anyone tell me if such documentation exists, or if there is a way to iterate through the global variables members to discover it.
Thanks
Refer following links
http://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_global.htm
http://na12.salesforce.com/help/doc/en/dev_understanding_global_variables.htm
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Hi Emmanuel,
There are only this Document is avaliable for global variable
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm#CSHID=pages_variables_global.htm|StartTopic=Content%2Fpages_variables_global.htm|SkinName=webhelp
--------------------
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.
Thanks
Thanks for your answer.
I saw this page but there is only (excpet for variable site and label.site) examples and no list of fields :
Let's consider the variable $Api.Partner_Server_URL_90 given in example : how can I know that Partner_Server_URL_90 exists, and how can I know other fields exist in the object $Api ? I can't guess it, I need either a way to list it or a reference documentation.
Okay Emmanuel, are you ready?? :-)
In Chrome with Developer tools window open (or Firefox with Firebug installed, etc.)....
*) Create new custom field on any object
*) Type is Formula
*) Type of Formula is Text (name and label don't matter, you won't save them)
*) If you examine the page source at "Step 3. Enter Formula" page in the new custom field wizard, you will see the following variable in a script element defined: "categoryToFieldMap". This is a map that will contain the following entry...
Thank the HTML standards for revealing once again an undocumented and convoluted yet powerful Salesforce back-end technology!
Hope that helps. Mark as answer if it made your day as much as mine.
- Nathan
Thx Paddy at Edmunds for showing me the Developer Tools excaliber to slay the Salesforce beast into submission!