Changing RecordPoint site URL

Purpose

To identify steps for changing URL for RecordPoint. Example you want to change:

http://abc.recordpoint.com to https://abc.recordpoint.com

 

 1

RDP to App Server

 2

Stop all RecordPoint timer jobs specific to tenant:

 

$OldRecordPointURL = "http://abc.recordpoint.com"

$NewRecordPointURL = "https://abc.recordpoint.com"

Get-SPTimerJob | Where-Object {$_.DisplayName –like “RecordPoint*$OldRecordPointURL*”}|Disable-SPTimerJob

 3

For normal setup (one recordpoint site)

Update URL in alternate access mappings configuration:

Central Admin -> Application Management -> Configure alternate access mappings ->

change $OldRecordPointURL to $NewRecordPointURL for the RecordPoint webapp

 

Change default settings – if you are using alternate access mappings ensure this is correct configuration 

Find and Replace Config list:

 

$SPWebUrl = $NewRecordPointURL

$SPListName = "RecordPointConfig"

$SearchString = $OldRecordPointURL

$ReplaceString = $NewRecordPointURL

 

#Get SharePoint website object

$SPWeb = Get-SPWeb $SPWebUrl

 

#Get SharePoint list object

$SPList = $SPWeb.Lists[$SPListName]

write-host "Updating $SPWeb - $SPList from $SearchString to $ReplaceString"

 

 #Iterate through each item in the List

 foreach($SPListItem in $SPList.Items)

 {

        #Check if $SPListItem contains $SearchString

        if($SPListItem["Value"] -and $SPListItem["Value"].contains($SearchString))

        {

            #Replace $Search_String with $Replace_String and update item

            $SPListItem["Value"] = $SPListItem["Value"].replace($SearchString, $ReplaceString);

            $SPListItem.Update();

        }

 }

 

 5

Deactivate/Reactivate timer job features as this seems to reference the URL for the site - so needs to be reactivated:

$ModuleDLL = "C:\Program Files\RecordPoint\RecordPoint.Deployment.Installer.dll"

Import-Module $ModuleDLL

 

<#Disable#>

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "Connectors" -EnableYN "N"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Daily Tasks Infrastructure" -EnableYN "N"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Disposal Infrastructure" -EnableYN "N"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Generic Tasks Infrastructure" -EnableYN "N"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Queueing Infrastructure" -EnableYN "N"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint System Monitor" -EnableYN "N"

 

Custom Feature for RecordPoint Online – confirm if this is required or not?

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Online" -EnableYN "N"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Online File Download" -EnableYN "N"

 

<#Enable#>

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "Connectors" -EnableYN "Y"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Daily Tasks Infrastructure" -EnableYN "Y"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Disposal Infrastructure" -EnableYN "Y"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Generic Tasks Infrastructure" -EnableYN "Y"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Queueing Infrastructure" -EnableYN "Y"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint System Monitor" -EnableYN "Y"

 

Custom Feature for RecordPoint Online – confirm if this is required or not?

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Online" -EnableYN "Y"

Edit-RecordPoint -SiteUrl $NewRecordPointURL -ComponentName "RecordPoint Online File Download" -EnableYN "Y"

 

 6

Re-enable timer jobs (possibly not necessary)

Get-SPTimerJob | Where-Object {$_.DisplayName –like “RecordPoint*$NewRecordPointURL*”}|Enable-SPTimerJob

$newJobs = Get-SPTimerJob | Where-Object {$_.DisplayName –like “RecordPoint*$NewRecordPointURL*”}

$newJobs.Count #This should be 8 note this includes optional Online/Online File Download feature

 

Check and delete any old Timer jobs which may have remained from OldRecordPointURL

$oldJobs = Get-SPTimerJob | Where-Object {$_.DisplayName –like “RecordPoint*$OldRecordPointURL*”}

foreach($job in $oldJobs){    $job.Delete() }

$oldJobs = Get-SPTimerJob | Where-Object {$_.DisplayName –like “RecordPoint*$OldRecordPointURL*”}

$oldJobs.Count #This should be 0

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk