I’m looking to implement my vLookups to a view and I have 3…
Document library that uses global variables in custom JS to generate the file path
2 lists that use the ID field for delete/send email buttons on the forms only
A couple questions I wanted to get your expertise on:
How or can I use the vLookupIsLoadedCallback function in the list view (script or CEWP) to kick off hiding the ID fields that are used for the buttons on the form? Or do I need to utilize the setTimeOut?
Since the document library references custom JS variables to create the folder structure what’s the best approach to recreating those variables on the list view or should I also bring in my custom JS file in a CEWP?
Hopefully those all make sense and thank you in advanced!
Hi,
The callbacks unfortunately only work in a form – not when used in list views. If you use variables you must include those in a CEWP in the list view.
Keep in mind that vLookup in a list view only work in classic view because you cannot add custom code to a modern list view.
That’s a good point. I ended up hosing it for now.
One-off question – does spjs.dffs.alert have a timeout feature? I was going to do an alert popup that would show up for about 3 seconds and then disappear.