-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
13Questions
-
21Replies
How long it took for an opportunity to close
Because of the limitations on the formula field, this would require creating three fields: “Days Since Closed”, “Days Since Open” and “Age”. Only the “Age” field would be visible on the page layout the others would have to be hidden.
Formula Fields with Number data type and zero decimal points. Below are the formula values for the fields.
- Days Since Closed = TODAY() - {!CloseDate}
- Days Since Open = NOW() - {!CreatedDate}
- Age = IF(ISPICKVAL({!StageName},"Closed Lost"),{!Number_Since_Open__c} - {!Days_Since_Closed__c},NOW() - {!CreatedDate})
- Kingsley
- August 10, 2006
- Like
- 1
- Continue reading or reply
Create more than one objects in a custom component.
Hi,
I am new in Visualforce. So I don’t know whether my question is valid or not.
Is it is possible to use more than one objects in a custom component?
My requirement is I would like to create a custom component with more than one objects like this -
For e.g.
custom component- myCmp
<apex:component >
<apex:attribute name="otxt" id="otxt"
type="String" description="This is common section
template"/>
<apex:outputText value="{!otxt}" />
<apex:attribute
name="itxt" id="itxt" type="String"
description="This is common section template"/>
<apex:inputText value="{!itxt}" />
</apex:component>
VF Page
In first VF page (VFPage_1) I need to display Output text and In second VF page (VFPage_2) I need to display input text from the component.
I tried the following way but it is not working. Both the pages are displaying both the objects.
VFPage_1
<apex:page>
<c:myCmp otxt=“Test Output Text” />
</apex:page>
VFPage_2
<apex:page>
<c:myCmp itxt=“” />
</apex:page>
Could anybody help me solve this issue.
- anju
- March 13, 2009
- Like
- 0
- Continue reading or reply
Can anybody help me to resovle issue in this visualforce code?
<h1>Testing</h1>
<br/>
<apex:pageBlock>
<apex:form>
Name <apex:inputField value="{!My_Object__c.Name}" required="true"></apex:inputField>
<br/>
DOB <apex:inputField value="{!My_Object__c.Date_of_Birth__c}"></apex:inputField>
<br/>
Test Text <apex:inputText value="{!My_Object__c.Note__c}" required="true" ></apex:inputText>
<br/>
<apex:commandButton action="{!save}" value="Save"></apex:commandButton>
</apex:form>
</apex:pageBlock>
- anju
- November 12, 2008
- Like
- 0
- Continue reading or reply
Using salesforce calendar as per Role basis.
- anju
- November 12, 2008
- Like
- 0
- Continue reading or reply
Using Active Widget in visual force
- anju
- October 17, 2008
- Like
- 0
- Continue reading or reply
Integrate LDAP with Salesforce.com
- anju
- July 18, 2008
- Like
- 0
- Continue reading or reply
How to embed scontrol in visualforce?
- anju
- June 27, 2008
- Like
- 0
- Continue reading or reply
Difference between standard Salesforce.com CRM and Force.com.
Hi,
Can any body tell me that what is the difference between Force.com platform and standard Salesforce.com CRM platform?
I heard that some of the functionalities and standard objects are not there in Force.com. To test this I have created two developer accounts with interest 'Salesforce.com customization' and ‘Force.com platform’. But I didn’t find any difference. All the standard objects in standard Salesforce.com CRM and Force.com are same.
- anju
- June 17, 2008
- Like
- 0
- Continue reading or reply
Email reports to User
- anju
- March 05, 2008
- Like
- 0
- Continue reading or reply
How can I send a mail to Case Owner on closure of a case?
- anju
- February 22, 2008
- Like
- 0
- Continue reading or reply
How to create field dependency between picklist and number/text field?
- anju
- June 21, 2007
- Like
- 0
- Continue reading or reply
Toggle Date field in New Page.
- anju
- June 20, 2007
- Like
- 0
- Continue reading or reply
How to customize related list?please help.
- anju
- June 14, 2007
- Like
- 0
- Continue reading or reply
How to get children of a dojo tree node. Please help....urgent
It would be great if anybody can help me.
Thanks in advance.
- anju
- June 12, 2007
- Like
- 0
- Continue reading or reply
Customize List Button
I have an Prpblem Related to Customize List Button.
I want to add multiple oprtion in One Button(For Mass Update)
Like
Chnage Owner
Change Role
Change Type
Change Status
I want to put all those option in one List button for Mass Update.
How can I do this.Can you plz help me ...
- GauravKumar
- December 15, 2008
- Like
- 0
- Continue reading or reply
Can anybody help me to resovle issue in this visualforce code?
<h1>Testing</h1>
<br/>
<apex:pageBlock>
<apex:form>
Name <apex:inputField value="{!My_Object__c.Name}" required="true"></apex:inputField>
<br/>
DOB <apex:inputField value="{!My_Object__c.Date_of_Birth__c}"></apex:inputField>
<br/>
Test Text <apex:inputText value="{!My_Object__c.Note__c}" required="true" ></apex:inputText>
<br/>
<apex:commandButton action="{!save}" value="Save"></apex:commandButton>
</apex:form>
</apex:pageBlock>
- anju
- November 12, 2008
- Like
- 0
- Continue reading or reply
How to embed scontrol in visualforce?
- anju
- June 27, 2008
- Like
- 0
- Continue reading or reply
Difference between standard Salesforce.com CRM and Force.com.
Hi,
Can any body tell me that what is the difference between Force.com platform and standard Salesforce.com CRM platform?
I heard that some of the functionalities and standard objects are not there in Force.com. To test this I have created two developer accounts with interest 'Salesforce.com customization' and ‘Force.com platform’. But I didn’t find any difference. All the standard objects in standard Salesforce.com CRM and Force.com are same.
- anju
- June 17, 2008
- Like
- 0
- Continue reading or reply
Email reports to User
- anju
- March 05, 2008
- Like
- 0
- Continue reading or reply
How can I send a mail to Case Owner on closure of a case?
- anju
- February 22, 2008
- Like
- 0
- Continue reading or reply
How to create field dependency between picklist and number/text field?
- anju
- June 21, 2007
- Like
- 0
- Continue reading or reply
Toggle Date field in New Page.
- anju
- June 20, 2007
- Like
- 0
- Continue reading or reply
Attempting to learn s controls
- cherylfeldman
- June 19, 2007
- Like
- 0
- Continue reading or reply
How to customize related list?please help.
- anju
- June 14, 2007
- Like
- 0
- Continue reading or reply
How long it took for an opportunity to close
Because of the limitations on the formula field, this would require creating three fields: “Days Since Closed”, “Days Since Open” and “Age”. Only the “Age” field would be visible on the page layout the others would have to be hidden.
Formula Fields with Number data type and zero decimal points. Below are the formula values for the fields.
- Days Since Closed = TODAY() - {!CloseDate}
- Days Since Open = NOW() - {!CreatedDate}
- Age = IF(ISPICKVAL({!StageName},"Closed Lost"),{!Number_Since_Open__c} - {!Days_Since_Closed__c},NOW() - {!CreatedDate})
- Kingsley
- August 10, 2006
- Like
- 1
- Continue reading or reply