CA Service Management

 View Only
  • 1.  Plug-ins from service catalog using .net?

    Posted Sep 20, 2017 03:38 AM

    Hi! 

    I know I can create a jar-file plugin and use it from Designer forms. Is it possible to do the same using .net?

    I know how to call my process from .net but I want to trigger .net project from Designer forms...

    Thanks in advance!



  • 2.  Re: Plug-ins from service catalog using .net?

    Broadcom Employee
    Posted Sep 20, 2017 07:41 AM

    Good Afternoon Jhonny.
     
    As I do know that the below information is out of scope of the CA Service Catalog product.
    However, I just want to share this information with you.
    To show there is some kind of 'intermediate' (bridge) needed to get a .NET working as a 'jar'.
    As shown in this link:
    https://docops.ca.com/devtest-solutions/8-0-2/en/using/using-the-sdk/java-net-bridge
     
    Another information I found:
    https://forums.asp.net/t/1933899.aspx?how+to+convert+from+Java+JAR+file+to+Net+DLL
    And
    https://social.msdn.microsoft.com/Forums/en-US/f57a696e-e825-47e9-9dea-5ede34ce7cf0/steps-to-convert-net-assemblydll-into-jar-file?forum=visualjsharpgeneral
     
     
    Thanks in advance for your understanding and kind regards, Louis van Amelsfort.



  • 3.  Re: Plug-ins from service catalog using .net?

    Broadcom Employee
    Posted Sep 20, 2017 07:49 AM

    Hi Jhonny,

     

    I am not very sure if you will be accommodate .Net code.

     

    However, I wanted you to go though this below document which might give you an understanding how to use API plug-ins as an substitute

     

    https://docops.ca.com/ca-service-management/14-1/en/building/building-ca-service-catalog/use-api-plug-ins-to-load-data-into-policies-and-forms



  • 4.  Re: Plug-ins from service catalog using .net?

    Posted Sep 20, 2017 11:06 AM

    Hi Jhonny,

     

    Depends on what you need from your .net application, does it have a rest api to access it? If it does, and if you are comfortable enough, you can create a javascript function that make a call to your rest api.



  • 5.  Re: Plug-ins from service catalog using .net?

    Posted Sep 27, 2017 02:32 AM

    Hi Marcel! 

     

    What I want is to start a request form from my .net solution which calls a process which does some database changes.

    Do you mean calling rest api from designer forms? In that case, do you know if there is an example/documentation how to do it?




  • 6.  Re: Plug-ins from service catalog using .net?
    Best Answer

    Posted Sep 27, 2017 08:51 AM

    Hi Jhonny,

    you could even call pam directly, as the latest version has rest (What's in CA Process Automation 04.3.02 ? - CA Process Automation - 04.3.02 - CA Technologies Documentation ) but as I said, you have to be comfortable with doing so. 

    As this is more a javascript developer solution, I recommend this StackOverflow question (html - How to call a REST web service API from Javascript button Handler? - Stack Overflow ) 

     

    You can create said button in service catalog using this example  Button option in service catalog Form 

    Or just create a function and call it