function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page > <script type="text/javascript"> window.top.location = "http://www.google.com"; </script> </apex:page>
You can create a global publisher action with "Action Type" as "Custom Visualforce", select a visualforce page which does the redirection to your URL.
Here is a simple VF redirection example using javascript. You can also use a custom controller for the redirection.
If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.
Thanks,
Shashank
<apex:page >
<script type="text/javascript">
window.top.location = "http://www.google.com/search?q={!Lead.Company}";
</script>
</apex:page>
But I'm getting this error:
Error: Unknown property 'Lead.Company' referenced in MyChatterAction