It is a good practice to save your PeopleCode on regular basis to avoid having recreate the code if something happens to your App Designer. Even Though we tend to save all our code there are some instances with or without our interventions our workstation or App Designer might crash, hence we might lose our precious work :-)
A PeopleCode program is automatically saved to a file while you are working on it. This checkpoint occurs at the following times:
The name of the file begins with the following name:
PPCMMDDYY_HHMMSS.txt
and includes month, date, and year, hour, minute, and second of the checkpoint, respectively.
you might see more than one of these files with different timestamps. If your PeopleCode program saves successfully, checkpoint files associated with that program are automatically deleted.
A PeopleCode program is automatically saved to a file while you are working on it. This checkpoint occurs at the following times:
- Every 10 keystrokes.
- On a save command, just before the save is executed (in case the save does not actually execute because the code is invalid).
- When another PeopleCode program is selected to be edited (if you have two PeopleCode editor windows open at the same time and you move from one to the other).
- In a windows machine, most probably you can find your TEMP directory in C:\Users\<username>\AppData\Local\Temp
- Otherwise Type %TEMP% in to Run window (Window Key + R)
PPCMMDDYY_HHMMSS.txt
and includes month, date, and year, hour, minute, and second of the checkpoint, respectively.
you might see more than one of these files with different timestamps. If your PeopleCode program saves successfully, checkpoint files associated with that program are automatically deleted.