Forum Replies Created
-
AuthorPosts
-
OK, then you have to update – the dffs_triggerSave function was added in v1.0.36.0 in October 2023. The current version is now v1.0.53.0.
Alexander
Hi,
Which version of the Modern DFFS are you using?Alexander
I have published a new version – let me know if it fixes the problem.
Alexander
Hi,
Yes, that helps. I’ll have to look into it, but think this should be fixable (I have enabled IE mode in Edge and get the same error).Alexander
Thanks!
Alexander
You must use the fin variable in the loop like this:
jQuery.each(spjs.dffs.data.dffsDataObj.data.groupToFin.YOUR_GROUP_NAME, function(i, fin){ // do something with fin here console.log(fin); jQuery("#dffs_" + fin).hide(); spjs.dffs.flag_Mandatory([fin]); });
Alexander
Not sure I understand what you mean by showing fin – do you mean in code identify the fin, or using code to show the corresponding field in the form?
Alexander
Not 100% sure, but I think you might have a wrong field internal name in your setup for add new. Check both from and to in your setup and verify the field names are correct.
Alexander
This is possible using custom js (advanced) – see this post for example code: https://spjsblog.com/forums/topic/vlookup-inline-editing-example/
Alexander
I haven’t heard about loading problems with vLookup in Edge before. I tested now with Microsoft Edge Version 122.0.2365.92 (Official build) (64-bit) and vLookup loads with no problems so I’m not sure what could cause this issue.
Did you see any errors in the developer console in Edge?
If you are able to set up a web meeting I can have a look at it to try to figure out what the problem is.
Alexander
Try bringing up the developer tools (hit F12) and select “Console”. Now try to reload the form and look for error messages in the console.
If there are none, please open the DFFS installer and click the “Update loader file” button at the bottom of the “Modify loader file” tab.
Any change?
If not, open the file /SPJS/DFFS/loader/DFFS_Loader_v2.html in a text editor and verify that it has a link to the file SPJS-vLookup_frontene.js
Alexander
The attachment icon is automatically added on the attachment column by DFFS.
I’m wondering if your DFFS installer page links to an old installer file. Ensure your Content Editor Web part in the installer page points to this file:
/SPJS/DFFS/installer/DFFS_Installer_v2.html
Alexander
Hi,
Yes, this should be an easy fix. You must open the list settings on your document library and index the field you use in your vLookup filter query (_vLookupParentIDif you followed the setup example). When this is done, your vLookup should be back in working order.Please let me know if you have any further questions.
Best regards,
AlexanderHi,
I think you need to uninstall and reinstall your Classic DFFS using the v2 installer. I’m wondering if you might have updated DFFS partially and not replaced the entire package?Please set up the v2 installer as described in the installation instructions and uninstall / reinstall. The form configuration is not affected by this uninstall / reinstall as the configuration is stored in a list in the SharePoint site and not in the DFFS web part itself.
Regarding the attachment icon: This does not have anything to do with vLookup, but is added on the attachment field itself. If you don’t want to show the attachment field in you form, either disable attachments in the list settings, or use tabs to configure a form using only a subset of the fields available in the list.
Let me know if you have any questions.
Best regards,
AlexanderThe only thing that limits it is that a large number of queries to fetch the data from the different lists will take some time to load. I recommend splitting the vLookups in different tabs (they are only loaded when they are visible) to ensure the form does not take to long to load initially.
Alexander
-
AuthorPosts