You need to sign in to do that
Don't have an account?
Rajashri
How to insert/Update the Activity History Subject based on the button click
Hi.
I am new to SFDC. i have a requirement that on button click, create the activity to Activity History table with subject line "Left" value.
Can anyone please tell me how to do it?
<apex:commandButton value="VM1" action="{!vm1insert}"/>
public with sharing class singleListView {
public PageReference vm1insert() {
return null;
}
}
I am new to SFDC. i have a requirement that on button click, create the activity to Activity History table with subject line "Left" value.
Can anyone please tell me how to do it?
<apex:commandButton value="VM1" action="{!vm1insert}"/>
public with sharing class singleListView {
public PageReference vm1insert() {
return null;
}
}
Shashank (Salesforce Developers)
This page has some sample code, which you can modify for your need: http://salesforce.stackexchange.com/questions/27360/create-a-button-in-vf-page-that-creates-a-new-case-with-certain-record-type