首页 iNotes 8.0(Forms*.ntf)修改
文章
取消

iNotes 8.0(Forms*.ntf)修改

修改Forms*.ntf的步骤:
1、复制Forms*.ntf数据库至一临时目录做为备份
2、按照需要修改Forms*.ntf设计
4、停止HTTP任务:tell http quit(也可以不停止Http,第七步直接重启Http:tell http restart)
5、清除数据库缓冲:dbc f
7、启动HTTP任务:load http(4、5、7步可用tell http inotes flushforms代替)
8、清空游览器缓冲
9、测试

Forms8.ntf设计元素清单
iNotes中的CSS样式

h_ShimmerSkin IE游览器

h_ShimmerSkin_Gecko Mozilla游览器

其他关键字:

  • h_ListFolder, h_Portal, h_DwaLite, h_PortalLite: 用于视图显示
  • h_ApptPage: 用于日历项, 待办, Out of Office, 设置 (has a different class specified for the BodyDiv outer div within the main PageContent area displayed by the PageContent skin component).
  • h_MailPage: 用于邮件编辑显示
  • h_Edit: 欢迎页

其他非CSS修改:

  • Custom banner 对应dwa-logo_7.gif文件资源
  • Welcome page 对应s_WelcomePageEdit子表单
  • Array of special colors 对应s_SessionInfo表单

修改表单或子表单:
iNotes FORMS.NSF文件:
* Custom_JS -- to add custom action buttons for any view or dialog
* Custom_WelcomePage -- to add more choices for the end user's Welcome Page
*子表单Custom_Banner -- to replace the Lotus iNotes logo

*子表单s_mailMemoDictionary

Note If you modify the default CalendarProfile values, the new values affect only new user registrations. Default values for existing users are not changed.

tell http inotes flushforms

添加菜单
1、打开表单"Custom_JS"
2、找到"",把前后的注释段()去掉
3、修改"function Scene_Actions( s_SceneName, o_Window, s_TopBranchId )",具体用法见该方法里面的样例和子表单"Custom_ActionsHelper"对应注释。
比如新建邮件时添加一菜单:
//that "uw" is the obfuscated variable h_isBeingEdited
if ('s_mailmemo' == s_SceneName.toLowerCase() && uw){
// the menu
var aTest = [{title:"测试菜单", pos: 10, href:"javascript:alert('Hello world!')", help_text:"测试菜单而已" }];
addActions(s_TopBranchId, aTest);
}

链接:IBM Lotus Domino Web Access 6.5 skin customization
Customizing the look of Lotus iNotes
Manipulating data in Domino Web Access
Using Lotus iNotes agents

Lotus iNotes 8.5.1模板的修改已改变,具体见Customization updates for 8.5.1

Lotus iNotes customization

Inserting Custom Sidebar Panels in iNotes 8.5

 

本文由作者按照 CC BY 4.0 进行授权