08-20-2013 01:36 PM
Hi
I have a script that creates notes base on some rules, my problem is that the notes are note creating in eforms but in images document yes.
this is the piece of code I'm using
private void createNote(string noteText,Hyland.Unity.Application app, Hyland.Unity.WorkflowEventArgs args)
{
//Create a Note with the error message
NoteType noteType = app.Core.NoteTypes.Find("PE Service Error");
NoteModifier noteMod = args.Document.CreateNoteModifier();
//Properties of the Note
NoteProperties noteProps = noteMod.CreateNoteProperties();
noteProps.Text = "Error" + Environment.NewLine + "Error Message: " + noteText;
//noteProps.PageNumber = 1;
//Create the New Note
Note newNote = noteType.CreateNote(noteProps);
noteMod.AddNote(newNote);
noteMod.ApplyChanges();
app.Diagnostics.Write("Note Added");
}
08-26-2013 12:46 PM
Due to needing more information and this being a potential issue with any number of things,my suggestion to you is reach out to us at API Support via apisupport@onbase.com for assistance. We are happy to assist you in troubleshooting if you are part of an API Certified organization. If you are not API Certified, we can put you in contact with our Custom Solutions Group who would be able to assist you as a billable service.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.