Is there any way to pass a parameter to controller from menu.xml file?

Actual URL :

Expected URL :
  • What parameter you want to add can you elaborate? in url something like ?id=1 – Prachi Saxena May 15 at 12:22
  • @PrachiSaxena I want to pass string parameter to controller action which is called from admin menu. – Emipro Technologies Pvt. Ltd. May 15 at 12:25
  • Can you give example? so i can get better idea – Rutvee Sojitra May 15 at 12:30
  • @RutveeSojitra #PrachiSaxena Please check my updated question. – Emipro Technologies Pvt. Ltd. May 15 at 12:37
  • 1
    if you want static parameter you can write action like below: action="test/index/index/custom/parameter" it will work @EmiproTechnologiesPvt.Ltd. – Rutvee Sojitra May 15 at 12:51

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.