none
Project 2013, code for PWA and Client RRS feed

  • Question

  • We are migrating from MS Project 2007 to 2013 and was wondering if there is any way to have VBA code that executes in the client for additional validation, customizations, etc to be able to be migrated to be able to run in when editing a project in Project Center from PWA?  I am guessing that it would involve two sets of code since it is two different platforms.  Is there any easy way to ensure the same functionality in both environments, Client to PWA code generators or something like that?  I have looked and could not find anything but was hoping a software company would have created a utility/process to keep code that needs to run on both platforms in sync.

    Thank you in advance.

    Wednesday, March 11, 2015 12:38 PM

Answers

All replies

  • Hello,

    VBA code will work in the Project Pro / Office clients. For code to work in PWA it will need to either be server side or client side (JavaScript etc.). What does the code do? Depending on what the requirements is, for consistency between client and PWA you might need to use server side code (event handler etc.).

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads

    Wednesday, March 11, 2015 12:42 PM
    Moderator
  • Today we use VBA for additional validation of fields, toolbars, registry edits, broadcast messages to users, mass change Status Manager, etc.  There are also some custom forms that we are also using.  We do use VBA for other things like closing Project 1 when project starts up.  I am not very familiar with server side event handlers, mostly done client side event handlers.  Does the server side use Javascript or what language do you use and do know of a source of good information on how to write them?
    Wednesday, March 11, 2015 1:18 PM
  • Hello,

    Some of that stuff will probably still require VBA, certainly those things to mentioned probably would. Depending on the validation of fields that could be server side so would work if you edit the project in Project Pro or PWA. If you are not familiar with the server side / PWA options, take a look at the Project 2013 SDK to start with:

    https://www.microsoft.com/en-us/download/details.aspx?id=30435

    Paul


    Paul Mather | Twitter | http://pwmather.wordpress.com | CPS | MVP | Downloads

    • Marked as answer by Fred246 Wednesday, March 11, 2015 2:01 PM
    Wednesday, March 11, 2015 1:23 PM
    Moderator