I can't use window.location.href on Server but can on Client
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2018 04:22 AM
On my Service Portal widget, I can only use window.location.href on the client and not the server, it says "Server JavaScript error "window" is not defined.", how can I retrieve the current URL on the server, or alternatively pass it from the client to the server? Thanks!
Labels:
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-19-2024 07:35 AM
Hi @Shane18 did you get the answer to this question ... And if want current url in script include of an action assignment like the "add" that could be present inside the related list