How to import skuid page xml into Eclipse?

  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hi,

We want to replace profile name in all skuid pages, wherever it is getting referred. 
In Eclipse we can create SF project and import Apex code, where we can search & replace code. 

Similarly how can we import all Skuid Page xml into Eclipse?


Thanks!
Aanal
Photo of Aanal Jani

Aanal Jani

  • 120 Points 100 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Shmuel Kamensky

Shmuel Kamensky, Champion

  • 4,328 Points 4k badge 2x thumb
I haven't tried it, but it sounds like wrapping up the pages as a skuid package (i.e. allowing skuid to create a static resource version of your pages) might work. Try it here: http://help.skuid.com/m/page-assignments-and-overrides/l/245955-import-export-page-packs-and-modules
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
A few ideas. 

1. Build a page pack of the pages you are interested in.  This becomes a static resource  JSON file.  You might be able to access that file in Eclipse for global search and replace...

2. Use the Skuid.Grunt tool and the Page API to send your pages to the source code tool of your choosing.  Manipulate the page records there. 
https://www.npmjs.com/package/skuid-grunt

Skuid pages are data.  So you could even use your favorite Data Loader tool to get everything and do your search and replace in a text editor.  Ugly.  Effective...
Photo of Shmuel Kamensky

Shmuel Kamensky, Champion

  • 4,328 Points 4k badge 2x thumb
Why do I have the feeling that in a year from now I'll say skuid introduced me to Grunt...