@Command({ViewRefreshFields}) functionality in Javascript

During web application development it would be great to have something like "@Command([ViewRefreshFields])"

Many times during web application development (in Notes) we feel that it would have been nice if we had something like "@Command([ViewRefreshFields])" in JavaScript.

Use this function in JSHeader.

function refresh () {

(You can use "_doClick('$Refresh',this,'_self');" directly in your JavaScript code as well. However, using it as a function is a better option.)

Call the same on click of action hotspot, onblur event of a field, etc.

This will work exactly like "@Command([ViewRefreshFields]) " in Formula Language.

(This is applicable to R5.x only).

Dig Deeper on Lotus Notes Domino Administration Tools

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...