You are viewing limited content. For full access, please sign in.

Question

Question

Setting a the Filing Date in a Record Folder from Workflow SDK

asked on September 26, 2014

I would like to set the FilingDate Property from a newly created Records Folder.

Here is what I have so far.  I created the Record Folder and returning the EntryID.  How can I set the FilingDate Property.

 public class Script1 : RAScriptClass91
    {
         /// <summary>
        /// This method is run when the activity is performed.
        /// </summary>
        protected override void Execute()
        {
             //string YR = WorkflowApi.GetTokenValueFromNameAsString("Year",1);
            int id = Folder.Create("\\Retention\\Community Development\\01Year\\2003","DEFAULT",0,RASession);          
        }

    }

1 0

Answer

SELECTED ANSWER
replied on September 26, 2014
            FolderInfo FI = Folder.GetFolderInfo("\\Series\\RF", RASession);
            Laserfiche.RepositoryAccess.Records.RecordFolderProperties RFprop = FI.GetRFProperties();
            RFprop.FilingDate = DateTime.Now;
            RFprop.Save();

 

2 0

Replies

replied on September 29, 2014

Thank you.. 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.