Using simple actions you can submit your Xpage to the data sources
What is the proper class or syntax to do this problematically in server side javascript.
Is it a simple currentDocument.Save()?
Using simple actions you can submit your Xpage to the data sources
What is the proper class or syntax to do this problematically in server side javascript.
Is it a simple currentDocument.Save()?
Subject: Save In SSJS
currentDocument is a global object that refers to the first datasource on the XPage. You can refer to the specific datasource variable name, by default document1, to save a single datasource, “document1.save()”. There is also a global function save() which will save all datasources on the XPage, so just enter “save()”.
Subject: hmm
Thanks for that. I was trying that but it was not working so there must be something else going on like required fields or the execution code on the action group is not working.