0

I am unable to hit the Home-Show controller directly on my site it is going to this custom error page "The requested URL was not found on this server."

The Home.js controller is present in my cartridge and even the cartridge is added to the cartridge path. My site is rendering the homepage.isml from Home.js by calling it via Default.js which means Default.js can call Home.js internally but if i want to hit that URL directly it can't be hitten.

  • This doesn't sound like it is related to Salesforce which is what this community is about so your question is likely to get closed. – Keith C Jan 12 at 17:12
  • Aren't you dealing with Salesforce commerce cloud – Faizen Jan 13 at 16:07
  • In your Home.js controller, is the methed server.get('Show' present? If you've overridden the Home.js controller you should be able to call it accordingly. – empiric Jan 14 at 12:11
  • have you added module.exports = server.exports(); to the controller Home.js? – Code_Ninja 1 hour ago

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.