• iKnowledge
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

I am trying to create a page using the BlankTemplate based on a VF page I created with a custom controller using CMSForce.  I have read and re-read the documention and can't seem to get it to work in sandbox or production.  The page I created is below.  What am I missing? Thank you for your help!

 

 

<apex:page controller="CourseList">
    <apex:pageBlock >
    <apex:dataTable value="{!Courses}" var="CourseList" width="100%" >
     <apex:column >
      <apex:facet name="header"><b>Class Name</b></apex:facet>
      {!CourseList.Name}
     </apex:column>
     <apex:column >
       <apex:facet name="header"><b>Class Description</b></apex:facet>
      {!CourseList.Description_Short__c}
     </apex:column>
     <apex:column >
      <apex:facet name="header"><b>Date of Class</b></apex:facet>
      {!CourseList.Date_of_Class__c}
     </apex:column>
     <apex:column >
      <apex:facet name="header"><b>Class Location</b></apex:facet>
      {!CourseList.Class_Venue__r.Name}
     </apex:column>
   </apex:dataTable>                
 </apex:pageBlock>
</apex:page>

 

 

Hi Everyone, I'm hoping that someone has worked wtih the CMS Force app in this way and can point me in the right direction.

 

I am setting up a registration page and have a content item that is the registration form information and another content item that is a link to records in a custom object called Classes.  

 

When someone clicks on a register now link, I would like to prepopulate the class information in the form content item.

 

Any ideas on how to go about this? I feel like it is something really obvious that I'm missing.  

 

Thanks for  your help!

 

JoAnn

I am trying to create a page using the BlankTemplate based on a VF page I created with a custom controller using CMSForce.  I have read and re-read the documention and can't seem to get it to work in sandbox or production.  The page I created is below.  What am I missing? Thank you for your help!

 

 

<apex:page controller="CourseList">
    <apex:pageBlock >
    <apex:dataTable value="{!Courses}" var="CourseList" width="100%" >
     <apex:column >
      <apex:facet name="header"><b>Class Name</b></apex:facet>
      {!CourseList.Name}
     </apex:column>
     <apex:column >
       <apex:facet name="header"><b>Class Description</b></apex:facet>
      {!CourseList.Description_Short__c}
     </apex:column>
     <apex:column >
      <apex:facet name="header"><b>Date of Class</b></apex:facet>
      {!CourseList.Date_of_Class__c}
     </apex:column>
     <apex:column >
      <apex:facet name="header"><b>Class Location</b></apex:facet>
      {!CourseList.Class_Venue__r.Name}
     </apex:column>
   </apex:dataTable>                
 </apex:pageBlock>
</apex:page>