getComponent("elementName").getValue(); getComponent("elementName").setValue("something");
getComponent("elementName").getSubmittedValue()
document.getElementbyId("#{id:elementID}").value;
var doc:NotesDocument = datasourcename.getDocument();
var doc:NotesDocument = datasourcename.getDocument(); doc.replaceItemValue("somefield", "somevalue");
var v = datasourcename.getValue("fieldname");
var agent:NotesAgent=database.getAgent("agentname"); agent.run(datasourcename.getDocument().getNoteID()); Im Agent bekommt man das Dokument dann via notesDatabase.GetDocumentByID( NotesAgent.ParameterDocID )
set session = new notesSession set database = session.currentDatabase set agent = session.currentAgent set doc = database.getDocumentByID(agent.parameterDocID);