Hi
I am creating a add-in which generates a text file.
After it have been generated, I would like to check it in and release it.
But it seems that I need something between creating the file and checking it in.
If I generate the file and after this code have:
Dim tempFile As IEdmFile16
tempFile = _fold.GetFile(fileNameNoExt + "Temp.cmd")
tempFile.UnlockFile(0, "Created")
tempFile.ChangeState2("Released", _fold.ID, "Automatic Released from Task", 0, EdmStateFlags.EdmState_Simple, "password")
I does not check in the file. If I run the last part of the code separately after generating the file - it functions fine.
What is missing?
Sussi