Related documents and required fields
- Jens.Hetze
- Posts: 22
- Joined: Sat May 20, 2017
Hi sp forms team.
there is a question to your post: https://spform.com/documentation/related-documents
I have configured the form to set the lookup column to the parent item. In the case the lookup column is an required field. So the document will be checked out by upload by drag & drop, because the required field was not set. Then fd.updateDroppedDocuments will be set the lookup column, but the document is still checked out.
Is there an solution to check in the documents after set field by fd.updateDroppedDocuments?
Yours sincerely
Jens Hetze
there is a question to your post: https://spform.com/documentation/related-documents
I have configured the form to set the lookup column to the parent item. In the case the lookup column is an required field. So the document will be checked out by upload by drag & drop, because the required field was not set. Then fd.updateDroppedDocuments will be set the lookup column, but the document is still checked out.
Is there an solution to check in the documents after set field by fd.updateDroppedDocuments?
Yours sincerely
Jens Hetze
- Dmitry Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hi Jens,
You can try to use SharePoint Designer workflow to check in a document when it is added.
You can try to use SharePoint Designer workflow to check in a document when it is added.
-
- Posts: 23
- Joined: Wed May 27, 2015
This causes a version conflict since the UpdateDropDocuments function is updating the fields and at the same time the workflow is trying to update the file properties. I tried pausing the workflow 1 minute to see if it would allow time for the function to finish the update but I am getting different results every time. As soon as I remove the workflow trigger to manual.. I don't get this problem.
The console error you get:
Uncaught updateDroppedDocuments failed: Version conflict.
undefined
Any thoughts on how to solve this? Is there another way to check-in the documents via the SPforms JS framework?
The console error you get:
Uncaught updateDroppedDocuments failed: Version conflict.
undefined
Any thoughts on how to solve this? Is there another way to check-in the documents via the SPforms JS framework?
Hi!
Have you tried to check in the documents by this method: https://spform.com/javascript-framework ... ctionality
It happens automatically when you create a new item and all mandatory fields are filled in correctly.
Have you tried to check in the documents by this method: https://spform.com/javascript-framework ... ctionality
It happens automatically when you create a new item and all mandatory fields are filled in correctly.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 11 guests