Scope: managed applications.
User history automatically records events of interactive adding or change of infobase objects (documents, catalog items, and other). We recommend that you also record in the history other user actions that result in writing objects. For example: "Put file" command for the Files catalog item.
To add events to user history, use the UserHistory object of the UserHistoryManager type. Example:
&AtClient
Procedure PutFile(Command)
// Placing a file in the database
// …
// Adding the event to the user history
UserHistory.Add(GetURL(Object.Ref));
EndProcedure