AnsweredAssumed Answered

PDM console macro to batch check in files

Question asked by Steven Dod on Feb 10, 2021
Latest reply on Feb 15, 2021 by Mike Dekoning

I found a macro on CodeStack that would batch check in all checked out files in a specified Vault.  I have modified it to only add the files to the list if it is the current logged in user.  Unfortunately it fails with a "parameter is incorrect" error at the "batchUnlockUtil.AddSelection(vault, selItems)" line.  I have tried working with my VAR but they have not had any luck figuring out the issue.  I am hoping one of you API gurus can help me fix this issue.  The code I am using is attached.