Be able to edit XML snippets for individual components in the page builder

  • 5
  • Idea
  • Updated 2 years ago
As Skuid becomes the main tool of development, I find myself going into the XML more and more, either to copy and paste between pages, or sometimes to replicate things several times on the same page, for example copy a table into multiple places, or add the same filter to several models. There are benefits to editing in the XML as well, such as if you change a table's model in the XML, it doesn't clear out the Template fields the way it does in the page builder. Another example is for very complex bits of action framework, or export options, sometimes it's easier to see in the XML.

SO, what I would like to propose is a new tab on the component properties window called XML, that shows you all the xml for that component in a resizable text area, and lets you edit it in a popup with the little < > button, like editing a template field. 



For a table, for example, the XML window would auto populate with everything inside the <skootable> tag

H/T to Barry Schell and the idea mentioned here: https://community.skuid.com/skuid/topics/enhancements-to-branch-functionality-in-action-framework
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb

Posted 2 years ago

  • 5
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Nifty idea. Got my vote for sure!
Photo of mB Roman Melnik

mB Roman Melnik

  • 2,802 Points 2k badge 2x thumb
This is a great idea! (I would want to see the XML tab at the end of the tabset ofcourse, but i know it's just a quick mockup).

The points you made about copying table filters and complex action framework logic in XML hits close to home!
Photo of Bill McCullough

Bill McCullough, Champion

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

Great idea!  I'm 'upvoting' as well.

Thanks,

Bill