documents checked out after upload
- Jens.Hetze
- Posts: 22
- Joined: Sat May 20, 2017
Hi sp forms team,
actually I have a problem with the sp forms designer. The installed version is 3.0.8.
The follow architecture is built.
A document library with enabled content types. All content types have custom forms by sp forms designer. All Content types have required fields.
Now the case:
1. upload a document to an SharePoint document library
2. the edit form of default content type is showing
3. change the content type to another content type -> the edit form of the choosen content type is showing
4. fill in the required fields and click save
5. after redirect to the view the uploaded document is checked out
All required fields were filled in. In SharePoint default the document is checked in after upload. Is this a bug in sp forms? Can you reproduce this case on your environments? Or is this fixed in a newer version?
Thanks for help.
Jens
actually I have a problem with the sp forms designer. The installed version is 3.0.8.
The follow architecture is built.
A document library with enabled content types. All content types have custom forms by sp forms designer. All Content types have required fields.
Now the case:
1. upload a document to an SharePoint document library
2. the edit form of default content type is showing
3. change the content type to another content type -> the edit form of the choosen content type is showing
4. fill in the required fields and click save
5. after redirect to the view the uploaded document is checked out
All required fields were filled in. In SharePoint default the document is checked in after upload. Is this a bug in sp forms? Can you reproduce this case on your environments? Or is this fixed in a newer version?
Thanks for help.
Jens
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi Jens,
Forms Designer does nothing with checking in(out) documents. Please, try to turn off the 'Require Check Out' option in the Library settings -> Versioning settings.
Forms Designer does nothing with checking in(out) documents. Please, try to turn off the 'Require Check Out' option in the Library settings -> Versioning settings.
- Jens.Hetze
- Posts: 22
- Joined: Sat May 20, 2017
Hi Dmitry.
The Option "Require Check Out" is "off".
In my case, if I reset forms to Default SharePoint forms, the documents will be automatically checked in. The document is also checked in, if I used the default content type, which is customized by forms designer.
Yours sincerely
Jens
The Option "Require Check Out" is "off".
In my case, if I reset forms to Default SharePoint forms, the documents will be automatically checked in. The document is also checked in, if I used the default content type, which is customized by forms designer.
Yours sincerely
Jens
- Jens.Hetze
- Posts: 22
- Joined: Sat May 20, 2017
Hi Dmitry.
Can you reproduce the case? Or do you need more Information? Is it possible, that the url parameter „Mode=Upload“ will not be set to the changed contenttype. (Reference: https://blogs.msdn.microsoft.com/ketaan ... oint-2007/)
Yours sincerely
Jens
Can you reproduce the case? Or do you need more Information? Is it possible, that the url parameter „Mode=Upload“ will not be set to the changed contenttype. (Reference: https://blogs.msdn.microsoft.com/ketaan ... oint-2007/)
Yours sincerely
Jens
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
You can remove the query parameter with JavaScript:
Code: Select all
if (GetUrlKeyValue('Mode') == 'Upload') {
window.location = fd.setUrlParam(window.location.href, 'Mode', '')
}
- Jens.Hetze
- Posts: 22
- Joined: Sat May 20, 2017
Hi Dmitry.
SharePoint needs the mode parameter to check in the document after upload.
In my case spform, after upload a document and changing content type in the following edit-form, the document will not be checked in. If I use SharePoint standard Formulars the document will be checked in after upload and changing content type.
So I think sp forms designer does not set the mode parameter. Is it possible? Should I send you some screenshots of the issue?
Yours sincerely
Jens
SharePoint needs the mode parameter to check in the document after upload.
In my case spform, after upload a document and changing content type in the following edit-form, the document will not be checked in. If I use SharePoint standard Formulars the document will be checked in after upload and changing content type.
So I think sp forms designer does not set the mode parameter. Is it possible? Should I send you some screenshots of the issue?
Yours sincerely
Jens
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Then you can try to add the 'Mode' parameter to the URL of edit form:
Code: Select all
if (!GetUrlKeyValue('Mode') ) {
window.location = fd.setUrlParam(window.location.href, 'Mode', 'Upload')
}
- Jens.Hetze
- Posts: 22
- Joined: Sat May 20, 2017
Hi Dmitry,
Thanks for help. It works.
Yours sincerely
Jens
Thanks for help. It works.
Yours sincerely
Jens
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests