• Dan Spencer
  • NEWBIE
  • 20 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 2
    Replies
I have created a visualforce page with the following markup:
 
<apex:page standardController="case">
  <apex:form >
      <apex:pageblock >
          <apex:pageblocksection columns="2" title="client info">
                   <apex:repeat value="{!$ObjectType.Case.FieldSets.Client_Info}" var="ci"> 
                       <apex:outputfield value="{!case[ci]}" /><br/>
                   </apex:repeat>
          </apex:pageblocksection>
      </apex:pageblock>
  </apex:form>
</apex:page>

But the output is only displaying in a single column. There are five fields that are User-added image

Oddly enough, when I change the columns parameter in the <apex:pageblocksection> to "3", it does attempt to output to 3 columns. I cannot find any reference to others experiencing this problem online, so I am hoping the developer community has some ideas. What to you all think?
I have a custom object "TrustTx__c" used by my employees to enter billable work performed for clients. I need to be able to export as text/csv the "Account" and "BilledAmount__c" fields from all new records created since the last export, and I need to do this once per week, and simultaneously update the custom field "Invoiced__c" in the "TrustTx__c" object to "True" for each record exported. Basically I am just flagging each record as having been exported.

I have tried the Export to Excel app coupled with an enhanced list view, and manually mass-updating the "Invoiced__c" field from the enhanced list view, but the problem I am going to run into is that my six employees will generate way more than the 200 record limit imposed by that method every week.
Is there a way to do this relatively easily in Apex from a VF page? I am only passably familiar with writing VBA, so as far as Apex goes, I am skill-limited to tweaking other people's code. Unfortunately, as my organization is a 501(c)(3) nonprofit, we do not have the resouces to hire a developer, so I am it. Any help would be greatly appreciated.
I have created a visualforce page with the following markup:
 
<apex:page standardController="case">
  <apex:form >
      <apex:pageblock >
          <apex:pageblocksection columns="2" title="client info">
                   <apex:repeat value="{!$ObjectType.Case.FieldSets.Client_Info}" var="ci"> 
                       <apex:outputfield value="{!case[ci]}" /><br/>
                   </apex:repeat>
          </apex:pageblocksection>
      </apex:pageblock>
  </apex:form>
</apex:page>

But the output is only displaying in a single column. There are five fields that are User-added image

Oddly enough, when I change the columns parameter in the <apex:pageblocksection> to "3", it does attempt to output to 3 columns. I cannot find any reference to others experiencing this problem online, so I am hoping the developer community has some ideas. What to you all think?
Greetings,

We have some custom visualforce pages for custom objects.  These pages have the old "Notes and Attachments" object.  After Winter 2016 was rolled out, our users cannot add notes through this list anymore.  How do I expose the new notes along side the old notes and attachments?  All the documentation I could find said the new notes needs to be added to page layouts, which is straight forward enough, but no instruction on how to do this for visualforce pages.

Code for the old notes and attachments:

<apex:relatedList list="CombinedAttachments"  />

I've tried list="Notes", list="ChatterNotes", and a few others with no luck.  Any help would be appreciated.

Thanks,
Keith