Can we pull Object Metadata into a Skuid Page?

  • 2
  • Question
  • Updated 1 year ago
  • Answered
Does anyone know if/how we can pull object Metadata into a Skuid Page?

For example, what Action Overrides are in place on objects?
And Custom Buttons that refer to Visualforce Pages?
i.e. whether or not the Contact object has a Tab button, and if so, what Skuid Page it is using?

Essentially, I want to create a custom Skuid Page with all of this Metadata, so that I can quickly see all the custom button overrides and page assignments used in a Org.
- similar to what Workbench provides access to, but Skuidified! :)

(Standard Salesforce Reporting on Skuid Pages doesn't give me all I need - because, as one example, it'll only show Skuid Page Assignments, and not all Visualforce Pages/Actions that refer back to Skuid Pages).
Photo of mB Roman Melnik

mB Roman Melnik

  • 2,802 Points 2k badge 2x thumb

Posted 3 years ago

  • 2
Photo of mB Roman Melnik

mB Roman Melnik

  • 2,802 Points 2k badge 2x thumb
Perhaps a clearer explanation:

Similar to the way that we can create a Skuid page to display all Skuid pages.
I want to be able to create a Skuid page to display Object Metadata -> specifically, Action Overrides

(but attributes like keyPrefix, and more. would be very useful for Dev. as well).
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Roman,

Have you tried setting up a REST connection from Skuid to the Metadata API?  I have thought of doing this several times, but just never make the time with my workload.  This should get you what you want.

Thanks,

Bill
Photo of mB Roman Melnik

mB Roman Melnik

  • 2,802 Points 2k badge 2x thumb
That's a very interesting idea Bill. I think you're right.

Can anyone from the Skuid Team confirm that this approach will work?
Has anyone tried this before?
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,704 Points 20k badge 2x thumb
This would be FRICKIN AWESOME!!!

Roman, I'm tasking you to this. I'd like you to see if this is possible. Spike time.

I'd like to see a row action added to the Skuid Pages List with the following:
    • Report back on which other Skuid pages refer to this page via URL
    • Report back on which other Skuid pages refer to this page via Page Include
    • Report back on which other Skuid pages refer to this page via key prefix
    • Report back on which button override VF page directly reference this page
    • Report back on which button override VF page use a page assignment to reference this page
    Photo of Rob Hatch

    Rob Hatch, Official Rep

    • 44,006 Points 20k badge 2x thumb
    Confirmation from the Skuid team.  You should be able to get to any salesforce Metadata that has a REST API and retrieve that data into a Skuid model. 

    Wild Cheering erupts...
    Photo of Bill McCullough

    Bill McCullough, Champion

    • 12,436 Points 10k badge 2x thumb
    Thanks for confirming.  Woot!
    Photo of mB Pat Vachon

    mB Pat Vachon, Champion

    • 42,704 Points 20k badge 2x thumb
    Very cool! Thanks Rob.
    Photo of Jack Sanford

    Jack Sanford, Champion

    • 8,322 Points 5k badge 2x thumb
    This thread has been bouncing around my head for a couple of days, and now with the release of Salesforce to Salesforce connectors, I'd really like to prove that you can do change sets in Skuid, and include both objects and data. I'm having the same feeling I had when I first used skuid... it seems too good to true. 
    Photo of Matt Sones

    Matt Sones, Champion

    • 31,478 Points 20k badge 2x thumb
    Has anyone done this? I'd love a quick tutorial or rundown of basic steps for creating a connection with the metadata API.
    Photo of Karen Waldschmitt

    Karen Waldschmitt, Official Rep

    • 8,220 Points 5k badge 2x thumb
    Matt~

    Check out http://help.skuid.com/m/models-conditions-filters/l/530859-connecting-to-external-data-in-skuid. There are examples for using the REST API, Sharepoint, and OData. 

    Thanks!
    Karen
    Photo of mB Roman Melnik

    mB Roman Melnik

    • 2,802 Points 2k badge 2x thumb
    Fantastic! Thank you Karen for pointing us in the right direction.
    I'm eager to try this out for myself, so I have proof of concept :)
    Photo of Matt Sones

    Matt Sones, Champion

    • 31,478 Points 20k badge 2x thumb
    Hey, has anyone actually done this?
    Photo of mB Roman Melnik

    mB Roman Melnik

    • 2,802 Points 2k badge 2x thumb
    Even *if* we had, what makes you think we'd tell you? Haha, sorry I'm in a joking mode.

    Funny you should ask, it's been on my mind lately quite a bit. Because I know it's doable. And I have a rough roadmap as to the steps one would take to have a go at doing this. Unfortunately time/energy have been my main two obstacles.

    So no, haven't made significant progress since my original post and excitement. But the fire inside that I have to complete this is still burning :)

    Happy to perhaps collaborate and share any thoughts/insights you've made since then?