Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

We are just switching on the case feed within our Salesforce org but have noticed a rather irritating issue. We have a number of custom buttons and when we go into the list and click on the link / button within the drop down list all works well.

enter image description here

for example 'Case ID' is simply a javascript alert that shows the Case ID (this is just an example). We click from the list as in one of the values as shown here

enter image description here

and we get this:

enter image description here

if we do this from the default value in the list

enter image description here

then we get redirected to ( http://{instance}.salesforce.com/undefined )

enter image description here

this seems to be the case for any javascript buttons only. If the button is simply a link to some normal or visualforce page, it works fine.

Does anyone have any suggestions on a workaround until Salesforce fix what seems like an apparent platform issue? I'd love a solution that is efficient, i.e. not requires redirecting to some visual force page which does what the button should do and the redirects back to the case we came from.

share|improve this question
    
I think I'm missing something here. How are you creating this drop down list? –  Scott VonSchilling Nov 6 '12 at 19:35
    
That's how custom buttons are rendered in the case feed, it's built in. –  Martin Peters Nov 7 '12 at 8:14
add comment

1 Answer

up vote 1 down vote accepted

Answering my own question. Salesforce have confirmed that the behavior is a bug with no known release date for fix. The best workaround is to switch from custom button to custom links which are rendered differently in case feed (one by one in a list, not as options in a dropdown). That means all "buttons" are visible all the time and clicking them will work as you expect without bugs.

share|improve this answer
    
Good to know. Can you include a link to the bug on the Salesforce known issues site, so that future users can check on the progress of a solution without pinging you? –  Benj Jan 3 '13 at 14:05
1  
I would have if they would have had the courtesy of putting it there. My company has recently evaluated case feed and found 5 issues that we've raised with SF. All of our cases have been closed as bugs, none have been listed as known issues or given a fix-date. None have perfect workarounds. Oh how I wish it were my decision to use some other system.... –  Martin Peters Jan 3 '13 at 14:28
    
@MartinPeters it would be great if you could create a new post with the issues you have encountered, to share the knowledge with the community. –  JodieM Apr 21 at 7:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.