• Anonymous
  • Login
  • Register
XPages OpenLog Logger - Feature Request: Field Is too Large (32K)...


The method "getMessage()" returns the content of the whole SSJS library whre the error occurs. This text may be bigger than 32ko... 

Storing this text into a simple text field "LogMessage" works fine but prevents you later from reading generated documents in OpenLog.nsf database : you get the message "Field Is too Large (32K)..."

So I propose to modify the class OpenLogItem, public static boolean writeToLog() : 

// logDoc.replaceItemValue("LogMessage", getMessage());
RichTextItem rtItem = logDoc.createRichTextItem("LogMessage");
rtItem.appendText(getMessage());

This solved the problem for me.




Taken Actions by Owners

Added to M3 release, ext lib and non ext lib editions



In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.