• Chintan Jadwani 3
  • NEWBIE
  • 30 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 4
    Replies
Hi,

I have to show New button on Custom VF page. I found a line of code on this forum as below:

<apex:commandButton action="{!URLFOR($Action.Custom_Object__c.New)}" value="New Button"/> and it worked for other objects.

For standard object, it works for Account :<apex:commandButton action="{!URLFOR($Action.Account.New)}" value="New"/>
However, for standard object "Products" it is not working.

I have tried : action="{!URLFOR($Action.Product.New)}" not as action="{!URLFOR($Action.product2.New)}" even.

Can anyone suggest if I am doing wrong?

Thank You.
Chintan

Hi guys,
I have a time dependent workflow.
Criteria - Status != 'Closed'

1st action - After 7 days - create task
2nd action - after 15 days - create task

My Question is: as soon as, 1st action is completed, my record will be in queue for 2nd task (to be run after 15 days), right?
So, in case my record status is changed to 'Closed' between 7-15 days. Will my 2nd task get generated?

Thank you.
Chintan

Hey,
I want to export the configuration under Setup > Customize category. I checked this forum and found the best way is eclipse.
However, I want to know if there is any other way to export this configuration except Eclipse.
Can we write any batch program to export it?

Thanks,
Chintan

I am working on moving everything from 1 org to another org.
I am using eclipse kepler. First, I deployed org to Eclipse including meta-data.xml files of all classes. Then, I right click on project > Force.com > Deploy to server - and provided my new org credentials (where I want to move my 1st org).
I selected only my Transaction Object and validated it. An error is shown "transactiondetailpage does not exist or is not a valid override for action View". I selected Object and that Page, I received its controller is does not exist; and likewise, I got a deadlock situation where 5th file was dependent on Transaction object.
Can someone help me here please?

Regards,
Chintan
Hi,

I have to show New button on Custom VF page. I found a line of code on this forum as below:

<apex:commandButton action="{!URLFOR($Action.Custom_Object__c.New)}" value="New Button"/> and it worked for other objects.

For standard object, it works for Account :<apex:commandButton action="{!URLFOR($Action.Account.New)}" value="New"/>
However, for standard object "Products" it is not working.

I have tried : action="{!URLFOR($Action.Product.New)}" not as action="{!URLFOR($Action.product2.New)}" even.

Can anyone suggest if I am doing wrong?

Thank You.
Chintan
Hi,
Need some help identifying what am I doing wrong here?

With below code, I am trying to display account field  inside the two block sections side by side but for some reasons fields don't show up. surely I am missing something here but can't figure it out. 

Please can someone help?

Code:
<apex:page standardController="Account" sidebar="false">
  <apex:form >
    <apex:pageBlock title="{!account.name}" >
       
           <apex:pageBlockButtons >
              <apex:commandButton value="Edit" action="{!edit}"/>
              <apex:commandButton value="Save" action="{!save}"/>
           </apex:pageBlockButtons>
      
        <apex:pageBlockSection title="Details">
           <apex:pageBlockTable value="{!Account}" var="a" columns="4" >
           <apex:column headerValue="Quantitative" />
           
            <apex:outputField value="{! Account.ownerid }" />
            <apex:outputField value="{! Account.Phone }"/>
            <apex:outputField value="{! Account.Name }"/>
            <apex:outputField value="{! Account.Industry }"/>
            <apex:outputField value="{! Account.Account_flag__c }"/>
            <apex:outputField value="{! Account.Tier_Bucket__c}"/>
            <apex:outputField value="{! Account.NPS__c }"/>
            <apex:outputField value="{! Account.M_A_activity__c}"/>
           </apex:pageBlockTable>
           
           <apex:pageBlockTable value="{!Account}" var="b">
               <apex:column headerValue="Qualitative"/>
            <apex:outputField value="{! Account.TL_score__c }"/>
            <apex:outputField value="{! Account.Missed_calls__c }"/>
            <apex:outputField value="{! Account.Adverse_financial_warnings__c }"/>
            <apex:outputField value="{! Account.Change_of_CEO__c }"/>
            <apex:outputField value="{! Account.Change_of_exec_sponsor__c }"/>
            <apex:inlineEditSupport event="ondblClick" />
            </apex:pageBlockTable>

        </apex:pageBlockSection>
     </apex:pageBlock>        
 </apex:form> 

Many thanks,
Swapnil
I am working on moving everything from 1 org to another org.
I am using eclipse kepler. First, I deployed org to Eclipse including meta-data.xml files of all classes. Then, I right click on project > Force.com > Deploy to server - and provided my new org credentials (where I want to move my 1st org).
I selected only my Transaction Object and validated it. An error is shown "transactiondetailpage does not exist or is not a valid override for action View". I selected Object and that Page, I received its controller is does not exist; and likewise, I got a deadlock situation where 5th file was dependent on Transaction object.
Can someone help me here please?

Regards,
Chintan