: 4400 | 106122 | 11885

notesDocument.GetItemText( itemName$ ) 
Use this IdeaSpace to post ideas about the Notes Client.

: 11
: 11
: 0
: Notes Client / Other Database Applications
: Notesdocument lotusscript
: Michael Tassati3923 16 Mar 2010
:
: / Email
New methode "GetItemText" in NotesDocument class (Lotusscript) to get item text value.
 
Currently you have to initalize a NotesItem object to use GetItemText. It should be able to use GetItemText like GetItemValue from NotesDocument object.



1) Vlad Sh10122 (17 Mar 2010)
textScalar = Cstr(NotesDocument.GetItemValue(ItemName$)(0))
textArray = Evaluate(|@Text(| & ItemName$ & |)|, NotesDocument)
2) Michael Tassati3923 (19 Mar 2010)
@1: GetItemValue(itemname$)(0) will return only the first value and does not work for NotesRTItem
"textArray = Evaluate(....)" ....
1. is not available in COM/OLE
2. your formula will return an string array

GetItemText should be the same returnvalue as NotesItem.Text methode.
3) Vlad Sh10122 (19 Mar 2010)
@2:

In the header message was nothing about NotesRTItem. There are GetFormattedText, GetUnformattedText, @Abstract, @AbstractSimple.

"1. is not available in COM/OLE"
notesSession.Evaluate(...) must work.

"2. your formula will return an string array"
nothing prevents us from turning it into text using Implode/@Implode :)

If you do, so must then not only the method returns the Text and Numbers, Dates ... but I think such ideas were already here.
4) Michael Tassati3923 (19 Mar 2010)
@2 Vlad Sh: there is always a workaround available, but why should Lotus not extend script for easy use?
5) Vlad Sh10122 (19 Mar 2010)
@ Michael
I do not mind. Percentage of implementation of our ideas is very small (ideas so many that will last for a couple of products such as Lotus Notes :) ), so think what is more priority.
6) Peter Presnell26400 (21 Mar 2010)
If such a method were to be created I would suggest its name should be getItemValueString to match the existing method that is available in both the Java and SSJS languages. I use this method so much when writing SSJS I have previously suggested this as an idea on IdeaJam. I am not holding my breathe that IBM will extend LS anytime soon so I have developed my own class to use that implements this method.










:
:

Welcome to IdeaJam™


You can run IdeaJam™ in your company. It's easy to install, setup and customize. Your employees, partners and customers will immediately see results.

Use IdeaJam to:

  • Collect ideas from employees
  • Solicit feedback and suggestions from employees and customers
  • Run innovation contests and competitions
  • Validate concepts
  • Use the power of "crowd-sourcing" to rank ideas and allow the best ideas to rise to the top

IdeaJam™ works with:

  • IBM Connections
  • IBM Lotus Quickr
  • Blogs and Wikis
  • Websphere Portal
  • Microsoft Sharepoint
  • and other applications.

IdeaJam has an extensive set of widgets and API's that allow you to extend and integrate IdeaJam™ with other applications.

Learn more about IdeaJam >>


4
Add server and database as optional parameters for @GetProfileField and @SetProfileField
8
Have an option to copy an URL from an e-mail (or other)
-1
System wide Web Query Save
56
Please update Domino to fully support TLS (SSL v3.1)
4
Integrated ICS OneUI Editor for Designer
0
Design Element PostSave event
55
When deleting user, delete archive & roaming files as well as mail file
0
Please make the 'Database Users' view collapsible
6
Agent context menu in editor tab eg. "Run Agent"
1
Give us @commands for splitting & joining table cells, and hence smarticons for the same







IdeaJam developed by