#Is it possible to access the document or cookies in Appsmith?

1 messages · Page 1 of 1 (latest)

muted fern
#

Hi guys!, I want to be able to access the cookies, but I can't access the document object from the JS Object, which is that it has access to them, is there any other way to access the cookies?
Thanks a lot.

wheat hedge
#

No, there isn't. If you are embedding appsmith from a parent iframe, you can communicate messages to the iframe. You could have a script running from the parent window communicate cookies to the appsmith embed iframe.

#

The Post message action uses the postWindowMessage() function to enable safe cross-origin communication between different Window objects; for example, between an app and an iframe embedded within it. This may be useful in situations like:

GitHub

Is there an existing issue for this? I have searched the existing issues Documentation Link No response Describe the problem When users embeds the Appsmith in their web pages we can share the data ...

wheat hedge