This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jul 17, 2013, 7:27 AM
41 Posts

Confirmation Box

  • Category: Extension Library
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: Confirmation Box
  • Replies: 2

Dear Team,

var doc:NotesDocument=document1.getDocument();  
var path=getComponent("fileUpload1").getFilename()
doc.replaceItemValue("TX_Name",getComponent("inputText1").getValue());
doc.save();

i want to use confirmation box in this code . I have write this code in server side script editor. So please help me how to use confirmation box in this code before save the data ask to confirmation('Are you sure want to save this data') , Yes or No.

 

Jul 17, 2013, 11:09 AM
30 Posts
use simple actions

I presume that that code executes on button click.

 

So you can add simple action: Basic-confirm action. Enter the text you want.

After that, you can add another simple action: Basic-execute script in which you put your code that saves document.

 

Hope it helps!

Jul 23, 2013, 6:51 AM
41 Posts
Confirmation Box

Dear Tomislav,

Thanks for the quick response but i am using code on script editor . It is not taken default basic action.I want to use by ssjs code in script editor.


This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal