Home › Forums › SPJS-Utility › Problem with \'List view: Preview item on hover\'
Tagged: spjs, spjs_listItemPreviewConfig
- This topic has 5 replies, 2 voices, and was last updated 8 years, 1 month ago by Alexander Bautz.
-
AuthorPosts
-
-
August 1, 2016 at 10:27 #12612
Hey people,
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.
Thomas- This topic was modified 8 years, 4 months ago by Thomas Lefebure.
Attachments:
-
August 1, 2016 at 19:18 #12624
Hi,
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.
Alexander
-
August 2, 2016 at 09:57 #12630
Hey Alexander,
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?
Kind Regards,
Thomas -
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?
Alexander
-
November 14, 2016 at 13:33 #14131
Alex,
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.
Ciao
ThomasAttachments:
-
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.
Alexander
-
-
AuthorPosts
- You must be logged in to reply to this topic.