Dynamics Portals – Web Templates – ‘$ is not defined’ Error
Other day, I was getting ‘$ is not defined’ script error during my ‘Web Template’ load.
From the error, its clear that jQuery file reference was missing in Web Template.
The Web Template has a HTML with Liquid Template and script using jQuery and was rendering with no issues an hour ago and there were no changes made to the Web Template content.
Reason and Fix:
- ‘Use Website Header and Footer’ field was unchecked in ‘Page Template’ which was causing the issue.
- jQuery file would be implicitly available to the ‘Web Template’ when ‘Use Website Header and Footer’ field is checked on ‘Page Template’.
- Save the Page Template
- Clear the portal Cache and issue should be fixed.
🙂
Categories: CRM, Dynamics Portals
$ is not defined, JQuery, Portals
Comments (0)
Trackbacks (0)
Leave a comment
Trackback