2015/01/17

[Domino/Notes Lotus] 視界輸出JSON格式

資料庫Web路徑/ViewName?ReadViewEntries&OutputFormat=JSON&count=10&start=1

[LotusScript] 用代理程式建立通訊錄文件


Sub CreateNamesDocument(doc As NotesDocument, FullName As String, LastName As String, HTTPPassword As String, MailAddress As String, MailSystem As String)

'員工Notes的ID帳號
doc.FullName=FullName

'員工名稱
doc.LastName=LastName

doc.HTTPPassword = session.hashPassword(HTTPPassword) '密碼需要加密 session.hashPassword()

doc.MailAddress=MailAddress

doc.InternetAddress=InternetAddress

doc.MailSystem=5

Call doc.Save(True,false)

End Sub

2014/12/23

[Domino/Notes Lotus] 視界最後一欄特別寬

在畫面顯示的時候,發現有一個視界的最後一欄位特別的寬

一直找不到原因,後來才發現是視界設定的問題

將下圖紅框的部分取消勾選即可

將圖片中紅框的部分取消勾選即可

這真是個有點蠢的問題

2014/12/20

[Jquery Ajax] 解決 jquery ajax 跨網域存取呼叫 Asp.net Web Service

Ajax呼叫外部網域的Web Service基於安全性上是不被允許的

JS程式碼如下:

2014/11/05

[HTML/CSS]讓textarea禁止換行、不顯示捲軸(外表看似input text,實際是textarea)

專案進行中,因為套用了第三方框架,使用input text設定width100%居然會失效

然後發現采用textarea意外的可以正常運行

接下來就是處理多行輸入、捲軸、鍵盤Enter的問題

所以要在style加上下面的語法來處理

2014/10/28

Lotus Domino 各種項目的最大值

挑戰極限Lotus Domino各項目的最大值

Table of Notes and Domino known limits

The following table summarizes the known maximum limits of various IBM® Lotus® Notes® and
IBM® Lotus® Domino® features.
Item
Maximum limit
Database sizeThe maximum OS file size limit -- (up to 64GB)
Text field size32KB (storage); 32KB displayed in a view's column
Rich text field sizeLimited only by available disk space up to 1GB
Response levels in a hierarchical view; number of documents per level31 levels; 300,000 documents
Characters in namesDatabase Title: 96 bytes
Filenames: On Windows® and UNIX® platforms minimum of 255 and/or OS limits; on local Macintosh workstation 31
Field names: 32 characters (32 bytes in SBCS, 64 bytes in DBCS)
View names: 63 bytes per level, 127 total including one separator
Form names: 63 bytes per level, 127 total including one separator
Agent names: 63 bytes per level, 127 total including one separator
Fields in a database~ 3000 (limited to ~ 64K total length for all field names). You can enable the database property "Allow more fields in database" to get up to 22,893 uniquely-named fields in the database.
Columns in a table64
Rows in a table255
Views in a databaseNo limit; however, as the number of views increases, the length of time to display other views also increases
Forms in a databaseLimited only by database size.
Columns in a view289 ten-character columns; dependent upon # or characters per column
Documents imported into a viewDocuments totaling at least 350K
Cascading views in a database200
Margin size (in inches)46
Page cropping size (in inches)46
Point size to select or print250
Documents in a viewUp to the maximum size of the database
Documents that can be exported to tabular textLimited only by available disk space
Entries in an Access Control List (ACL)~950 names (ACL size is limited to 32767 bytes)
Roles in an Access Control List75 Roles
ID password length63 characters
Authorized users on a multiple password ID8 users
Outline entries in an outline~21,000 entries
Length limit for a macro language string literal2048 bytes
Note Strings in formula language are represented internally in the LMBCS character set, which uses one byte for an ASCII character, but may require up to 4 bytes for some non-ASCII characters.
Notes API objects when using Java™~104,800