Welcome Guest. Sign in or Signup

2 Answers

Component Specific PeopleCode

Asked by: 4204 views PeopleCode

You are going to implement a specific logic in a page. You figure out that the Record PeopleCode should be written in the SaveEdit event. However, as this record is used in many other components, you are required to limit the execution of this code to this particular Component. How would you do this?

Related Questions

2 Answers



  1. candidate on May 12, 2012 Reply

    In your PeopleCode, write a condition to check if the code is being executed from the particular component.

    This can be done by using the %component

    +2 Votes Thumb up 0 Votes Thumb down 0 Votes



  2. Swapnil Sahare on Jul 25, 2012 Reply

    Use the SaveEdit event at the component record level, means write the peoplecode at the component record level by using SaveEdit event

    +10 Votes Thumb up 0 Votes Thumb down 0 Votes


Answer Question