search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Fixed with routeprefix on controller and route attribute on function
Hi
I've created a custom gadget and it works well in an alloy project (Epi 11) but in my real project (epi 11), i am not getting templateString from my "LatestChangesController".
Got inspired here https://tedgustaf.com/blog/2014/create-an-episerver-widget-for-edit-mode/
templateString: dojo.cache("/LatestChanges") // this line doesnt seems to return index.cshtml view as it does in alloy project.
I get 404. Is there Routing i need or something?
would appreciate help.
Thanks
Nitin