August 1, 2016 at 10:27 #12612
Im trying to use the solution “List view: Preview item on hover”
…on a list in our SharePoint 2010 Foundation. So I’m using the 2010 solution and I’m currently stuck with the error:
You are loading the configuration from the code, but the variable spjs_listItemPreviewConfig is missing.
That part of the code suggests that I start using the SharePoint 2007 setup, but using that for SP 2010 doesnt make any sense to me. How should I interpret this?
Hope to hear from you! Pls let me know if I should post anything else.
- This topic was modified 1 year, 8 months ago by Thomas Lefebure.
August 1, 2016 at 19:18 #12624
When the config is written in the description you are not supposed to use the variable. Remove the first two lines, and the last one and it should most likely work.
Also the “Formula” should read configindescription=’1′ and not ‘2’.
Let me know how this works out.
August 2, 2016 at 09:57 #12630
Tnx for the quick reply. I adjusted the code in the description and changed the configdescription from 2 to 1. However the error remains the same, does that make sense?
August 4, 2016 at 22:16 #12674
It’s hard to tell without looking at it, but if you bring up the developer console (hit F12 > Console) – do you see any errors there?
Also, have you tried putting the code in a CEWP in the page instead of in the description of the field to see if this performs better?
November 14, 2016 at 13:33 #14131
Been a long time. Lots of other stuff to do. Now again some time to try and make this work. Hope you too can find some time to take a look at it.
I’ve added screenshots. Again of the code inside the Preview-field. Changed it according your advice. Sadly Chrome gives no errors in the console and the original error about the missing spjs_ListItemPreviewConfig remains.
November 16, 2016 at 19:27 #14188
Please try the setup option where you don’t have the config in the field description textarea. You should find info in the original article.
You must be logged in to reply to this topic.