content type not changeable

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
RMIC
Posts: 96
Joined: Sun May 10, 2015

04 Apr 2018

Hello,

Environment:
SharePoint 2013 Server Standard
Forms Designer Client 3.1.4

My problem:
I have in a library several content types. For each content type created SP-Forms forms.
If I change the content type in the edit form, this change will not be applied when the form is saved.

If I change the content type with standard forms, I can change the content type.

What could be the problem?

Thanks for your help!

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

04 Apr 2018

Dear RMIC,
Does this happen with every type of file? Or does it happen only with MS Office files, for example, .docx files? Can you test it for us?
Cheers

RMIC
Posts: 96
Joined: Sun May 10, 2015

04 Apr 2018

Dear Nikita,

The formats .txt, .doc and .xls work.
The formats .docx and .xlsx do not work.

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

04 Apr 2018

Dear RMIC,
The issue is two-fold:
1) First of all, Microsoft Office (.docx, .xlsx) files actually have Content Type included in the actual file properties (not just in SP)
2) There is a parsing service in SharePoint 2013 for these documents which doesn't function correctly. For example, you can't properly change Content Type for these files via Powershell or ServerAPI because of it.

You can run the following commands with Powershell and it should disable the service, making it possible to change ContentType for these files:

Code: Select all

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$web = Get-SPWeb http://sitename
$web.ParserEnabled = $false
$web.Update()
Cheers

RMIC
Posts: 96
Joined: Sun May 10, 2015

04 Apr 2018

It works.
Thank you!

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests