page builder unsaved xml

  • 1
  • Idea
  • Updated 3 years ago
Can you please make it possible to copy to clipboard the xml of an unsaved page. I just ran scheduled maintenance on my server. Not a super big deal, but it sure would be nice to be able to access the xml on the page in order to save it later.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb

Posted 3 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 49,004 Points 20k badge 2x thumb
Not pretty, but in desperate times you can run this snippet from the JavaScript Console in the Page Composer to output the page's current XML:

skuid.$M('page').getFieldValues(skuid.$M('page').getFirstRow(),skuid.utils.layoutFields,true).join('');
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
This should be a button that conditionally renders when this issue arises.