UI Action to redirect to a Catalog Item

dianemiro
Kilo Sage

Hi All,

I am trying to create a UI Action that redirects to a Catalog Item but my current code is not working. It doesn't go to the Catalog Item. I will appreciate your help! Many thanks!

find_real_file.png

1 ACCEPTED SOLUTION

Hi Diane,



It looks like if you go the original route with the client script, and start your Action name with sysverb_, then the message is surpressed. See this thread for reference to Michael Ritchie's comment.



how to hide "No Records selected" alert on click of list button


View solution in original post

19 REPLIES 19

Alikutty A
Tera Sage

Hi Diane,



Just add this URL in your redirect function and see if it works.



/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=10a2f5dfc6112276018db58138c7a1e0



Replace the sysparm_id with the one on your catalog item



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


I have tested this directly on a UI Action and it was working, May be you should just run it on server and add this line alone



action.setRedirectURL("/com.glideapp.servicecatalog_cat_item_view.do?v=1&sysparm_id=10a2f5dfc6112276018db58138c7a1e0");



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


Hi Alikutty,



Thanks for your help. I have changed the script but the following message appears:



find_real_file.png


Hi Diane,



What is the requirement here?