Can a variable in service catalog be of type 'URL', so that, if we paste any URL it must automatically become a URL and onclicking it should redirect to a particular page.???

maloy
Giga Expert

I am trying add a variable in the service catalog, which is of type 'URL'

1 ACCEPTED SOLUTION

Midhun1
Giga Guru

Hi,



I have one solution you can add macro next to the variable " what please paste the URL link of the site that you are requesting admin access to:



and what URL you are giving in that field base on onChange() script we are pushing the URL to macro like below:



find_real_file.png




And the macro is :



find_real_file.png


Make sure that user should include https:// also in that variable then only it will go to the entered URL( Use can use help tag of that variable and ask user to append http://as well.


View solution in original post

11 REPLIES 11

Midhun1
Giga Guru

Hi,



I have one solution you can add macro next to the variable " what please paste the URL link of the site that you are requesting admin access to:



and what URL you are giving in that field base on onChange() script we are pushing the URL to macro like below:



find_real_file.png




And the macro is :



find_real_file.png


Make sure that user should include https:// also in that variable then only it will go to the entered URL( Use can use help tag of that variable and ask user to append http://as well.


Thanks Midhun. It helped me 70%. Now I'll do the rest of the activities