Error processing SSI file
LEADTOOLS Medical (Leadtools.Ccow assembly)

GetMostRecentContextCoupon Method

Show in webframe
Example 
Gets the most recent context coupon.
Syntax
 function Leadtools.Ccow.ContextManager.getMostRecentContextCoupon()

Return Value

TypeDescription
int The most recent context coupon represents the previously committed transaction.
Example
function joinCommonContextTest(ccowService, appName, clientUrl) {
   // Create a new ContextManager
   var contextManager = new lt.Ccow.ContextManager(ccowService);

   // Join Common Context
   var coupon = contextManager.joinCommonContext(appName, clientUrl, false, true);

   // Get Most recent coupon
   var mostRecentContextCoupon = contextManager.getMostRecentContextCoupon();
   console.log("mostRecentContextCoupon:" + mostRecentContextCoupon);

   return coupon;
}
See Also

Reference

ContextManager Object
ContextManager Members

Error processing SSI file

 

 

Requirements

Target Platforms

  Leadtools.Ccow requires a Medical toolkit server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features