Undokumentierte @Formeln/LotusScript im Lotus Notes Client/Server

简介:
Erstellung von Replik-IDs mittels @Text-Funktion
@Text( @Now; "*" )
Source NoPersist  option in  SetProfileField / GetProfileField :
@SetProfileField([NoPersist];"Value to store";@Username)

This is a neat flag used to set variables in a virtual profile document - it doesn't really exist. It's kind of like an environment variable, except instead of writing to Notes.ini, you're writing to a temporary client session cache. This only works in the UI between windows in the same database for the life of the current session. Each database has its own NoPersist cache on the Notes client, so unlike environment variables, this will only work in the same database.
Source Undocumented DOM LotusScript Inventory:
Here's an inventory of LotusScript COM/OLE classes holding undocumented properties and methods. I compiled it using Notes/Domino release 7 type library. OMT notation is used for brevity... Befehl, um die  Namen  über den  Browser  aus dem  Adreßbuch  zu holen :
@DbCommand("Domino";["LoadAddressListByIndex" | "LoadAddressListByName"];"names.nsf"; txtTargetField; strMax; [strIndex | strKey])
the LoadAddressListbyIndex command to work was the ($PeopleGroupsFlat) view to be included in my database Stellt Informationen aus der  aktuellen Arbeitsumgebung  bereit:
@LocationGetInfo([HomeServer])
@LocationGetInfo([CatalogServer])
@LocationGetInfo([SametimeServer])
@LocationGetInfo([NamePreference])
@LocationGetInfo([MailProtocol])
@LocationGetInfo([WebRetriever])
@LocationGetInfo([BookmarksFileName])
@LocationGetInfo([InternetMailAddress])
@LocationGetInfo([AreaCode])
@LocationGetInfo([**
Feldname*** ])  Einfach mal andere Feldnamen probieren... ;-) Codiert eine URL , so dass auch Sonderzeichen/Umlaute/reservierte Zeichen genutzt werden können, siehe auch  escape() -Funktion  in JavaScript:
@URLEncode
Stellt Einträge aus der  Registry  zur Verfügung:
@RegQueryValue("HKEY_LOCAL_MACHINE"; "SOFTWARE\\Network Associates\\TVD\\Shared Components\\VirusScan Engine\\4.0.xx\\"; "szDatVersion")
Zeigt den Dialog zum Öffnen einer Datenbank:   Quelle
@Prompt([ChooseDatabase]; ""; ""; ""; "")
Rückgabe-Liste:  ServerName : FileName/Path : DatabaseTitle Zeigt den Dialog zum Öffnen einer Datenbank in LotusScript:  Quelle
variant = notesUIWorkspace.Prompt( type%, title$, prompt$ [, default ] [, values ] )
type% = 13 benutzen
Rückgabe-Liste: s.o.
Zeigt den Dialog zum Öffnen einer Datei:
@Prompt([LOCALBROWSE]; "Title"; "Text")
Undocumented LotusScript from DominoUpdate Journal :
Dim s As New NotesSession
Dim db As NotesDatabase
Set db = s.CurrentDatabase
If (db Is Nothing) Then
Exit Sub
End If
Dim flds As Variant, x As Integer, fldList As String
flds = db.GetFields(False)
For x = 0 To Ubound(flds)
fldList = fldList + flds(x) + Chr(13)
Next x
Msgbox fldList, 0, db.Title + " fields"

db.RetrievePOP3MAIL("server address",port,"username","password",(True/False to retain mail), (True/False to use SSL))
Db.CreateNewsGroup("group name")
Dim s As New NotesSession
Dim db As NotesDatabase
Set db = s.CurrentDatabase
If (db Is Nothing) Then
Exit Sub
End If
Dim dc As NotesDocumentCollection
Dim doc As NotesDocument, gid As String, html As String
Set dc = db.AllDocuments
For x = 1 To dc.Count
Set doc = dc.GetNthDocument(x)
gid = doc.GenerateMessageID
html = doc.GenerateHTMLString
Next x

Dim s As New NotesSession
Dim idom As String, ihost As String, win As Variant, cr As String
cr = Chr(13)
idom = "Internet Domain: " + s.InternetDomainName
ihost = "Internet Host: " + s.InternetHostName
Set win = s.GetWin32Domain
Msgbox idom + cr + ihost + cr + "Win32 Domain: " + win.ServerName, 0, "Example 3"
Call s.Close()

Dim uiw As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = uiw.CurrentDocument
Print uidoc.ParentViewName

Dim uiw As New NotesUIWorkspace
Call uiw.AddDatabaseToPortfolio()
Call uiw.AddBookmark("Example 5")

Dim s As New NotesSession
Dim db As NotesDatabase
Set db = s.CurrentDatabase
If (db Is Nothing) Then
Exit Sub
End If
Dim dc As NotesDocumentCollection
Dim doc As NotesDocument
Dim item As NotesItem
Dim pt As Variant, html As String
Set dc = db.AllDocuments
For x = 1 To dc.Count
Set doc = dc.GetNthDocument(x)
Set item = doc.GetFirstItem("combo")
pt = item.PartialText
Next x

Dim s As New NotesSession
Dim db As NotesDatabase
Set db = s.CurrentDatabase
Dim dc As NotesDocumentCollection
Dim doc As NotesDocument, temp As NotesDocument
Dim rt As NotesRichTextItem
Dim pt As Variant, html As String
Set dc = db.AllDocuments
Set temp = dc.GetFirstDocument
For x = 1 To dc.Count
Set doc = dc.GetNthDocument(x)
Set rt = doc.GetFirstItem("Body")
pt = rt.PartialText
Call rt.AddLinkByIDS(db.ReplicaID, "","",temp.UniversalID)
Call doc.Save(False, False)
Next x
Quelle Es gibt in R5 und R6 einen pracktischen undokumentierten Formalsprachebefehl:
list:=@GetMembers(List;Pos[;Anzahl])
Der Befehl holt aus einer Liste ein oder mehrere Elemente ab der stelle Pos. Wenn die Anzahl weggelassen wird, wird ein Element geholt.
Quelle Sent by Jim Fricker (10.10.2008):
  • @LocationGetInfo([AbbreviatedName])
    @LocationGetInfo([FullName])
    @LocationGetInfo([UNID])
  • @AddBusyTime(|text; text; date)
  • @FindFreeTime(|text; text; date; number)
  • @MailConfirmPreference
  • @MailFoldersPreference
  • @LocationGetOSTZ
    @LocationGetTZ(|variant)
    @LocationGetTZ
  • @CharSetInfo([Charsets])
    @CharSetInfo([Encoding])
    @CharSetInfo([DefaultCharset])
  • @AdminPerformAction(|date; [variant])
    @AdminCreateRequest(|date; [variant])
    DeleteUser
    DeleteGroup
    DeleteServer
  • @URLSubmit(|number)
    @URLSubmit
  • @NetAccount([DeleteNTUser])
    @NetAccount([IsNetworkAdmin])
  • @FindFreeResource(|text; text; text; text; [variant])
    InGMT
    InLocalTime
  • @DbUnreadCount(|text)
  • @OpenCalendar(|date; [variant])
    Group
    Individual
  • @X509Certificates(|date; text; [variant])
    DeleteX509Cert
  • @MailFilterAddToFolder(|text)
  • @AccountGetInfo(|text; text)
  • @AdminDelegateMailFile(|number; text; text; text; text; text; text; text; text; text; text; text; text; text; text; text; text)
  • @BitAnd(|[number])
    @BitOr(|[number])
    @BitXor(|[number])
    @BitNot(|number)
    @BitShift(|number; number)
  • @GetMembers(|variant; number; number)
  • @AddBookmark(
  • @UpdateViewDesign(|text)
  • @ExpandNameList(|text; text)
  • @CRLList(|[keyword]; fieldname; start at; max return)
    IssuedBy
    ThisUpdate
    ThisNext
    RevokedDate
    RevokedSerialNumber
  • @DbAdminServer
  • @IsDbPrimaryAB
  • @IsSoftDeleteEnabled
  • @GetSoftDeleteExpireTime
  • @SetSoftDeleteExpireTime(|number)
  • @CertBlobPack(|blob item name; blob type; prefix; number)
    @CertBlobUnpack(|blob item name; blob type; prefix; number)
  • @IsXACLEnabled
  • @MailFilterStopProcessing
  • @DbBuildVersion
  • @CRL(|[Export]; fileName)
  • @RecoverIDFile(|[keyword]; backupfilename; recoveredfilename; newpassword)
  • @WhichFolders
  • @ShowParentPreview
  • @ManageECL(|server : database)




Habt Ihr weitere undokumentierte @Function- oder LotusScript-Formeln?
Bitte  sendet sie mir zu , damit ich sie veröffentlichen kann...



本文转自生鱼片博客园博客,原文链接:http://www.cnblogs.com/carysun/archive/2008/05/16/1200949.html,如需转载请自行联系原作者

目录
相关文章
|
2月前
|
前端开发 JavaScript Java
智能客服系统的技术栈解析-唯一客服系统技术架构优势
“唯一客服系统”采用 Vue.js 2.x + ElementUI 构建前端,实现响应式界面,支持多端适配;后端基于 Golang + Gin + GORM,具备高性能与高并发处理能力。系统支持私有化部署,提供灵活定制、AI 扩展能力,技术栈简洁易维护,兼顾开发者友好与企业级应用需求。
157 1
|
2月前
|
测试技术 Go
客服系统程序入口文件解析-唯一客服系统源码开发
该代码为 Go 语言编写的客服系统命令行程序入口,结构清晰,使用 cmd 包启动业务逻辑,可能基于 cobra 框架实现,具备良好可扩展性与可维护性,适用于服务启动与管理。
161 69
|
30天前
|
数据安全/隐私保护 容器 Go
开源IM即时通讯系统调研
Lumen IM 是一款企业级开源即时通讯工具,前端采用 Vue3 + Naive UI,后端基于 Go 语言,使用 WebSocket 协议。支持 Docker + Nginx 快速部署,适合私有化环境。功能包括文本、图片、文件消息,内置笔记、群聊及消息历史记录。界面美观、功能完善,适用于企业沟通、团队协作及开发者学习。提供前后端源码,便于快速搭建 IM 系统。
开源IM即时通讯系统调研
|
29天前
|
移动开发 网络协议 小程序
鸿蒙NEXT即时通讯/IM系统RinbowTalk v2.4版发布,基于MobileIMSDK框架、ArkTS编写
RainbowTalk是一套基于开源即时通讯讯IM框架 MobileIMSDK 的产品级鸿蒙NEXT端IM系统。纯ArkTS编写、全新开发,没有套壳、也没走捷径,每一行代码都够“纯血”。与姊妹产品RainbowChat和RainbowChat-Web 技术同源,历经考验。
64 1
|
2月前
|
缓存 移动开发 网络协议
纯血鸿蒙NEXT即时通讯/IM系统:RinbowTalk正式发布,全源码、纯ArkTS编写
RainbowTalk是一套基于MobileIMSDK的产品级鸿蒙NEXT端IM系统,目前已正式发布。纯ArkTS、从零编写,无套壳、没走捷径,每一行代码都够“纯”(详见:《RainbowTalk详细介绍》)。 MobileIMSDK是一整套开源IM即时通讯框架,历经10年,超轻量级、高度提炼,一套API优雅支持 UDP 、TCP 、WebSocket 三种协议,支持 iOS、Android、H5、标准Java、小程序、Uniapp、鸿蒙NEXT,服务端基于Netty编写。
169 1
|
3月前
|
缓存 自然语言处理 监控
基于通义大模型的智能客服系统构建实战:从模型微调到API部署
本文详细解析了基于通义大模型的智能客服系统构建全流程,涵盖数据准备、模型微调、性能优化及API部署等关键环节。通过实战案例与代码演示,展示了如何针对客服场景优化训练数据、高效微调大模型、解决部署中的延迟与并发问题,以及构建完整的API服务与监控体系。文章还探讨了性能优化进阶技术,如模型量化压缩和缓存策略,并提供了安全与合规实践建议。最终总结显示,微调后模型意图识别准确率提升14.3%,QPS从12.3提升至86.7,延迟降低74%。
989 14
|
2月前
|
人工智能 自然语言处理 语音技术
深度解析:AI语音客服系统如何重塑客户服务体验与主流解决方案探析
在数字化浪潮下,AI语音客服凭借高效、便捷、24小时在线的优势,成为企业提升服务效率、优化体验的重要工具。本文详解其核心技术、应用价值、选型要点及市场主流方案,如阿里云通义晓蜜、合力亿捷等,助力企业智能化升级。
251 1
|
2月前
|
移动开发 缓存 前端开发
可二次开发的在线客服系统-前后端混合渲染模式
服务端渲染(SSR)结合API交互,提升首屏加载速度与SEO友好性,适用于混合渲染模式的Web应用。
56 0
|
2月前
|
Kubernetes Go 数据库
客服系统命令行程序-Cobra 命令行应用入口
唯一客服系统是基于 Go 语言与 Cobra 框架构建的命令行工具,用于管理在线客服系统。支持启动、安装和停止服务,具备清晰的命令结构和良好的扩展性,便于维护与功能拓展。
71 0