AnsweredAssumed Answered

How to access directory using route BWC

Question asked by Offshore Evolution on Sep 23, 2016
Latest reply on Sep 27, 2016 by Offshore Evolution

HI,

I have created action view map here

custom/Extension/modules/custom_module/Ext/ActionViewMap/custom_module_actionviewmap.php

 

 

./custom/modules/<module>/views/view.example.php

<?php if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');require_once('include/MVC/View/views/view.detail.php');class <module>ViewExample extends ViewDetail{    function <module>ViewExample()    {        parent::ViewDetail();    }    function display()    {        echo 'Example View';    }}?>

<module> is not my sugar module but its simple directory.


set link with admin

$admin_option_defs['CustomModuleList_info']= array('icon','LBL_MODULE_TITLE','LBL_MODULENAME','./index.php?module=CustomModule&action=license');

 

when click on link it should go to 

#bwc/index.php?module=CustomModule&action=license

But its creating link like
/#CustomModule/license

 

Thanks,

Dipesh Patel
Offshore Evolution Pvt. Ltd.

Outcomes