Eclipse and Github and SKUID, oh my ...

  • 3
  • Question
  • Updated 3 years ago
  • Answered
Our developers use Eclipse and we're in the process of getting set up to use Github. Once configured we'll have our SFDC metadata under Github version control, but how do we add the SKUID pages to the process e.g. get the SKUID page XML into Github at the page level rather than the page pack level?

Thoughts and pointers on version control would be greatly appreciated.
Photo of Andy Forbes

Andy Forbes

  • 184 Points 100 badge 2x thumb

Posted 4 years ago

  • 3
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
One idea and agree not optimal would be to treat the pages as a static resource e.g. export to CSV and then commit to Github.

Another one that comes to mind would be to use of the of the ideas here (http://help.skuidify.com/m/11217/l/12...) and write a script to export individual pages.
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Andy...You may want to look at Mavensmate with Sublime for your development.  It is a lot lighter weight than Eclipse with the SF dev plug in.  Maybe use Grunt as a tool to automate the upload/download of the page from its corresponding Skuid page 'record'.
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Finally made the decision to start using Sublime and Mavensmate. Pretty freakin slick!!!

What is this grunt tool you speak of?
Photo of Eoin O'Neill

Eoin O'Neill

  • 144 Points 100 badge 2x thumb
GruntJS is a command line tool automation and build tool. Have a look at the site here

You can automate things like your static resource builds, here's a great article from Dreamforce a few years back

https://kevinmohara.wordpress.com/2013/02/25/building-and-deploying-force-com-static-resources-using...
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
Hey pat how did you hook up mavens mate to sublime? I was able install the package fine into sublime, but I don't get how you login to salesforce from sublime...
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Photo of Moshe Karmel

Moshe Karmel, Champion

  • 8,646 Points 5k badge 2x thumb
Thanks for the response Pat, I'm using Sublime Text 3, and the latest version of mavens mate on Windows 7. I can't seem to open or start a new project. Everything is grayed out for some reason...
Photo of mB Pat Vachon

mB Pat Vachon, Champion

  • 42,714 Points 20k badge 2x thumb
Well. This is over my head, but try this post about this issue.

https://github.com/joeferraro/MavensMate/issues/348
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Moshe...I think you need to change your user settings and let Mavensmate know what folder you want to save your projects to (the mm_workspace setting).  A project is a connection to a Salesforce org.  The folder (or folders) you specify will be where Mavensmate saves your Salesforce metadata (i.e. objects, pages, workflow; etc.).

From the screenshot you included, go to MavensMate->Settings->User.  When you see the user settings file, change the 'mm_workspace' value.  Here is what mine looks like:

    "mm_workspace" : ["C:\Users\mccullouw1\Documents\mm","C:\Users\mccullouw1\Documents\Git"],
Photo of Bill McCullough

Bill McCullough, Champion

  • 12,436 Points 10k badge 2x thumb
Here are a couple of page links that I found helpful in setting up Mavensmate and Sublime:

Good Link on Using Mavensmate
https://tdd.instawiki.com/display/SF/Mavens+Mate+and+Git+for+Non+Developers

'Version Controlling Salesforce'
http://jessealtman.com/2014/02/version-control-versioning-salesforce/

Gitignore file for Mavensmate
https://gist.github.com/Oblongmana/7130387
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
Would be great to have a Skuid deep dive on this, how to setup editing of skuid pages and version controlling and all that. Since Skuid is creating developers, I think they have a responsibility to train us to be good developers :)

Seriously though, this is going to be key for me to be able to get hardcore Apex developers that I have to work with to take Skuid seriously. 
Photo of Jack Sanford

Jack Sanford, Champion

  • 8,322 Points 5k badge 2x thumb
I found this to be a helpful starting guide, a little more thorough than the default one on mavensmate.com
https://www.xgeek.net/en/salesforce/sublime-text-3-mavensmate-for-salesforce-development/

If you have trouble creating a new project like I did, and you're using Windows 8, be sure to open port 7777. Or go buy a Mac...
Photo of Irvin Waldman

Irvin Waldman, Champion

  • 9,006 Points 5k badge 2x thumb
Jack, This is a great question and one that should be taken seriously by the Skuid team.  They should offer up best practices when developing against Skuid.  Great question.
Photo of Rob Hatch

Rob Hatch, Official Rep

  • 44,006 Points 20k badge 2x thumb
I'll pass these ideas along to our training guys and reccomend that they include some conversation about this in Advanced skuid training.  It certainly is part of becoming a Skuid Rock Star!