你是什么意思"standard visualforce edit page",有's no such thing. You mean standard page layout or do you have custom Visualforce Page that'用来编辑机会?
最佳猜测答案:
您可以转到设置 - >自定义 - >机会 - >按钮和链接,在那里创建一个"Detail Page Button",当它's done - add it to the page layout(s) of Opportunities. If you don'看到这些选项时 - 您没有customize application的权限 .
Note : If you are overriding standard page with Visualforce page then make sure that the Visualforce page is having standardcontroller as selected object i.e. here in this case is "Opportunity"
3 回答
你的问题不清楚:/
您的组织是"Developer Edition"(尝试在Force.com平台上运行的免费版)或例如"Enterprise Edition",您的用户配置文件(一组系统权限)被称为"Developer"?在"Developer Edition"中,您可能是系统管理员,因此您拥有所有权利 . 在后一种情况下 - 检查您的 Profiles 是否具有开始的"Customize Application"权限 .
你是什么意思"standard visualforce edit page",有's no such thing. You mean standard page layout or do you have custom Visualforce Page that'用来编辑机会?
最佳猜测答案:
您可以转到设置 - >自定义 - >机会 - >按钮和链接,在那里创建一个"Detail Page Button",当它's done - add it to the page layout(s) of Opportunities. If you don'看到这些选项时 - 您没有customize application的权限 .
但是:没有添加这种方式的按钮可以显示在“编辑”页面上,这是一个标准的,具有非常有限的自定义选项 . 只有标准的“视图”页面才会显示额外的按钮 . 有一些JavaScript技巧可以将内容注入“新/编辑”(通过部分 Headers 或侧边栏)......但是如果您希望按钮行为最可靠,那么可能是创建一个Visualforce页面并覆盖操作 .
这个按钮究竟应该做什么?
您无法删除标准按钮,但您可以编辑它并使用Visualforce页面覆盖它 . 您可以在这里找到机会的所有标准按钮 . 设置 - >应用程序设置 - >自定义 - >机会 - >按钮和链接 .
在此处,您可以创建任何自定义按钮,也可以编辑标准按钮 .
Note : If you are overriding standard page with Visualforce page then make sure that the Visualforce page is having standardcontroller as selected object i.e. here in this case is "Opportunity"
要将标准页面添加到自定义按钮,请转到“设置” - >“自定义” - >“机会” - >“按钮和链接” . 单击“新建”自定义按钮和链接按钮 .
这是一个添加javascript动作的好教程 . http://www.interactiveties.com/b_execute_javascript_button.php
如果要使用visualforce页面覆盖标准按钮,请首先创建页面,然后在上面的相同按钮和链接页面上,在要覆盖的操作上选择“编辑” .