Hello,
I’m not able to add an action…
This is what I did:
Notes.ini (Server)
==================
iNotes_WA_DEBUG=1
iNotes_WA_FormsFiles=iNotes\forms85.nsf, iNotes\forms85_x.nsf
Forms-Files
===========
iNotes\Forms85.nsf (standard)
iNotes\Forms85_x.nsf extension
iNotes\temp\Forms85_x.nsf to make changes that are copied to the extension file,
generated as new database with template Forms85_x.ntf, design refresh prohibited
$FormsTemplateFile
==================
… is set to “iNotes/Forms85.nsf” on
iNotes\Forms85_x.nsf
iNotes\temp\Forms85_x.nsf
mail\administ.nsf
Custom_JS_Lite
============
Un-commented:
function Custom_Scene_Actions_Lite(s_MenuID)
{
var a = [{title:"Hello world", find_id: "new", id: "hello1", before: true, action:"alert('Hello world!')", help_text:"some hover text" }];
addActionsLite( s_MenuID, true, a );
};
Process
======
designer amendments in iNotes\temp\Forms85_x.nsf
console dbc f
console tell http inotes flushforms
client copy iNotes\temp\Forms85_x.nsf to iNotes\Forms85_x.nsf
console dbc f
console tell http inotes flushforms
browser clear cache and reload http://127.0.0.1/mail/administ.nsf
result:
An empty web-page with coloured frames…
:-(((
When I rename the iNotes\Forms85_x.nsf and repeat the a.m. console-statements, a normal iNotes-page results.
Help is highly appreciated!
Nicolas