• V MANJU
  • NEWBIE
  • 0 Points
  • Member since 2014
  • Mold-Tek


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 10
    Questions
  • 6
    Replies
On Product - fields name 'Price last Updated'

Once the product standard price has been updated today's date will be changed on field 'Price last updated'
Actually am using PE, In PE don't have Apex Classes. Here the scenario is After saving the popup page, don't want to go detail page also reload the tab page. See below image!!

see Below img, only on vf page no controller
This is My First PageSecond page

Normal Related list Link: https://manjudomain-dev-ed.my.salesforce.com/a0d/e?CF00N9000000Cxf5u=Project+management&CF00N9000000Cxf5u_lkid=a0c90000006nOxQ&retURL=%2Fa0c90000006nOxQ
I need custom Like that.

    public PageReference redirectUser(){
    list<Project__c> lst =[select id, Name from Project__c WHERE id= :ApexPages.currentPage().getParameters().get('id')];
    System.debug('@@@lst@@@'+lst);

    PageReference ref = new PageReference('/a0d/e?CF00N9000000Cxf5u={lst.Name}&CF00N9000000Cxf5u_lkid={id}&retURL=%2F{id}');
    return ref;
}

Thanks:
Hello,

I am looking for tutorial for integrating Salesforce with Social media.

for instance:
I want to do job postings on facebook or linkdin from Salesforce.
I may traack resposes
  • August 07, 2015
  • Like
  • 0
On Product - fields name 'Price last Updated'

Once the product standard price has been updated today's date will be changed on field 'Price last updated'
This component renders a picklist value from the sobject
<apex:inputField value="{!Evaluation__c.Outcome__c}" ></apex:inputField>

this components renders picklist field in wich a value called 'None' is added
                    <apex:selectList value="{!nextStageSelection}" multiselect="false" size="1"  label="Next Stage" >                      
                        <apex:selectOptions value="{!StageItems}"/>
                    </apex:selectList>

In the first picklist if i choose the value  'Rejected' then automatically 'None should be selected in the picklist value. I am not an expert in Java script. please help  me. Thanks in advance.'
Hi,

Following is my Code of visualforce for Editing and Deleting a record from Grid iew display of records:

Code:
<apex:commandButton value="Edit" action="{!editContact}">
    <apex:param name="editContact" value="{!c.Id}"></apex:param>
</apex:commandButton>
|&nbsp;
<apex:commandButton value="Del" action="{!removeContact}" onclick="return confirm('Are you sure—');">
    <apex:param name="delContact" value="{!c.Id}"></apex:param>
</apex:commandButton>

and controller class code is as follows:
Code:
        public PageReference removeContact()
        {
                cId = ApexPages.currentPage().getParameters().get('delContact');
                Contact contact = Database.query('select Id from Contact where id='+cId);
                //Contact contact = [select Id from Contact where id=:cId];
                
                delete contact;
                
                return null;
        }

        public PageReference editContact()
        {
  PageReference pageRef= new PageReference('/'+ApexPages.currentPage().getParameters().get('editContact'));
  pageRef.setredirect(true);
  return pageRef;
        }


but when I click Edit or Delete buttons for any record in the list view Nothing happens except that the page refreshes only.

How can I implement Edit and Delete of Records in Visualforce Page display records in Grid View structure?

Thanks.


  • November 13, 2008
  • Like
  • 0