The xpages contain SAVE button. The xpages also contain InternetAddres field. When user click SAVE button, need to check first on names.nsf - Save success if InternetAddress value NOT found in names.nsf view "($Users)" - Save fail if InternetAddress value found in names.nsf view "($Users)"
How to write the script to do that?
This is the LotusScript version of script:
Set namesview = namesdb.GetView( "($Users)" )
Set namesdoc = namesview.GetDocumentByKey( Lcase(doc.CurrentInternetAddress( 0 ) ), True )
If ( namesdoc Is Nothing ) Then '-- Create New Doc
How to move on xpages?