
I'm having a hard time getting
the current url in the share.
I'm adding a script in Repository > Data Dictionary > Scripts
I need to capture the name of the site I'm on or the current url
but an error is coming.
" 254 KB (Failure: Failed to execute script 'workspace://SpacesStore/9c2b6207-ed5a-48f1-9fa9-350616033cc0': 03190438 ReferenceError: "window" is not defined. (workspace://SpacesStore/9c2b6207-ed5a-48f1-9fa9-350616033cc0#9))
"
Thank you very much in advance.