We’re rewarding the question askers & reputations are being recalculated! Read more.

New answers tagged

0

You are getting a blob directly. Why not save the blob directly using resp.getBodyAsBlob() String endPoint ='http://resources.docs.salesforce.com/rel1/doc/en-us/static/pdf/salesforce_query_search_optimization_developer_cheatsheet.pdf'; HTTP h = new HTTP(); HTTPRequest request = new HTTPRequest(); request.setEndpoint(endPoint); request.setHeader('...


0

Apex supports method overloading. You can define two versions of this method, which accept a different set of parameters. It's common for one of these versions to call through to the other, which contains the main body of the logic, while supplying default values for omitted parameters. For example, you might define these two methods: public Messaging....


0

If you use the UI, and your locale is set, and the criteria is met, then the client performs phone formatting. The database does not perform any formatting, and some mobile apps do not, either. In Visualforce, no additional formatting is performed in Visualforce. Lightning, by contrast, will perform some automatic formatting in some cases (see lightning:...


4

there is an idea to add indexVar that we have in aura:iteration, but for now you have to implement this functionality by means of usage apex:variable. In your current case: <table style=" width: 100%; border-spacing: 8px 50px;border:0px; background-color: #ffffff;"> <apex:repeat value="{!fieldSetArr}" var="fieldset"> <tr> ...


0

You can make use of OutputPanel attribute <apex:outputPanel rendered="{!(!ISBLANK(Description__c))}"> <apex:outputText value="{!Description__c}"/> </apex:outputpanel> If Description is null/empty this wouldn't be visible/no space would be displayed.


0

You could try using an old plain html tag like this {!Description} If there's no description, the tag shouldn't show up.


Top 50 recent answers are included