Bonzai + lightning components

  • 3
  • Question
  • Updated 6 months ago
  • Answered
For some reason, the thing that excited me the most about Bonzai (there are a lot of things to be excited about), was the last item in the release notes :http://www.skuidify.com/releasenotes

Run Skuid in Lightning, and use Lightning Components with Skuid.
  • Consume Lightning Components and use them inside Skuid.
  • Salesforce Lightning components can now be added to a Skuid app.
  • Skuid can now be run as a Lightning Component or a Visualforce Component (traditional route).
I was wondering what needs to be done to get this to work. I may know a guy who has a beta version of Bonzai installed, and was wondering how to get my components to show up in skuid and vice versa. Do I have to implement the "skuid:isPrettyAwesome" interface?
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb

Posted 3 years ago

  • 3
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,470 Points 10k badge 2x thumb
Hi Moshe,

That functionality wasn't included in the version that the "guy that you know" has installed. :)

It will be in one of the subsequent preview releases though. It will work pretty much the same as how Skuid works in Visualforce.

There will be a Ui.app that can take url parameters just like the Ui Visualforce page. One of those parameters will be the pagename that you're trying to load. So going to this URL...

instance.salesforce.com/skuid/Ui.app?page=MyPage

will load up the MyPage skuid page, but in the Lightning runtime.

There will also be a "page" Lightning component. You'll be able to use this in the app builder or your own lightning apps to put a Skuid page in whatever it is added in the markup.

The final Lightning feature will be a "Lightning" component within the Skuid Builder. You'll be able to name a component and then set values for its properties.

To prove that I'm not making this all up, here are some screenshots.
Photo of Ben Murray

Ben Murray

  • 1,084 Points 1k badge 2x thumb
Did the lightning component to add to a skuid page ever happen? We have some 3rd party components we'd like to add to a skuid page.
Photo of Ben Murray

Ben Murray

  • 1,084 Points 1k badge 2x thumb
bump!!
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
Hey Ben, I've found the Lightning Component in the builder in the new release! Trouble is, I can't seem to add my existing Lightning Components to the skuid page. I have several components that implement like so :  implements="force:appHostable,flexipage:availableForAllPageTypes" . I still can't seem to add them to the skuid page...



I write "SayHello" in the box, but it looks like skuid can't find it...

Any ideas?
Photo of Ben Hubbard

Ben Hubbard, Employee

  • 12,470 Points 10k badge 2x thumb
Man, I really hate to keep doing this, but we're currently working on getting components from the local namespace in. Right now you can only select components in the force: and ui: namespaces. The plan is to have this working by the GA Banzai release.
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
OK no problem, there are plenty of slick features anyway!