Solved

Rename Forms ConfigDB

  • 15 November 2023
  • 1 reply
  • 25 views

Badge +1

Is there a way to rename the Forms Configuration Database?

The easiest way probably would be to “detach” the existing database, rename in SQL the re-attach it. While re-attaching an existing database is possible, it seems I am unable to find any way to detach the current Forms Configuration DB.

icon

Best answer by nils_a 16 November 2023, 15:32

View original

1 reply

Badge +1

So, what I found was this: 
 

[System.Reflection.Assembly]::LoadWithPartialName("Nintex.Forms.SharePoint")
$nfsettings = [Nintex.Forms.SharePoint.Administration.FormsSettings]::Local
$nfsettings.RemoveDatabase($false)
$nfsettings.Update($true)

after that, and an IISReset, the database is removed from SharePoint, can be renamed and then re-added using the normal `Create-NFDatabase` Cmdlet.

Reply