K2 4.6.4 Released

K2 blackpearl 4.6.4 has just been released which includes the following new features and enhancements: SharePoint Copy and Move When moving, copying or updating a document or list item in SharePoint it is now possible to preserve the existing SharePoint document or List Item’s MetaData and version history when using the SharePoint Document Wizard or… Continue reading K2 4.6.4 Released

K2 ServiceObject with File Property

Some code snippets to help FileProperty fpropData = new FileProperty(“FileData”, new MetaData(), String.Empty, String.Empty); fpropData.MetaData.DisplayName = “File Data”; fpropData.MetaData.Description = “File Data”; this.Properties.Add(fpropData); public static object ToFilePropertyValue(string propName, string filename, byte[] content) { return (new FileProperty(propName, new MetaData(), filename, Convert.ToBase64String(content))).Value; } dr[“File”] = Helper.ToFilePropertyValue(“File”, “foobar.dat”, {foobar byte[]});