• Anonymous
  • Login
  • Register
Lotusscript Manager - Feature Request: [to do] get servernames from local address book


Needed code found in domiclipse.net

// Get the current location document.
// The location variable should look like "Online,1A3,CN=Joe Bloggs/O=ACME",
// where 1A3 is the noteid of the location document.
String location = session.getEnvironmentString( "location", true ) ;
String[] words = location.split(",") ;
String locationNoteID = words[1] ;

// get the location document from the local names.nsf
Database localNAB = session.getDatabase("", "names.nsf" ) ;
Document locationDoc = localNAB.getDocumentByID( locationNoteID ) ;

// add all the servers from the $SavedServers item
Vector<String> savedServers = locationDoc.getItemValue( "$SavedServers" ) ;
serverNames.addAll( savedServers ) ;



Taken Actions by Owners



In this field you can enter the actual request.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.
In this field owners can describe what they have done or want to do.

You can use the rich text editor for rich text formating. You can also enter HTML to embed objects, e.g. to embed a YouTube video or a screenshot of the project. In this case use '[' and ']' to mark the passthrough HTML as such.

Please note that the first time you use the new UI your description is converted from rich text to MIME. You might want to copy and paste the raw plain text from the old UI in the new UI so that you don't loose information.