My Oracle Support Banner

Using JavaScript in Oracle CPQ Cloud (Doc ID 1660092.1)

Last updated on DECEMBER 20, 2019

Applies to:

Oracle BigMachines CPQ Cloud Service - Version 11.0 and later
Information in this document applies to any platform.

Purpose

 Using JavaScript within Oracle CPQ Cloud.

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Purpose
Details
 WHAT
 WHY
 WHERE
 HOW
 Before you Begin
 BEST PRACTICES
 Build for Failure
 Don't Use Inline JavaScript
 Scope All Variables
 Declare your Variables up Front
 Treat Native Objects as Private
 Treat Oracle CPQ Cloud JavaScript as Private
 Errors and Exceptions: Avoid, Don't Suppress
 Use Brackets
 Use jQuery for DOM Selection and Manipulation
 Use Functions and Objects
 Use === and !==
 Test Your Code
 TROUBLESHOOTING
 Developer Tools
 I Can't Call my Code from the Console!
 I Can't Call my Code from <a onclick="...">
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.