• Keegan McCormack
  • 0 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 4

Before I spend a ton of time researching the plausibility of what we want to do I wanted to ask the forum. 

We have many attachments on the Opportunity object, and part of our process when we close opportunities is to print all the attachments associated. 
Due to the clunkiness of printing each attachment it takes quite a bit of time to do this. Is it possible to print all the attachments from a visualforce page thats called by a button click? 

I've read similar requests but I haven't seen if it's actually plausible.

thanks in advance! 
We are woking on a VF page and on this page, we are calling the boot strap JS library functions for responsive design. Few of these java script functions are not working when the Salesforce header is "ON". When the header is OFF, the javascript working as expected. This is particularly happening on IE 11 browser. We are developing the application on IE 11 as well as Chrome and functionality on Chrome is fine irespective of SFDC headers on or off.
Can you suggest how to correct this on IE 11?
I am trying to get a base working example of a Visual Force page that displays a hover detail of a mini page loayout.

1) confirmed in Customize > User Interface that "Enable Hover details" is enabled.  Mini page layout hovers are working from standard layout pages as well.

2) Controller code
public class PSS_CA_Hover_Controller {

    private ApexPages.StandardController controller;

    public String baseURL {get; private set;}

	public PSS_CA_Hover_Controller(ApexPages.StandardController controller) {
        this.controller = controller;
        this.baseURL = ApexPages.CurrentPage().getHeaders().get('Host');
3) Visual Force page code (plus Chrome inspect element translation)
<apex:page standardController="Client_Accounts__c" extensions="PSS_CA_Hover_Controller"
           showHeader="false" sidebar="false" >

<!-- Note: using {!baseURL} because eventual usage will be in a Skuid page that points to a different base URL -->
      <div onmouseover="if (window.hiOn) {hiOn (this);} " 
            onmouseout="if (window.hiOff){hiOff(this);} " 
                onblur="if (window.hiOff){hiOff(this);} " 
               onfocus="if (window.hiOn) {hiOn (this);} ">
        <a href="https://{!baseURL}/{!Client_Accounts__c.Id}" id="lookup{!Client_Accounts__c.Id}"
          onblur="LookupHoverDetail.getHover('lookup{!Client_Accounts__c.Id}').hide(); " 
          onfocus="LookupHoverDetail.getHover('lookup{!Client_Accounts__c.Id}','https://{!baseURL}/{!Client_Accounts__c.Id}/m?retURL=https://{!baseURL}/{!Client_Accounts__c.Id}&isAjaxRequest=1').show(); " 
          onmouseout="LookupHoverDetail.getHover('lookup{!Client_Accounts__c.Id}').hide(); " 

<!--- Chrome inpsect element returns info below this line:

      <div onblur="if (window.hiOff){hiOff(this);} " onfocus="if (window.hiOn) {hiOn (this);} " onmouseout="if (window.hiOff){hiOff(this);} " onmouseover="if (window.hiOn) {hiOn (this);} ">
        <a href="https://MASKED--c.cs51.visual.force.com/a0L5000000dT8aCEAS" id="lookupa0L5000000dT8aCEAS" onblur="LookupHoverDetail.getHover('lookupa0L5000000dT8aCEAS').hide(); " onfocus="LookupHoverDetail.getHover('lookupa0L5000000dT8aCEAS','https://MASKED--c.cs51.visual.force.com/a0L5000000dT8aCEAS/m?retURL=https://MASKED--c.cs51.visual.force.com/a0L5000000dT8aCEAS&amp;isAjaxRequest=1').show(); " onmouseout="LookupHoverDetail.getHover('lookupa0L5000000dT8aCEAS').hide(); " onmouseover="LookupHoverDetail.getHover('lookupa0L5000000dT8aCEAS','https://MASKED--c.cs51.visual.force.com/a0L5000000dT8aCEAS/m?retURL=https://MASKED--c.cs51.visual.force.com/a0L5000000dT8aCEAS&amp;isAjaxRequest=1').show();">


4) Everything compiles, I get a nice href link that works, but no hover capability, page is referenced with a passed Id parameter

The <div> section seems redundant, but saw several examples in Chrome inpsect element with both <div> and <a>