Has anyone used the Looker Embed SDK with Angular? The example github respository shows using it with Node.js, which is only slightly helpful. Plus, the SDK documentation doesn’t seem to match how it’s being used in the Node.js example.
If anyone has any suggestions, pointers or references how to use the SDK with Angular, that would be very much appreciated!
Looker Embed SDK Angular
Already have an account? Login
Login to the community
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
I think the reason we don’t publish an Angular example is because angular typically runs browser-side, and we don’t recommend storing sensitive information like an embed secret in any code that’ll run in other peoples’ browsers.
So you can totally do it, and people totally have, but I think we’re hesitant to endorse that from a security standpoint. As long as you have a library that’s capable of building the signature, you should be able to build the URL without too much trouble.
Thanks for the reply. In my case all I’m doing now is embedding a Look in an Angular page, no longer trying to use the SDK. However it, if you have any other documentation/examples of how to use the Look Visualization system, that would be helpful. I’ve looked at the documentation and find it very confusing. 😦
That’s what we don’t have an angular example of, but looking at the examples would let you reverse engineer it. If anyone has something, share it!
Thanks Izzy, I’ll check into that and how to use it!
Can someone help with looker embed sdk in angular.
Am getting error like
ERROR in ./node_modules/@looker/sdk/dist/rtl/nodeSettings.js
That sounds to me like an installation issue, you may want to try removing the module and then npm/yarn installing it again.