Hello,
I can't find the help in the SDK. 2 issues regarding when checking files.
1. Is it possible to check in a list of Files with one call? The "FileManager.CheckInFile" method does not take a list of files as inparameter...
2. How do I prompt the user to be able to write a "checkin comment" before checking in?
Here is my code:
List<ACW.FileAssocParam> assocParamlist = new List<ACW.FileAssocParam>();
foreach (ACW.FileAssocLite assoclite in assocs)
{
ACW.FileAssocParam assocparam = new ACW.FileAssocParam();
assocparam.CldFileId = assoclite.CldFileId;
assocparam.ExpectedVaultPath = assoclite.ExpectedVaultPath;
assocparam.RefId = assoclite.RefId;
assocparam.Typ = assoclite.Typ;
assocParamlist.Add(assocparam);
}
ACW.FileAssocParam[] assocParamArray = assocParamlist.ToArray();
_mainLogic.Conn.FileManager.CheckinFile(file, "checking in", false, assocParamArray, null, false, null, ACW.FileClassification.None, false);
I want something similar to the same functionality when checking in from Vault Client.
Solved! Go to Solution.
Solved by smithmat. Go to Solution.
1. No. Check-in is one file at a time.
2. You'll have to prompt the user on your own. There is currently know feature in the SDK that prompts the user for you (i.e. the SDK doesn't provide the dialog from Vault Explorer.