Variables & Callbacks on vLookup Views
- This topic has 3 replies, 2 voices, and was last updated 5 years, 1 month ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › vLooup for SharePoint › Variables & Callbacks on vLookup Views
Tagged: callbacks, global variables, ListView, vlookup
I’m looking to implement my vLookups to a view and I have 3…
A couple questions I wanted to get your expertise on:
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.
Alexander
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.
Hi,
There is no built in auto-hide, but you can use a timeout like this:
var dlgId = spjs.dffs.alert({
"title": "Test dialog",
"msg": "Auto-hide after 3 seconds...",
"noBtn":true
});
setTimeout(function(){
spjs.dffs.closeDlg(dlgId);
},3000);
Alexander