Custom Widget Dojo Template String from Controller

Member since: 2017


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

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. 



Jul 20, 2018 15:20
Member since: 2017

Fixed with routeprefix on controller and route attribute on function

Jul 20, 2018 16:11
This topic is created over 6 months ago and already resolved. If you have similar question please create new topic and refer to this one.