# Seeking Reference Documentation for JavaScript Sandbox (like context Object) in Plugin Development

**URL:** <https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922>\
**Category:** Need help\
**Created:** [March 22, 2024, 9:33pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922 "2024-03-22T21:33:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![kycalica](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/kycalica/32/170763_2.png) [@kycalica](https://forum.bubble.io/u/kycalica)\
**Post date:** [March 22, 2024, 9:33pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922/1 "2024-03-22T21:33:46Z")

</div>

I’m currently developing a plugin and need more detailed documentation about the objects and methods in the JavaScript sandbox environment Bubble provides for plugin development.

I am trying to see what is available to me, but all I see in the app and in the Bubble Manual is a reference to a context object and a small example list of functions.

I want a reference document on the context object and any other objects or items included in the [Bubble.io](http://Bubble.io) sandbox.

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [March 22, 2024, 10:43pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922/2 "2024-03-22T22:43:52Z")

</div>

There’s basically no formal documentation on the plugin context

Did you have any specific questions?

---

<div class="post-metadata">

**Author:** ![dorilama](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/dorilama/32/226878_2.png) [@dorilama](https://forum.bubble.io/u/dorilama)\
**Post date:** [March 22, 2024, 11:37pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922/3 "2024-03-22T23:37:46Z")

</div>

there is a lot that you can discover by logging stuff around with plugins, even some stuff that probably we are not supposed to read.  
For everything else you need to play with changing the settings of the plugin and reading the inline documentation in the editor. The docs for the new server actions api have some type definition (but sometimes [it can be wrong](https://forum.bubble.io/t/action-required-for-plugin-authors-upgrade-to-plugin-api-v4-by-january-4-2024/269121/21))

---

<div class="post-metadata">

**Author:** ![kycalica](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/kycalica/32/170763_2.png) [@kycalica](https://forum.bubble.io/u/kycalica)\
**Post date:** [March 25, 2024, 4:40pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922/4 "2024-03-25T16:40:48Z")

</div>

well that’s a bit depressing, I get they are moving fast but I’m really trying to see what I can do with it so I can see what plugins I can make. This makes it hard to even explore or get creative here.

I guess to start how can I create Things in my database from a plugin?

---

<div class="post-metadata">

**Author:** ![jared.gibb](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jared.gibb/32/123329_2.png) [@jared.gibb](https://forum.bubble.io/u/jared.gibb)\
**Post date:** [March 25, 2024, 4:53pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922/5 "2024-03-25T16:53:54Z")

</div>

> [@kycalica](#):
>
> guess to start how can I create Things in my database from a plugin?

By making a fetch call to your [backend](https://manual.bubble.io/core-resources/api/the-bubble-api/the-data-api)

Learn this first

Then learn how to trigger an even when the fetch resolves

Then learn how to accept inputs and pass this in the fetch

> [@kycalica](#):
>
> This makes it hard to even explore or get creative here.

Find a problem and solve it. No need to be creative 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![kycalica](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/kycalica/32/170763_2.png) [@kycalica](https://forum.bubble.io/u/kycalica)\
**Post date:** [March 30, 2024, 9:17pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922/6 "2024-03-30T21:17:23Z")

</div>

that’s weird advice tbh.

Engineering is a lot of learning what you can do then fitting the puzzles.

I can use APIs well, but making straight fetch requests or anything of the sort seems pretty terrible when there’s suppose to be a built-in sandbox or library.

As I said, I get they are moving fast and I’m actually helping them integrate at my company but the plugin development should have decent documentation if your trying to plugin for both their sakes and ours.

I’ll just have to see what I can do by inspection but still can’t follow good engineering principles without decent docs which then means hacky solutions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 31, 2024, 9:34pm UTC](https://forum.bubble.io/t/seeking-reference-documentation-for-javascript-sandbox-like-context-object-in-plugin-development/313922/7 "2024-05-31T21:34:15Z")

</div>

Closed on May 31, 2024, 9:34pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
