Skip to main content
Nintex Community Menu Bar
Question

How to use sforce.connection.partnerServerUrls

  • July 9, 2024
  • 3 replies
  • 4 views

Forum|alt.badge.img+6

I’m stuck! Can I get an example on how to properly use sforce.connection.partnerServerUrls.?

The documentation and a user group post appears to say I can call sforce.connection.partnerServerUrls.16

I have also tried:

var num = 8;
var n = num.toString();
var partnerServer = sforce.connection.partnerServerUrls.n;
url=…+partnerServer+…

But I get undefined.

Thanks!

This topic has been closed for replies.

3 replies

Forum|alt.badge.img+9

Try using array syntax, like so “sforce.connection.partnerServerUrls[16]”.


Forum|alt.badge.img+6

AH!  Yes!  Thank you. 

I like supplying the low hanging fruit. 


Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

And we love the low hanging fruit!