الإجابة Need to promote customization to Live (Urgent).

  • mardi 1 mai 2012 18:23
     
     

    Hi All,

    I have modified/created following artifacts in development environment.

    1. Create new site page.
    2. Modify Master Page.
    3. Modify list New/Edit/View pages

    Usually I promoted these changes using site template however this time I don’t have this luxury.  I have to promote the specific changes only. All the changes are done through SPD.

    Can anyone please suggest me the best way to promote these changes in live environment? Thanks in advance. Please reply urgently as I have to promote these changes tomorrow.

    Regards Amit K

Toutes les réponses

  • mardi 1 mai 2012 18:27
     
     Traitée

    Promote? Do you mean migrate from dev to prod?

    Obviously a WSP is the preferred method to deploy customizations to prod. You would deploy the new site page and master page as a module inside a feature. The new/edit/view page customizations might be best done in code or manually but they can be inside a feature module as well.


    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

    • Marqué comme réponse Amit KM mercredi 2 mai 2012 08:00
    •  
  • mardi 1 mai 2012 18:40
     
     

    Hi dear,

    you are correct, i mean by promote is migrate from dev to prod. All the changes are done in SharePoint Designer then how I can create the WSP? As far as I know it is not possible to create the WSP for such changes. WSP can be created when changes are done in Visual studio.

    Regards Amit

  • mardi 1 mai 2012 18:42
     
     
    You dont have visual studio?

    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

  • mardi 1 mai 2012 18:53
     
     
    Can anyone pls help me on this?
  • mardi 1 mai 2012 18:56
     
     
    If you don't have Visual Studio then i think you'll be forced to repeat your customizations on prod inside SPD. Can you access SPD on your production environment?

    Please mark my response as an answer if appropriate.
    Learn.SharePoint.com

  • mardi 1 mai 2012 19:18
     
     

    I have access however i dont want to connect the production with SPD, It is not a good practice & it is very risky too.

  • mardi 1 mai 2012 19:22
     
     Traitée

    as Learn.SharePoint.com said,

    there aren't many ways of doing that, you have spd in production directly. You could "copy paste items" from sharepoint designer to sharepoint designer.

    the best solution would have been to have a package solution made with visual studio.


    My SharePoint Blog

    • Marqué comme réponse Amit KM mercredi 2 mai 2012 08:00
    •  
  • mardi 1 mai 2012 19:24
     
     Traitée

    Agree with Learn.SharePoint.Com. It is a good practice to use wsp solution packages to move your implementations between environments as it is more supportable and well controlled.

    And contrary to your belief it is possible to create wsp solution using VS 2010 easily even for the changes done using designer. You can save/export the files (.aspx files) from the Designer and include them in your SharePoint project and build the solution package at the Visual Studio. You can do some more search on the internet as there are many How-to articles / videos explaining the same.

    However, considering you have tome only until tomorrow to prepare, test and deploy - this may not be feasible.

    As a quick solution, if you have access to designer for the Live sites, take a backup of all files at the Live site and then replace them with the version from your development environment. Make sure you maintain a version history (Eg: in TFS) .

    Hope this helps...


    -Sangeetha

    • Marqué comme réponse Amit KM mercredi 2 mai 2012 07:58
    •  
  • mardi 1 mai 2012 19:37
     
     

    As usual Sangetha popup to rescue me :-)