Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 17182

Javascript is a weakly typed interpreted programming language primarily implemented by web browsers to allow for client-side scripting. It can be used in Visualforce pages to give a more dynamic experience to end users. Additionally, the Visualforce engine generates and uses JavaScript to support the functionality of some of its components.

1 vote

Looking to open new subtab from a button on Contact; current subtab replaced instead

After struggling with a combination of a JavaScript button launching a VF page using more JavaScript to open a subtab, it's now been boiled down to the single JavaScript button, which looks like this: …
Duncan Stewart's user avatar
1 vote
1 answer
785 views

URLFOR($Action... returns URL No Longer Exists from $Resource; works fine outside

Case's info sforce.console.openSubtab( primaryTabId, url, isActive, tabLabel, subTabId); }); } Visualforce: <script src="/support/console/33.0/integration.js" type="text/javascript
Duncan Stewart's user avatar
1 vote
0 answers
180 views

Console JavaScript button behavior inconsistent on same Contact recordtype

the Console don't get any benefit from it), but I have found that certain Contacts result in a 'URL No Longer Exists' error rather than the desired new Case page, and yet the values referenced in the JavaScript
Duncan Stewart's user avatar
4 votes
2 answers
4k views

Looking to open new subtab from a button on Contact; current subtab replaced instead

I am trying to do a similar thing to How to open a subtab, opening a Case subtab from a button on the Contact detail, and I don't believe that the javascript is firing at all. … activate}" apex:includeScript' value="/soap/ajax/27.0/connection.js" apex:includeScript' value="/support/console/29.0/integration.js" script type="text/javascript" // caseId = Case.Id of new Case …
Duncan Stewart's user avatar
2 votes
1 answer
781 views

Can Visualforce list links behave as related list links in Service Console?

I'm opening Cases in particular, so I created a Case-specific function for the purpose: <script type="text/javascript"> function openCaseSubtab(id caseId) { var openCase = sforce.console.getEnclosingPrimaryTabId …
Duncan Stewart's user avatar