back soft

مطالب مرتبط با «how to create a blog» در back soft | نویسنده: استخدام کار

How to create a new document from the current document using Javascript and Lotusscript

Vote count: 0 I am trying to create a new document wherein some of the field values would come from the current document. Note that current document is not in edit mode. There are three buttons in the current document: Edit Document //Validate inputs myForm = window.document.forms[0] myForm.Refresh.click() myForm.Edit.click() Add Guest //Validate inputs myForm = window.document.forms[0] myForm.AddGuest.click() Close myForm = window.document.forms[0] myForm.Close.click() Once the Add Guest button is clicked, it must be able to access the lotusscript agent which can be found in another hidden button, "AddGuest". @Command([ToolsRunMacro]; "AddGuests") Once the Add Guest button's clicked, there ...

ادامه مطلب

How to create async.auto-like promises chain?

Vote count: 0 Here is the code I have: async.auto({ client: service.findCLient, existingChat: ['client', service.findChat], chat: ['client', 'existingChat', service.createChat] }, (err) => { if (err) retu service.handleError(err); service.emitChatEvent(); service.editMenu(); }); What is the best way to handle it by using Bluebird Promises? asked 40 secs agoLeestex Let's block ads!...

ادامه مطلب