function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Karan Khanna 6Karan Khanna 6 

Generic Remote Site Setting URL for multiple Orgs

Hello,

I've created an app which do webservice call within, to fetch the metadata. as i developed it in my Dev Org so I added RSS URL as :

https://c.ap1.visual.force.com

my questions are:

1. will it work if I move my components to another org which has different sub-domain unlike ap1, for eg cs or na? I think it will not.
2. if not then what generic url I can add which can work for all orgs?
 

Grazitti TeamGrazitti Team
Hi Karan,

You cannot add generic URL in RSS because in RSS we add exact Domain on which we are doing webservice call. See https://developer.salesforce.com/forums/ForumsMain?id=906F00000008z6PIAQ for an old question that was left unanswered.

Let us know if you have any Questions.

Please mark it as best if this helps you.

Regards,
Grazitti Team
www.grazitti.com