This topic contains 2 replies, has 0 voices, and was last updated by bback 7 years ago.

  • Author
    Posts
  • #21507 Score: 0

    bback
    • Contributions: 0
    • Level 1

    I have some inherited scripts that reference a specific datacenter using hard coded URLs. We have been told that we will be moving to a new datacenter at the end of the month. It has been suggested that we dynamically discover the datacenter to improve performance. How would I go about that?

    Would it be a correct assumption that once we moved, we could just replace the old datacenter reference with the new one?

    Thanks for your help!
    This is a cached copy. Click here to see the original post.

  • #21508 Score: 0

    khultquist
    • Contributions: 0
    • Level 1

    You can hard code it again, or use nlapiResolveURL(type, identifier, id, displayMode) or other Application Navigation APIs to get the proper subdomain.

    https://system.na1.netsuite.com/app/…ehead_N3059898

  • #21509 Score: 0

    bback
    • Contributions: 0
    • Level 1

    Thank you khultquist, I'll give it a shot.

    I appreciate your help.

You must be logged in to reply to this topic.