lotus-domino

how to create a lotus notes meeting using java in domino designer

梦想与她 提交于 2019-12-13 06:27:07
问题 Hi i am trying to create meeting in lotus notes using java.i am able to send a meeting invite to the recipients.But when i send a meeting the options available to the chair and the recipients are the same.(options like accept,decline).But the options for the chair and the recipients should be different.can anyone please tell how to do this? public DocumentKey save(final Session session, final Database db, boolean send, String moveToFolder) throws NotesException, Io Exception { //setBody(null)

Getting the Server Name from the session

丶灬走出姿态 提交于 2019-12-13 05:01:57
问题 In a managed bean that resides in a Database on the server Development I have this code: s = ExtLibUtil.getCurrentSession(); theMap.put("Server Name", s.getServerName()); when I look at theMap after this has run I see Server Name and the value is blank. After this I get a datbase RepID and then try to open the database by RepID with appDB = s.getDbDirectory(null).openDatabaseByReplicaID(repID); if (appDB.isOpen()){ theMap.put(thisKey, repID); }else{ theMap.put("DB " + thisKey, "Is Not Open");

Lotus Domino: Create import log

坚强是说给别人听的谎言 提交于 2019-12-13 04:33:31
问题 I have two databases: one holds the employee summary info, and the other one holds the serial number of the employee. On the database1, I have this agent that lets you import text file which contains updated records of the employee. But, In order for this agent to import a text file records successfully, the text file to be import must have a serial number record same as on the database2. It's working by the way, but I need to create a log when importing, still got no idea on how to resolve

Streaming a pdf file to the browser from a LotusScript web agent

旧时模样 提交于 2019-12-13 03:38:53
问题 I'm creating a LotusScript web agent that reads the content of a pdf file somewhere on the network and returns it as a stream to the browser. the agent will be called like this : getPDF?openAgent&pdfId=123456 and it should directly returns the pdf stream. (I didn't implement yet the url parameter catching) Here's my current try, I still have an issue to convert the read buffer to the final stream Sub Initialize On Error GoTo errrorhandle Dim session As New NotesSession Dim stream As

OneUI app layout, error with pulldown menus

冷暖自知 提交于 2019-12-13 02:33:58
问题 I am using the applayout and OneUI 3.0.2 theme. I have pulldown menus in the banner (application and utility links) but the menu won't show up. Instead I get this JS error: Uncaught lang.hitch: scope["_onKeyPress"] is null (scope="[Widget extlib.dijit.OneUIv302Menu, extlib_dijit_OneUIv302Menu_2]") I have a Windows 9.0.1FP1 where these do work. On a 9.0.1FP1 Linux / 9.0.1FP2 Windows it doesn't work. The Linux machine had FP2 installed before I just downgraded it to FP1 (it was a test to see if

Lotus Notes: Is it possible to create a view that excludes documents in all folders other than Inbox?

折月煮酒 提交于 2019-12-13 01:25:45
问题 I am aware that you can exclude certain folders - but you have to name them. I need a view to show only the documents in the inbox, that doesn't need updating everytime we create a new folder. Any help would be greatly appreciated! :) 回答1: It is not possible directly. There are no formulas that would help you build a select statement to get documents that are only in the Inbox. However, you could have an agent run on a scheduled basis (maybe every 5-10 minutes) that would update documents and

ParameterDocID gets only 6 digit of my DocumentUniqueID

眉间皱痕 提交于 2019-12-13 00:26:30
问题 Im calling from my Javascript application a specific IBM Notes agent. The call from Javascript to Notes agent happens with a parameter. This parameter is the Universal ID. Unfortunately, my Agent gets only the 6 digit of my Universal ID (DocumentUniqueID). But I would like to have the full length of my UniversalID. What is missing, any idea? My Javascript: //more code before.... var UID = new String UID$ = doc.getUniversalID() // notes agent var notesAgent = db.getAgent("NameOfMyNotesAgent");

How to profile Domino Agents (AMgr) with YourKit?

孤者浪人 提交于 2019-12-12 22:15:21
问题 Since I am having issues with a large Domino Agent, I wanted to be able to profile it. I've heard lots of lovely things about Yourkit, and followed the instructions in David Leedy's video: http://notesin9.com/index.php/2012/11/29/notesin9-091-xpages-memory-profiling-part-1/ I have created a text file, YourKitOptionsFile.txt with the following line: agentpath:C:\ProgramData\YourKit\yjpagent_13082_64_603ABE4D.dll= disablestacktelemetry,disableexceptiontelemetry,delay=10000,listen=192.168.1.40

Iterating over every document in Lotus Domino

时光怂恿深爱的人放手 提交于 2019-12-12 13:13:42
问题 I'd like iterate over every document in a (probably big) Lotus Domino database and be able to continue it from the last one if the processing breaks (network connection error, application restart etc.). I don't have write access to the database. I'm looking for a way where I don't have to download those documents from the server which were already processed. So, I have to pass some starting information to the server which document should be the first in the (possibly restarted) processing. I

xPages don't work after design update

核能气质少年 提交于 2019-12-12 06:47:05
问题 Load any xPage Refresh db design Reload the xPage by either F5 or Ctrl+F5. then almost all functions stop working without any errors. E.g. nothing happen if you click buttons or menu items. After restarting web browser some functions come back but some still doesn't work. After cleaning browser's cache almost 90% UI start working but some still need to reload the page few times. Is there any xPage app properties or Domino properties to adjust to fix that problem and make xPage app work smooth