Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

@Maxim-CADman77 

Anything (ipts/iams/idw..) as standard check-in dialog.

 

@bradeneuropeArthur 

Well this is where we got stuck :disappointed_face: 

---------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.VisualBasic;
using System.Windows.Forms;
using Autodesk.Connectivity.Explorer.Extensibility;
using Autodesk.DataManagement.Addin.Vault;
using Autodesk.Connectivity.WebServices;
using Autodesk.Connectivity.WebServicesTools;
using VDF = Autodesk.DataManagement.Client.Framework.Vault;
using Connectivity.InventorAddin.EdmAddin;
namespace MyProject.Classes
{
    public class VaultEventHandler : Autodesk.Connectivity.WebServices.IWebServiceExtension
    {
        public void OnLoad()
        {
            //Autodesk.Connectivity.WebServices.DocumentService.CheckinFileEvents.Pre += new EventHandler<CheckinFileCommandEventArgs>(addfilerunlogic);
            Autodesk.Connectivity.WebServices.DocumentService.CheckinFileEvents.Pre += CheckinFileEvents_Pre;
            Autodesk.Connectivity.WebServices.DocumentService.CheckinFileEvents.Post += CheckinFileEvents_Post;
        }

        private void CheckinFileEvents_Pre(object sender, CheckinFileCommandEventArgs e)
        {
            MessageBox.Show("Pre - Check-in action");
        }

        public void CheckinFileEvents_Post(object sender, Autodesk.Connectivity.WebServices.CheckinFileCommandEventArgs e)
        {
            MessageBox.Show("Post - Check-in action");
        }
    }
}