2 Replies Latest reply: Jul 7, 2009 10:04 PM by Alejandro M RSS

Catch deployment date

Alejandro M
Currently Being Moderated

Hello to all!!

 

How can we catch the deployed date and time of an application?? I want to show it to the user!!

 

Thanks a lot!

  • Re: Catch deployment date
    Ayyapparaj KV
    Currently Being Moderated

    Hi,

     

     

    Have you tried this

     

    Ex:

    IWDDeployableObject obj = WDDeployableObject.getDeployableObject("sap.com/tcwddispwda");

           String str = obj.getVersionCounter();

           wdComponentAPI.getMessageManager().reportSuccess(str);

            

           String str1 = obj.getVersionInfo();

           wdComponentAPI.getMessageManager().reportSuccess(str1);

     

     

    OR

     

    IWDDeployableObject obj = wdComponentAPI.getDeployableObjectPart().getDeployableObject();

           String str = obj.getVersionCounter();

           wdComponentAPI.getMessageManager().reportSuccess(str);

            

           String str1 = obj.getVersionInfo();

           wdComponentAPI.getMessageManager().reportSuccess(str1);

     

    Regards

    Ayyapparaj

  • Re: Catch deployment date
    Alejandro M
    Currently Being Moderated

    I tried that and it really gives the date but also with some other text... is there a way to find exactly the date and time of deployment alone??

Actions