cables is under heavy development.
There might be one or another bug, please let us know about it!

CustomOp_v2 Op


Namespace: Ops.Cables

Op author: stephan

Code a custom op that will only be available in the current patch

summary (oneliner)

you can use any javascript code here, it will be bound to the
scope of the current op, which is available as op.

have a look at the documentation at:



example patch id

youtube id

caniuse query


related ops


JavaScript (String)

a valid javascript snippet

Library (String)

url to a library (can also be uploaded to cables) - be aware that you are completely on your own here, no support (keep CORS in mind, though)

Caught a mistake or want to contribute to the documentation?

Edit Documentationcancel save

CustomOp - Example

Open Example In Editor

Youtube Video Tutorial

Patches using CustomOp_v2


created op
2021-01-28 - stephan

Ops.User.stephan.CustomOp renamed to Ops.Cables.CustomOp
2021-01-28 - stephan

cloned op from Ops.Cables.CustomOp
2021-08-04 - stephan

Ops.User.stephan.CustomOp_v2 renamed to Ops.Cables.CustomOp_v2
2021-08-04 - stephan

clean up old out-ports on load
2022-02-03 - stephan

loading libs from uploaded files respects prefixAssetPath in export now
2022-02-03 - stephan

fix error when copy pasting
2022-02-03 - stephan

handle opening of error modal properly
2022-05-24 - stephan