Improved Performance When Using %ScriptAsync
The information in this article applies to product: e-Work 6.0 - 6.5
Discussion
The performance of calls to the %ScriptAsync function can be improved by omitting the map name and procedure name arguments and using a filename argument instead. For example,
%ScriptAsync(JScript,"", %Procedure.Name, %MapName, "SendMail()");
becomes
%ScriptAsync(JScript,"C:\\Scripts\\mailscript.js", "", "", "SendMail()");
In this example, the JScript code is located in C:\\Scripts\\mailscript.js.
Tagged:
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories