Discussions
Why does a Sandbox refresh create a different url for a media items?
Just did a Sandbox refresh from Production. In some of our custom records we have links to pdfs in the documents folder. I would expect a production link on the file to remain constant except for the domain change.
A file with the URL "https://xxxxxx.app.netsuite.com/core/media/media.nl?id=1683801&c=1212804&h=gYVkEo-YTQRI_gWe-aQ3b5730pob4mjEyIVcc_ndr1dUjrNI&_xt=.pdf" on Productions should have the URL
"https://xxxxxx-sb1.app.netsuite.com/core/media/media.nl?id=1683801&c=1212804&h=gYVkEo-YTQRI_gWe-aQ3b5730pob4mjEyIVcc_ndr1dUjrNI&_xt=.pdf"
on SANDBOX.
The link is totally changed for all the media files in the filecabinet. I really never took note of this before, Now, we are training on some custom forms that open the pdf links in another window, the form itself replaces the https://XXXXXX domain, in the record field with https://XXXXXX-sb1, the problem is everything after the id= is completely different from the field stored in the record sync'd to Sandbox. This is probably the default behavior, but I have 100's of records with dozens of URL fields where the URL is now broken on Sandbox.