Condition to do Partial or Full Refresh when uploading files in Xpages

function is901_Or_Later(){
	var v = parseInt(@Right(@Left(session.getNotesVersion(),"|")," ").replace(".",""));
	return v>=901 ? true : false;

in version 9.0.1 of Domino you can upload files using partial refresh, but that was not possible in older versions.
Use this function to render one save button with partial refresh if true and render another save button with full refresh if false

JavaScript (Server)
Thomas Adrian
February 23, 2014 4:15 AM

All code submitted to OpenNTF XSnippets, whether submitted as a "Snippet" or in the body of a Comment, is provided under the Apache License Version 2.0. See Terms of Use for full details.

No comments yetLogin first to comment...