Javascriptlets- Execute a SmartObject in Designer.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
javascript: ( function(){
/*What you want to do goes here */
alert(window.location);
})();
For SmartObject execution:
javascript:(function(){
let urlParams = new URLSearchParams(window.location.hash);
$(".lyt-explorer-maincontent").after('<div><a onclick="$(this).parent().remove()">close</a><br/><iframe src="'
+ window.location.origin + '/Management/Runtime/Form.aspx?_ID=2ae83f85-6336-49f1-a9e5-fe78b220f6c4&smartobjectguid='
+ urlParams.get("guid") + '" height="400px" width="100%"></iframe></div>' );
})();
source & further reading
gist.github.com — original article
A command file for use with AI coding harness, to automate creation of structured changelog entries.
Session 11 Cheat Sheet — Claude Code & the Claude Agent SDK
agent-proxy — a zero-dep proxy that shows the bloat in Claude Code's requests (ranked tool table + full readable Markdown of every request)