Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>oracle-cpq-bml-snippetsNew to Visual Studio Code? Get it now.
oracle-cpq-bml-snippets

oracle-cpq-bml-snippets

Yashwanth Kumar

|
1 install
| (0) | Free
Oracle CPQ BML Code Snippets
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Oracle CPQ BML Snippets

A collection of useful Oracle CPQ BML + JSON snippets for faster development.

Features

  • Snippets for JSON functions (jsonput, jsonget, jsonarrayappend, etc.)
  • Common BML patterns (if/else, loops, try/catch, BMQL execution)
  • Works in .bml, .txt, .c, and .java files.

Usage

  1. Install the extension.
  2. Open a file (e.g., .bml, .txt, .c, .java).
  3. Start typing a snippet prefix, e.g.:
    • bml-jsonput
    • bml-jsonarrayappend
    • bml-jsonpathgetsingle
  4. Press Tab or Enter to expand the snippet.

Example

str = "{\"key1\":90,\"key2\":[{\"key1\":900}],\"key3\":{\"key1\":9000}}";
jsonObj = json(str);

arrayVals = jsonpathgetmultiple(jsonObj,"$..key1");
print arrayVals;
// Output: [90,900,9000]
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft