• poonam
  • NEWBIE
  • 0 Points
  • Member since 2008

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies
Hello folks,
 
While creating a customized list button, we get an option for check boxes for multi select option.
When that object is included as related object, I get a checkbox near to each and every record.
eg: Case SObject has related customized object whose related list button has got multi select option.
 
I want to track the selected record.
So how can we map the value for checkbox selected in a customized list button?
 
Thanks.
Custom Object
Action       Field Label         Data Type
Edit | Del
 
 
The above view is to be customized into a custom object where Action part should include more action links besides default (Edit and Del).
 
Is it possible to add XYZ action link in Action part near Edit and Del which are default.
 
Custom Object
Action                Field Label         Data Type
Edit | Del | XYZ
How is it possible to hide the page code from other users who are using the application.
I'm using developers edition, new comer into sales force development and has developed one application, and thus want that other users should not see the code. How can i make this happen?
  • February 29, 2008
  • Like
  • 0
Hello all,
I'm a newbie on Salesforce and still learning. I'm coming across one problem for which i need your utmost help.
 
This is for the development of Employee Info application where the detail information of each employee is feeded into the application and can be managed accordingly... so,
How can i add(insert) a new record in my custom object where i have created a custom command button.
Below is the apex code for my controller:
 
here EmpInfo__c is custom object where all the information should be saved.
 

******************************

<apex:commandButton action="{!Save}" value="Save" /> // onclick of save button, a new record should be inserted

******************************

 

 

public class EmpCon {

String[] YOE = new String[]{};

String[] Desg = new String[]{};

EmpInfo__c emp;

String Id=System.currentPageReference().getParameters().get('IDInput');

String name=System.currentPageReference().getParameters().get('NameInput');

String add=System.currentPageReference().getParameters().get('AddInput');

String phone=System.currentPageReference().getParameters().get('PhoneInput');

String dob=System.currentPageReference().getParameters().get('DOBInput');

String doj=System.currentPageReference().getParameters().get('DOJInput');

String exp=System.currentPageReference().getParameters().get('ExpInput');

String desg1=System.currentPageReference().getParameters().get('DesgInput');

String skill=System.currentPageReference().getParameters().get('SkillInput');

 

public PageReference Save() {

PageReference curPage = System.currentPageReference();

EmpInfo__c emp;

emp = new EmpInfo__c(ID__c ='Id', Name__c='name', Address__c='add', Phone__c='phone', Years_Of_Experience__c='exp', Designation__c='desg1', Skills__c='skill');


try

{

insert emp; // here is the problem... how should insert a new record???


}catch (DmlException e) {

System.debug(e.getMessage());

}

return null;

}


 

**************

 Same problem occurs for Update

  • February 20, 2008
  • Like
  • 0
How can we create relation to an object through custom defined field. I was able to create relationship through standand record field in custom object
How is it possible to hide the page code from other users who are using the application.
I'm using developers edition, new comer into sales force development and has developed one application, and thus want that other users should not see the code. How can i make this happen?
  • February 29, 2008
  • Like
  • 0
Hello all,
I'm a newbie on Salesforce and still learning. I'm coming across one problem for which i need your utmost help.
 
This is for the development of Employee Info application where the detail information of each employee is feeded into the application and can be managed accordingly... so,
How can i add(insert) a new record in my custom object where i have created a custom command button.
Below is the apex code for my controller:
 
here EmpInfo__c is custom object where all the information should be saved.
 

******************************

<apex:commandButton action="{!Save}" value="Save" /> // onclick of save button, a new record should be inserted

******************************

 

 

public class EmpCon {

String[] YOE = new String[]{};

String[] Desg = new String[]{};

EmpInfo__c emp;

String Id=System.currentPageReference().getParameters().get('IDInput');

String name=System.currentPageReference().getParameters().get('NameInput');

String add=System.currentPageReference().getParameters().get('AddInput');

String phone=System.currentPageReference().getParameters().get('PhoneInput');

String dob=System.currentPageReference().getParameters().get('DOBInput');

String doj=System.currentPageReference().getParameters().get('DOJInput');

String exp=System.currentPageReference().getParameters().get('ExpInput');

String desg1=System.currentPageReference().getParameters().get('DesgInput');

String skill=System.currentPageReference().getParameters().get('SkillInput');

 

public PageReference Save() {

PageReference curPage = System.currentPageReference();

EmpInfo__c emp;

emp = new EmpInfo__c(ID__c ='Id', Name__c='name', Address__c='add', Phone__c='phone', Years_Of_Experience__c='exp', Designation__c='desg1', Skills__c='skill');


try

{

insert emp; // here is the problem... how should insert a new record???


}catch (DmlException e) {

System.debug(e.getMessage());

}

return null;

}


 

**************

 Same problem occurs for Update

  • February 20, 2008
  • Like
  • 0