Developer docs
Integrator-facing documentation — Window Manager, dialogs, embedded web apps, WindowSocket bridge, exporter contract.
/webapp-docs/
This host distributes SGApps scripts, components, developer documentation and product documentation
as static files. Rolling-latest build — no versioning in URLs. Use the manifest.json for
per-file sha256 integrity checks and cache-busting.
The main integration surfaces served from this host. Supporting assets (fonts, styles, images, third-party libraries) are consumed transitively by the SDK — you rarely need to reference them directly.
Integrator-facing documentation — Window Manager, dialogs, embedded web apps, WindowSocket bridge, exporter contract.
/webapp-docs/End-user & commercial documentation for ERP, HoReCa, BOM production, retail, verticals, Android Bridge, casa fiscală MEV and more.
/docs-services/Client-side modules — Window Manager, dialogs, WebSocket client, translator, icons, editor gadgets, custom elements. Obfuscated with the same config as the production build.
/scripts/Every file with size, sha256, mtime. Useful for cache-busting resolvers, security audit, or diff-based deploys.
Common integration patterns. Replace cdn.example.md with the hostname you actually serve this from.
Load the exporter and receive the Application() global — SDK usage requires an integration
agreement (contact sgapps.md/api for access).
<script src="https://cdn.example.md/scripts/modules-webapp/exporter.js"></script>
<script>
Application(function (App) {
App.require(["b2b.window-manager"], function (wm) {
wm.open({ title: "Hello from CDN" });
});
});
</script>
Embed a docs section directly in your integration guide (iframe, no CORS concerns since it's a same-origin CDN).
<iframe
src="https://cdn.example.md/docs-services/erp-bom-horeca/horeca/"
style="width: 100%; height: 600px; border: 0"
loading="lazy">
</iframe>
Use the manifest for cache-busting when rolling-latest still needs a client-side "did anything change" check.
fetch("https://cdn.example.md/manifest.json")
.then(function (r) { return r.json(); })
.then(function (m) {
var entry = m.files["scripts/modules-webapp/exporter.js"];
console.log("Current SHA-256:", entry.sha256);
console.log("File size:", entry.size, "bytes");
});
scripts/modules-webapp/) is intended for
integrators with an active agreement — read the
access model on sgapps.md/api before building against it.
Product documentation is served directly from this CDN at
/docs-services/.
Hotlinking to individual asset URLs is not recommended for third-party sites in production — content-hash URLs are the stable pattern; the paths under this rolling-latest tree may change without notice.