replied on September 4, 2014
Robert,
Thanks for the help. I am getting any error when I try to implement this method. Here is my code.
// ====== Set Tag to Triger Workflow ====== 9/4/2014
int docId = documentID;
Laserfiche.RepositoryAccess.DocumentInfo doc = Document.GetDocumentInfo(docId, mySess);
FolderInfo parentFolder = doc.GetParentFolder();
TagInfo tagToAssign = Tag.GetInfo("Packet Complete",mySess);
parentFolder.AssignTag(tagToAssign, ""); // Saves immediately
The error occurs at "Tag.GetInfo" it says;
Error 19 'object' does not contain a definition for 'GetInfo' and no extension method 'GetInfo' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) H:\_Development\VS2012\c#.Net\Document Package Creator\Document Package Creator\Form1.cs 99 39 Document Package Creator
I assumed this is a Repository Access assembly.
What am I missing?
Phil