SaaS CMS has officially launched! Learn more now.

Custom Widget Dojo Template String from Controller



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

Fixed with routeprefix on controller and route attribute on function

Jul 20, 2018 16:11
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.