- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 11:01 AM
Hi experts,
we are integration servicenow with sharepoint using below documentation.
Setting up the SharePoint Online Search Connector (servicenow.com)
While configuring in dev we mentioned the servicenow dev url. So how can we move this code to UAT and prod? Should we manually open record and update the URL. How this works in integration?
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 11:38 PM - edited 10-08-2024 11:50 PM
Hi @si21 ,
Yes, manually, you may open the record in every environment and modify the URL.
There is another way that you can follow by running fix script since it is just an one time activity,
In every environment there should be a system property 'glide.servlet.uri' which stores the URL for that particular environment(Dev/Test/QA/Prod etc) ServiceNow instance.
You can write a fix script which will read the URL from the system property and set the 'Redirect URL' field (gs.getProperty('glide.servlet.uri') + '/oauth_redirect.do') for that particular OAuth provider by doing simple glide record query and updating.
Then you just need to move the fix script as part of your update set and run that in every environment instance once.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2024 11:38 PM - edited 10-08-2024 11:50 PM
Hi @si21 ,
Yes, manually, you may open the record in every environment and modify the URL.
There is another way that you can follow by running fix script since it is just an one time activity,
In every environment there should be a system property 'glide.servlet.uri' which stores the URL for that particular environment(Dev/Test/QA/Prod etc) ServiceNow instance.
You can write a fix script which will read the URL from the system property and set the 'Redirect URL' field (gs.getProperty('glide.servlet.uri') + '/oauth_redirect.do') for that particular OAuth provider by doing simple glide record query and updating.
Then you just need to move the fix script as part of your update set and run that in every environment instance once.
If this address your question, please mark this response correct by clicking on Accept as Solution and/or Kudos.
You may mark this helpful as well if it helps you.
Thanks,
Animesh Das