CA Service Management

  • 1.  How to create direct URL links to offerings in different BUs

    Posted Aug 11, 2017 04:35 AM

    There are two business units in our Service Catalog, for example, "A" and "B". Each user in ServiceDesk department has role "Request Manager" in the both business units. We want to allow all users from ServiceDesk department to access offerings in Service Catalog by direct URL. For example "https://myserver:8080/usm/wpf?Node=icguinode.catalogitemdetails&Args=10605&ObjectID=10605&NspPath=" is direct URL to the one offering in "A" business unit. If the user has business unit "A" as his/her default business unit then the link works correctly, but when his/her default business unit is "B" then the link does not work with the "Access denied" error.
    Is it possible to add to the URL link the information about the correct business unit where the offering exists and let Service Catalog automatically switch the user to the correct business unit?

    Can anybody help?

    Regards,

    Milan



  • 2.  Re: How to create direct URL links to offerings in different BUs

    Broadcom Employee
    Posted Aug 11, 2017 05:39 AM

    Good Morning Milan.
     
    I've read your situation:
    There are two business units in our Service Catalog, for example, "A" and "B".
    Each user in ServiceDesk department has role "Request Manager" in the both business units.
    We want to allow all users from ServiceDesk department to access offerings in Service Catalog by direct URL.
    For example "https://myserver:8080/usm/wpf?Node=icguinode.catalogitemdetails&Args=10605&ObjectID=10605&NspPath=" is direct URL to the one offering in "A" business unit.
    If the user has business unit "A" as his/her default business unit then the link works correctly,
    but when his/her default business unit is "B" then the link does not work with the "Access denied" error.
     
    And your question:
    Is it possible to add to the URL link the information about the correct business unit where the offering exists and let Service Catalog automatically switch the user to the correct business unit?
     
    And the answer:
    Yes, you can. You can add the "&domain=<the user's (non-default) BU>" parameter to the URL.
    As in the below example:
    http://<server>:<port>/usm/wpf?Node=iclaunchpad.pad&username=<uswerid>&pass=<password>&domain=<BU>
    Where <BU> can then be either "A" or "B" as per your description.

     
    Please test with the above.
    Thanks and kind regards, Louis.



  • 3.  Re: How to create direct URL links to offerings in different BUs

    Posted Aug 11, 2017 05:58 AM

    Hello Milan

     

    Louis' idea works if you have the username and password in the URL, however, if you don't have this and you have to go through the login page, it will log the user into the users default BU.

     

    As you haven't specified a username/password in the URL, if you're using some form of single sign on, I can't say whether this will work or not. Please test this and see if Louis' suggestion helps.

     

    Steve



  • 4.  Re: How to create direct URL links to offerings in different BUs

    Posted Aug 11, 2017 07:11 AM

    Hello Steven and Louis,

    thank you for your answers.

    We use SSO so I tried http://<server>:<port>/usm/wpf?Node=iclaunchpad.pad&domain=<BU>

    Yes, this link succesfully opened Service Catalog home page in requested BU. I need to get user directly to the requested offering.

    I tried to extend the link with  ?Node=icguinode.catalogitemdetails&Args=10668&ObjectID=10668 or &Node=icguinode.catalogitemdetails&Args=10668&ObjectID=10668 but without success.

    Is it possible to switch user directly to offering? Is there some syntax I have to use?

    Milan



  • 5.  Re: How to create direct URL links to offerings in different BUs
    Best Answer

    Posted Aug 11, 2017 07:22 AM

    Hello Milan

     

    I tested it on my system using the URL:

     

    http://<hostname>:<port>/usm/wpf?node=icguinode.catalogitemdetails&Args=10018&ObjectID=10018&NspPath=&username=<user>&pass=<password>&domain=CA

     

    and it opened the details of the offering in the CA BU. I logged out and then used a similar URL:

     

    http://<hostname>:<port>/usm/wpf?node=icguinode.catalogitemdetails&Args=10018&ObjectID=10018&NspPath=&username=<user>&pass=<password>&domain=Test1

     

    and this also worked, opening the details of the offering and I was logged in to the "Test1" BU.

     

    You don't need the "node=iclaunchpad.pad" parameter in the URL, you should replace this with the "node=icguinode.catalogitemdetails&Args=10018&ObjectID=10018&NspPath=" parameter.

     

    Steve



  • 6.  Re: How to create direct URL links to offerings in different BUs

    Broadcom Employee
    Posted Aug 11, 2017 07:33 AM

    Good Afternoon Milan.
     
    Steve and I are filling each other's ideas quite nicely, I think.
     
    I tested on an SC-14.1 with SSO environment then too.
     
    userid=bu2user1
    deflt-bu=SM141
    other-bu=USERBU1
    other-bu=USERBU2
     
    - Login to windows with bu2user1
    - In the browser, run : http://winx64:8080/usm/wpf?Node=iclaunchpad.pad
    >> SC-login with bu2user1 and default-bu
     
    http://winx64:8080/usm/wpf?Node=iclaunchpad.pad&domain=USERBU1
    >> SC-login with bu2user1 and BU=USERBU1
     
    And this then works too (on my local environment that is, running SC R14.1).
    Auto SC-Login without userid/password set.
        
    Kind regards, Louis.



  • 7.  Re: How to create direct URL links to offerings in different BUs

    Posted Aug 11, 2017 08:46 AM

    Hello Steve and Louis,

    yes it works, thank you very much for your help.

    Milan