クラスlibrary(dll)に以下のコードを記述し、構成ファイルod Tridionにアセンブリ参照を追加しましたが、user.Idを示すウィンドウまたはアラートを取得できず、エラーが発生しません。
[TcmExtension( "Myevent")] public class GetInfo:TcmExtension {
public GetInfo()
{
EventSystem.Subscribe<User, LoadEventArgs>(OnUserLoad, EventPhases.TransactionCommitted);
}
private void OnUserLoad(User user, LoadEventArgs eventArgs, EventPhases phase)
{
MessageBox.Show(user.Id);
Console.WriteLine(user.Id);
}