The Welkin Suite Forum

Pull profiles from SF using git



Pull profiles from SF using git

  • Please log in to reply

#1
windows version welkinsuite

llevaillant

    Posted 26 Jul 2017

    Hello,

    I create a new project with the source code coming from GIT and I set up the connection to the sandbox. When I pull profiles from Salesforce, I lost all classAccesses and fieldPermissions nodes in the file. Do you have any advice?

    Thank's

    Ludovic



    1 replies to this topic

    #2

    kate.dulko

      Posted 26 Jul 2017

      Hi Ludovic,


      Thank you for contacting us with this question.


      Salesforce has a very tricky mechanism for working with profiles - the content of a profile file depends on what other items were pulled at the same time from your organization. Additionally, this approach does not allow the IDE to check if anything related to the profile was changed on the org side.
      As operations with profile files are "not-so-common" we are not pulling the whole org together with profiles (because this will completely slow down the normal working process).
      Due to this reasons, it's possible that after pulling your profiles from the organization, these files would have another information comparing to what you'd get if you pull entire org using Ant or any other tools.


      In case if you are not doing any changes in the profiles in the IDE but still need to maintain them in the Git repository with the full data we suggest you excluding profiles from The Welkin Suite's project and manually pull them using Ant task before commiting/pushing to the git repository.

      If you would have any other questions, please contact us. We will be happy to assist.


      Regards,

      Kate




      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        





      Boost Your Productivity. Get Started Today

      Try Free Trial