Another super saver that I created is a small bit of formula language in a smart icon that assists a user in producing an ad-hoc report. A part of this report reviewed recent changes in information architecture-related items, the user includes a list of items that have been reviewed by a technical review committee, the status of that review and a link to the full document in the review database. Originally, this all was done manually. Now, when in the review database, the user selects the document to include in the report and then the code gathers the information from the review database, writes it to an environment variable and copies the doclink information to the clipboard. When not in the review database, the smart icon code inserts the doclink in the current document and appends a formatted version of the review information on the same line. This cuts the process of adding an item to the report to just two clicks, and it's another great time saver that is now used over and over again.Where can I get ahold of the code to do this?
Here is the formula I use. In the source database, it works on a highlighted document in a view or the currently open document. In the user's new memo, it just pastes the stored values. Here is a list of what some of the values below refer to:
- BKM_TT: an arbitrary name I assigned for the environment variable to store the text.
- PresentTitleTX: the field that stores the title of the presentation being identified.
- ObjectiveTx: the description of the purpose of the presentation.
- Status: the current status of the presentation.
@If(@DbTitle = "Title of Source DB"; @Do( @Environment("BKM_TT"; PresentTitleTX + " - " + @Abstract( [TextOnly]; 400;
""; "ObjectiveTX") + " [" + Status +"] "); @Command([EditMakeDocLink]) ); @Do( @Command( [EditInsertText];" " + @Environment("BKM_TT") + " " ; @Command([EditPaste]) )) )
Dig Deeper on Domino Resources - Part 6
Related Q&A from Brian Mahoney
Find out what types of calculations can be computed for a column in a Lotus Notes view and the best way to go about it with this expert response. Continue Reading
Find out why you can't use Formula language to include a doclink to a specific Lotus Notes view or database and need to use LotusScript instead. Continue Reading
Discover the reasons behind a Notes/Domino admistrator having trouble with disabled options in the "customize this view" section of his Lotus Notes ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.