page builder unsaved xml

  • 1
  • Idea
  • Updated 4 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 Pat Vachon

Pat Vachon, Champion

  • 44,426 Points 20k badge 2x thumb

Posted 4 years ago

  • 1
Photo of Zach McElrath

Zach McElrath, Employee

  • 53,742 Points 50k 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 Pat Vachon

Pat Vachon, Champion

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