Search code examples
lotus-dominolotusscript

Show file input when click button event on LotusScript?


I am working with Lotus Domino. When I read the xml file I want to click on a button and it displays a form to let me select the file:

Sub Click(Source As Button)
 //How to file input form display here
End Sub

There's still one more problem.I read the xml file and output data is documents:

Dim reader As New XmlNodeReader
Call reader.ReadFile(datas)
documents = reader.getNodeReaders("egov.document ")
Forall document In documents
 //How to display list document for my form
End Forall

Please help me in the shortest possible time.Thanks all!!!!


Solution

  • To display a dialog that allows you to select a file, use the Prompt method of the NotesUIWorkspace class.

    The rest of your question requires knowledge of the particular XML schema you are working with.