Forum Replies Created
-
AuthorPosts
-
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
Hi,
Yes, vLookup will still work in the forms, but if you use the “modern list views” displaying the vLookup field in the list view will not work.What kind of problem are you experiencing?
Alexander
March 19, 2024 at 17:38 in reply to: vLookup Callback Functions with Multiple vLookup Columns #37550The callback from “vlookupChildAddedCallback” does not have any information about the form it return from, but you can use “vlookupAddChildPreCheck” to keep track of it – like this:
var current_vLookup_fin = ""; function vlookupAddChildPreCheck(fin){ current_vLookup_fin = fin; return true; } function vlookupChildAddedCallback(){ if(current_vLookup_fin === "vLookupTasks"){ // The fin is vLookupTasks - do shomething } }
Alexander
Hi,
I’m not able to recreate this issue. Can you give me some more details?I did fix a similar bug in v1.0.41.0 – are you sure this site has the latest version?
Alexander
Thanks for the feedback – I’m glad you got it fixed.
Alexander
-
AuthorPosts