Home › Forums › Classic DFFS › Upgrade very old DFFS to newer version
Tagged: DFFS update, v2 to v4
- This topic has 10 replies, 2 voices, and was last updated 1 year, 5 months ago by
Alexander Bautz.
-
AuthorPosts
-
-
March 22, 2023 at 02:35 #36551
I’ve taken on a task to update a few things with one of our SharePoint on-premise sites. I happened to notice that they are using a very old version of DFFS (v2.95) and I’d like to try and convert them over to the latest version.
Do you have any good tips, documents or even best practices/advice for the best approach in migrating from such an older version a more current one?
-
March 22, 2023 at 07:32 #36552
v2.95 is 10 years old so there might be some breaking changes in later versions that causes the old configuration to fail.
You just have to test it and see if it works, and if not I’m afraid you must recreate the configuration.
Alexander
-
March 22, 2023 at 15:16 #36553
Ah, man! I thought that would be the case. I saved the configuration blobs and will look to replicate in a copied UAT list.
-
March 22, 2023 at 16:27 #36554
I created a UAT space and added the new DFFS items. When I try to install DFFS onto the forms of the UAT list I get an error message: Failed to add the DFFS WebPart(s) to “form name” The file you imported is not valid. Verify that the file is a Web Part description file (.webpart or .Dwp) that contains well-formed xml.
Not sure how to proceed. I pointed the loader file to DFFS which is in SPJS doc library.
I also don’t have any data in the UAT list yet.
-
March 22, 2023 at 19:12 #36555
Ensure the Content Editor Web Part is accessible in the site and that scripting capabilities are turned on – see this post for reference: https://spjsblog.com/2021/11/03/enable-scripting-in-a-sharepoint-site-collection-using-powershell/
Alexander
-
March 22, 2023 at 23:48 #36564
Yeah, the webparts are enabled. I wonder if it has something to do with the older version still on it.
Really odd.
-
-
March 23, 2023 at 18:15 #36567
Are you trying to install the 10 year old version or the lates one?
Alexander
-
March 23, 2023 at 21:20 #36572
Trying to install the latest version.
-
-
March 23, 2023 at 22:34 #36575
I haven’t seen this error before. Can you try downloading the latest version and replacing your DFFS folder and try again?
If that does not work you can add the CEWP manually by editing the NewForm.aspx, DispForm.aspx and EditForm.aspx pages – edit a working form in another page and look at the CEWP added above and below the main web part and replicate the same CEWP with the correct Content Link to the DFFS loader and the DFFS overlay.
Alexander
-
March 24, 2023 at 15:44 #36579
I’m getting close. I reuploaded DFFS back in to the SPJS folder which didn’t change the error. So then I took the bottom and top CEWPs from a working list on another site, exported them out and imported them into the troubled list. I updated the links on each pointed to the specified locations. It now brings up the updated DFFS edit version link at the bottom of the form but when I select it I’m presented with an error at the top of the page and can’t go any farther.
The site is a subsite and the SPJS folder is in that subsite. Should I put it on the main site and reference from there?
-
This reply was modified 1 year, 5 months ago by
Jonathan Stamper.
-
This reply was modified 1 year, 5 months ago by
Jonathan Stamper.
Attachments:
-
This reply was modified 1 year, 5 months ago by
-
-
March 24, 2023 at 17:22 #36586
I have never had any reporting a similar problem so I’m not sure what causes this, but open the dev tools (F12 > Console) and look at any errors there to see if it might give some clues.
If you can email me some screenshots of your list / CEWP I can take a look and see if I see anything out of the ordinary.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.