UI action(related link) inside a UI macro is not redirecting to the catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 01:02 AM - edited 07-12-2024 01:23 AM
Hi All,
I have a related link (UI action), which seems to be working fine on the table. I am using this form in another table (form view) where i have a button which opens a Window (UI Macro) with fields and the Ui action is also showing in this pop up window, but it is not redirecting me the desired location.
action.setRedirectURL(url);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 01:14 AM - edited 07-12-2024 01:16 AM
Hi @Priya75 ,
Try using this logic to redirect:
var url = //paste your url here.
window.location.href = "<url>";
OR
top.location.href = “<url>”;
OR
top.window.location = “<url>”;
Thanks,
Hope this helps.
If my response turns useful please mark it helpful and accept solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 01:23 AM
not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 01:24 AM
Any of the three did not work?
Else share your code with me, complete code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2024 01:43 AM
no it did not work. this is the complete code.
action.setRedirectURL(url);