0
A
回答
0
你可以为它编写的API:IN custom/clients/base/api
但这会隐藏每一个创建按钮该模块的位置。
<?php
/**
* @author Harshal
*/
/*
* Your installation or use of this SugarCRM file is subject to the applicable
* terms available at
* http://support.sugarcrm.com/06_Customer_Center/10_Master_Subscription_Agreements/.
* If you do not agree to all of the applicable terms or do not have the
* authority to bind the entity as an authorized representative, then do not
* install or use this SugarCRM file.
*
* Copyright (C) SugarCRM Inc. All rights reserved.
*/
if (!defined('sugarEntry') || !sugarEntry)
die('Not A Valid Entry Point');
require_once("clients/base/api/CurrentUserApi.php");
class CustomCurrentUserApi extends CurrentUserApi {
public function registerApiRest() {
return parent::registerApiRest();
}
public function retrieveCurrentUser($api, $args) {
$result = parent::retrieveCurrentUser($api, $args);
$result['current_user']['acl']['MODULENAME']['create'] =
return $result;
}
}
相关问题
- 1. SugarCRM如何隐藏列表视图中的编辑按钮
- 2. 如何删除pygbutton创建的按钮
- 3. 标题视图中的离子删除按钮在列表视图中切换删除按钮
- 4. 通过按删除按钮从列表视图中删除项目android
- 5. 如何使用arrayadapter中的按钮删除列表视图中的项目
- 6. 如何从按钮创建一个下拉列表视图?
- 7. 从列表视图中删除项目,按钮点击
- 8. 在android中添加删除按钮到列表视图
- 9. 在列表视图中运行时创建图像按钮
- 10. 如何使用自定义视图中的按钮从列表视图中删除自定义视图
- 11. 如何在表视图的单元格中创建按钮?
- 12. 擦除表格视图单元格中的删除按钮
- 13. 如何创建包含同一活动中的按钮和列表的视图?
- 14. 从窗体和列表视图删除打印按钮Odoo 8
- 15. 在列表视图上删除按钮事件不起作用
- 16. Swift - 如何删除在函数中创建的按钮?
- 17. 如何在PHP中创建一个删除结果的按钮?
- 18. 如何删除子视图点击iPhone中的UIBar按钮?
- 19. 如何从列表视图中删除列表视图项中的Android
- 20. 如何删除列表视图项目
- 21. 如何在每一行中创建列表视图项目+按钮?
- 22. 从使用单选按钮创建的列表中删除功能?
- 23. 按钮列表视图
- 24. WPF - 按钮列表视图
- 25. 列表视图与按钮
- 26. 按钮列表视图
- 27. 如何删除表视图
- 28. 如何在GridView中创建删除按钮?
- 29. 在WPF列表视图中创建的每一行添加按钮
- 30. 动态创建删除按钮
到目前为止你做了什么?发布代码样本等 – Peter4499