• Swathi soma 2
  • 10 Points
  • Member since 2018

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
  • 5

I have wrtitten a triger like below:

trigger contractAfterInsert on Contract (after insert) {   

When i create new contract, the trigger is never executed, i cecked in prespective analysis, only the validation rule and wrkflow is executed

any idea on reason ?
  • September 20, 2019
  • Like
  • 0
Hi all,
Can we  query all the child records for a parent record where excluding a particular child ID?
  • September 20, 2019
  • Like
  • 0
String s1 = 'Hello Max';
String s2 = s1.right(3);
System.assertEquals( 'Max', s2);

for this scenario i have created the apex calss ;

public class  testing {

 public string result{get;set;}

  public void  m1(string name){

     string trname =name.right(3);

 result = trname;


 visualforce page:

  <apex:commandbutton value="editedname" action="{!m1}" />

  <apex:inputtext label="Enter your name"  value="{!name}"


the scenario is , need an inputfield , if you enter in the filed the last value should have to trim and have to display in the visualforce page.. 

 iam in confusion how it can be acheived.

  • December 04, 2018
  • Like
  • 0
I want to integrate chat in my website. I tried live agent & snap-in. It's working. But, both are not persistent in mutiple tabs. Whenever i open a new tab, in that page new chat session will start. User session is not maintaining in mutiple  tabs. Live agent is not working after refresh. Live agent will start new chat after refresh also.
I am looking for in page chat, not popup window chat. Any one is using salesforce chat without any issue?