• sfdcviraj
  • NEWBIE
  • 29 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 3
    Likes Received
  • 0
    Likes Given
  • 12
    Questions
  • 13
    Replies
In VF Page, On click of a button, I need to show a pageblock section with id="wanttohidethispageblock", which has table content in it. 

By default, the pageblocksection appears due to obvious reason its not hidden. 

How can I hide this pageblock section with id="wanttohidethispageblock" on VF page onload. 

Thanks.

 
I have the below code in a formula : - 
 
​IF(Chk_Criteria1__c = true, 'Documentation|' & Remark_Criteria1__c & BR(), '') &

IF(Chk_Criteria2__c = true, 'Email Etiquette|' & Remark_Criteria2__c & BR(), '') &
I expect that BR() should break the lines when i display on VF Page, but it doesn't. Any problem that I'm missing? 

I see the below on VF page. 

User-added image


Pls help. Thanks.
 
<apex:pageBlockSectionItem >
     <apex:outputLabel value="From Date"/>                    
      <apex:inputField value="{!CustomObject__c.From_Date__c}" id="fromDate" />
</apex:pageBlockSectionItem>

I'm trying to use this simple datepicker which has the date type  as date/time. When I try to use in my VF Page and click on the field, the datepicker doesn't pop-up.

What's wrong? Pls help.
 
Are the sales cloud and service cloud the same?
Hello Friends,
I have this  below code.
<apex:page standardController="Account">
    {! Account.Name }
    {! Account.Phone}
</apex:page>
I can comment the code by standard way (" <!-- This is commented part --> ") which I can do with few clicks.

Is there a way using the keyboard shortcut to do so? MS Visual Studio has it. May be the Eclipse too, although not sure.

Please help, thanks!
Hello,

When I press enter to select the suggested auto populated tags, it prints as - =""
Again I need to type and select it slow. Doesn't work blinking faster.
What's wrong?
I'm a newbie at SFDC. 

I was trying to comment the code as
<! -- <apex:pageBlockSection>
            <p>{! IF( CONTAINS('salesforce.com','force.com'), 'Yep', 'Nope') }</p>
            <p>{! IF( DAY(TODAY())
                < 15, 'Before the 15th', 'The 15th or after') }</p>
        </apex:pageBlockSection>
-->
It shows as if its commented in the developer console, but it doesn't reflect on preview. 

Am I doing something wrong? Please suggest. 
Thanks!
 
How can I access to videos "Who Sees What: Data Visibility How To's" in youtube?

I want to see the video to continue the tutorial, but displays the message of "private".

https://www.youtube.com/watch?v=X3Hg6OXhPO8&list=PL6747B4DAE356E17C&index=1
Hi everyone i am new to salesforce i had some requirement please tell me 

Create a page which displays a subset of Opportunity fields using apex:outputField components. Bind the Name, Amount, Close Date and Account Name fields to the apex:outputField components.The page must be named 'OppView'.
It must reference the Opportunity standard controller.
It must have an apex:outputField component bound to the Opportunity Name.
It must have an apex:outputField component bound to the Opportunity Amount.
It must have an apex:outputField component bound to the Opportunity Close Date.
It must have an apex:outputField component bound to the Account Name of the Opportunity.

My Answer:
<apex:page standardcontroller="Opportunity">
<apex:pageBlock>
   <apex:pageBlockTable >
      <apex:outputField value="{!Opportunity.Opportunity Name}"/>
      <apex:outputField value="{!Opportunity.Amount}"/>
      <apex:outputField value="{!Opportunity.Close Date}"/>
      <apex:outputField value="{!Opportunity.Account Name}"/>
   </apex:pageBlockTable>
</apex:pageBlock>
</apex:page>

Error Displaying:
Error: Missing required attribute value in <apex:pageBlockTable> in OppView at line 3 column 25

Please help to improve my knowledge
 
We are using Enterpirse edition of SF which does not have Keyboard shortcuts enabled (that can be enabled on request with some cost). We don't want to get it enabled for just one keyboard shortcut. So I was thinking if there is a way to develop a code for keyword shortcut for "Save" functionality.

Does anyone has any experience on this
How can I delete all the records of a custom object in Developer Edition?

Hi

 

I have a VF page where in I am using case standard controller.

The first time when the page is displayed 2 input fields (eg.) are there i.e. Name and Email. which are static. Another 2 fields are their like Vendor Name and Vendor Contact No. which are dynamic.

 

Now, I want to implement the functionality wherein if a user clicks on Add Row button,  1more row will appear to enter a value in both  the fields(Vendor name and Vendor Contact No.). So, if he clicks the button 5 times, 5 rows shud appear with thses two columns.

After providing the inputs, he will click on "Save " button, and the record should be saved wherein the inputs provided in multiple rows should be saved into the related list of the Case detail page (Case details page will contain the information like Name and Email). Request you to please forward me the code for the above mentioned functionality. Since its a n urgent requirement. An early reply will be highly appreciated. Thanks.