Ah so you mean I have two text one for sandbox and...
# suitescript
l
Ah so you mean I have two text one for sandbox and one for production? I am interested in generating the acctual url, like this: something https://ACCOUNTNR.app.netsuite.com/app/common/custom/custrecordentry.nl?rectype=XX&id=XX where account number can either be ACCOUTNR or ACCOUNTNR-sb1 for sandbox depending on which environment I am in
b
if you are trying to make a nice link show up, i would suggest including the ID column
if you are trying to make a url, i can only suggest to use a relative url: /app/common/custom/custrecordentry.nl?rectype=XX&id=XX
l
Ok great thanks, its the url part.
It works! 🙂 thank you! I have a vague memory that I used to do this on center links but it stopped working at some point. And also I tried this for a center link now, but do you know if it is another solution for center links?
b
dont know about that one this generally isnt a suitescript question so you may have better luck asking in other places
j
on my last sandbox refresh my center links got updated automatically. I was pleasantly surprised!
l
Thats great news! Will try 🙂