Skip to main content
More clarity
Source Link
Rosh
  • 441
  • 1
  • 10
  • 24

I am confounded by this issue. I am able to display a custom SObject checkbox in an inline VF component on the Contact page layout. However, with the same code (this time std controller = Account), I am unable to display the checkbox on the Account page layout even though I can drag and drop the inline VF component onto the Account page.

Here is my VF page code:

<apex:page standardController="Account">
 <apex:form >
  <apex:pageBlock id="theBlock">
<!-- first row -->
    <apex:pageBlockTable value="{!Account}" var="a"> 

        <apex:column headerValue="Fund/Status">
            <apex:outputText >
                <b>EJF</b>
            </apex:outputText>
          
        </apex:column>
          <apex:column headerValue="On Approved List">
              <apex:inputField value="{!a.EJF_Approved__c}"/> 
          </apex:column>

    </apex:pageBlockTable>
<!-- end of first row -->
  </apex:pageBlock>
 </apex:form>    
</apex:page>

EJF_Approved is the name of the custom checkbox and is in the list of custom fields under Account fields:

enter image description here

enter image description here

On the accounts page, this is what I see - no checkbox:

enter image description here

There are no errors. I use the Pro Edition. Finally, the Account tab is renamed to Investor. I don't think that's the spoiler but just to round up all possibly pertinent information.

It seems like I'm getting something fundamentally wrong here but don't quite see. Please help.

I am confounded by this issue. I am able to display a custom SObject checkbox in an inline VF component on the Contact page layout. However, with the same code (this time std controller = Account), I am unable to display the checkbox on the Account page layout even though I can drag and drop the inline VF component onto the Account page.

Here is my VF page code:

<apex:page standardController="Account">
 <apex:form >
  <apex:pageBlock id="theBlock">
<!-- first row -->
    <apex:pageBlockTable value="{!Account}" var="a"> 

        <apex:column headerValue="Fund/Status">
            <apex:outputText >
                <b>EJF</b>
            </apex:outputText>
          
        </apex:column>
          <apex:column headerValue="On Approved List">
              <apex:inputField value="{!a.EJF_Approved__c}"/> 
          </apex:column>

    </apex:pageBlockTable>
<!-- end of first row -->
  </apex:pageBlock>
 </apex:form>    
</apex:page>

EJF_Approved is the name of the custom checkbox and is in the list of custom fields under Account fields:

enter image description here

enter image description here

On the accounts page, this is what I see - no checkbox:

enter image description here

There are no errors. Finally, the Account tab is renamed to Investor. I don't think that's the spoiler but just to round up all possibly pertinent information.

It seems like I'm getting something fundamentally wrong here but don't quite see. Please help.

I am confounded by this issue. I am able to display a custom SObject checkbox in an inline VF component on the Contact page layout. However, with the same code (this time std controller = Account), I am unable to display the checkbox on the Account page layout even though I can drag and drop the inline VF component onto the Account page.

Here is my VF page code:

<apex:page standardController="Account">
 <apex:form >
  <apex:pageBlock id="theBlock">
<!-- first row -->
    <apex:pageBlockTable value="{!Account}" var="a"> 

        <apex:column headerValue="Fund/Status">
            <apex:outputText >
                <b>EJF</b>
            </apex:outputText>
          
        </apex:column>
          <apex:column headerValue="On Approved List">
              <apex:inputField value="{!a.EJF_Approved__c}"/> 
          </apex:column>

    </apex:pageBlockTable>
<!-- end of first row -->
  </apex:pageBlock>
 </apex:form>    
</apex:page>

EJF_Approved is the name of the custom checkbox and is in the list of custom fields under Account fields:

enter image description here

enter image description here

On the accounts page, this is what I see - no checkbox:

enter image description here

There are no errors. I use the Pro Edition. Finally, the Account tab is renamed to Investor. I don't think that's the spoiler but just to round up all possibly pertinent information.

It seems like I'm getting something fundamentally wrong here but don't quite see. Please help.

Source Link
Rosh
  • 441
  • 1
  • 10
  • 24

Simple SObject Checkbox not displayed in inline VF component

I am confounded by this issue. I am able to display a custom SObject checkbox in an inline VF component on the Contact page layout. However, with the same code (this time std controller = Account), I am unable to display the checkbox on the Account page layout even though I can drag and drop the inline VF component onto the Account page.

Here is my VF page code:

<apex:page standardController="Account">
 <apex:form >
  <apex:pageBlock id="theBlock">
<!-- first row -->
    <apex:pageBlockTable value="{!Account}" var="a"> 

        <apex:column headerValue="Fund/Status">
            <apex:outputText >
                <b>EJF</b>
            </apex:outputText>
          
        </apex:column>
          <apex:column headerValue="On Approved List">
              <apex:inputField value="{!a.EJF_Approved__c}"/> 
          </apex:column>

    </apex:pageBlockTable>
<!-- end of first row -->
  </apex:pageBlock>
 </apex:form>    
</apex:page>

EJF_Approved is the name of the custom checkbox and is in the list of custom fields under Account fields:

enter image description here

enter image description here

On the accounts page, this is what I see - no checkbox:

enter image description here

There are no errors. Finally, the Account tab is renamed to Investor. I don't think that's the spoiler but just to round up all possibly pertinent information.

It seems like I'm getting something fundamentally wrong here but don't quite see. Please help.