• Tabrez
  • NEWBIE
  • 10 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
Having an issue when I try to display images (via external link) on VF page renderAs="PDF".
Its is totaly fine if I remove displayAs"PDF".
Anybody knows is this exoected or know issue ? 

Not Working
<apex:page renderAs="PDF">
  <apex:image value="http://myexternalURL.jpg"/>
</apex:page>
Working Fine
<apex:page>
  <apex:image value="http://myexternalURL.jpg"/>
</apex:page>


 
After Lightning release, our visualforce pages ,in Salesforce1, which is connected to Opportunity, are not closing safely.
The code block is;

       pr = new PageReference('/' + oppId);
            pr.getParameters().put('nooverride', '1');
            pr.getParameters().put('id', oppId);
            return pr.setRedirect(true);   

In this block  return pr.setRedirect(true);    is not useful for returning to opportunity anymore.
We're getting this problem on production environment.

Is there anyone have the same problem? How can we handle with this bug?
 
Hi,
I need to apply styling for pageblocksection.Here is the code

<apex:page standardcontroller="Account" showHeader="true" tabStyle="account">
  <style>
  .activetab {background-color:green color:white background-image:none>
  .inactivetab {background-color:white color:black background-image:none>
  </style>
<apex:form>
  <apex:tabPanel switchtype="client" selectedTab="tabdetails"
id="AccountTabPanel" tabClass="activeTab"
inactiveTabClass="inactiveTab">
<apex:tab label="Details" name="AccDetails" id="tabdetails">
<apex:pageblock>
<apex:pageblocksection title="Account" columns="1">
<apex:inputfield value="{!account.name}"/>
</apex:pageblocksection>
</apex:pageblock>
</apex:tab>
</apex:tabpanel>
</apex:form>
</apex:page>
I need to apply styling for pageblocksection 
Can someone help me

Thanks & Regards,
Sindhu Ambarkar.
Hi 

How to count number of attachment on a particular custom object ..