How to add dynamic URL in instance with URL?

Mani_Mk
Tera Contributor

I have a requirement to change URL dynamically or based on condition on widget in sp_instance_link HREF/URL. How to handle this or is there any way to do this

Mani_Mk_0-1765205104775.png

 

5 REPLIES 5

I'm using  instance_link for icon redirection in a Service Portal widget. The current URL looks like this:

?id=csm&table={table_name}&view={view}

I need to modify this URL dynamically based on certain conditions by appending a filter, for example:

?id=csm&table={table_name}&view={view}&filter={some_condition}

What’s the best way to achieve this?

  • Can it be done on the client side or server side within the widget?
  • Or is there a way to handle this directly in the instance link configuration