简体   繁体   English

Lightning 上的 Salesforce 按钮

[英]Salesforce buttons on Lightning

In the clasic Salesforce, I have the next button type URL:在经典的 Salesforce 中,我有下一个按钮类型 URL:

示例按钮 URL

按钮详情

In the Opportinity view I add this button correctly and work well:在商机视图中,我正确添加了此按钮并且运行良好:

操作视图

But if i change to Lightning experience.... I cant add this button to view:但是,如果我更改为 Lightning Experience.... 我无法添加此按钮来查看:

在此处输入图片说明

The button dont appear in the options:该按钮不会出现在选项中:

在此处输入图片说明

¿Any can help me? ¿有人可以帮助我吗?

Basically I need a button that opens an external page, passing variables such as the opportune ID ...基本上我需要一个按钮来打开一个外部页面,传递诸如机会 ID 之类的变量......

I tried with javascript button but I have the same problem.我尝试使用 javascript 按钮,但我遇到了同样的问题。

After you created a button or link for your object (eg Opportunity), you should add it to an appropriate layout.在为您的对象(例如机会)创建按钮或链接后,您应该将其添加到适当的布局中。

  1. Create a button: Setup -> Object Manager -> Opportunity -> Buttons, Links, and Actions -> New Button or Link创建按钮:设置 -> 对象管理器 -> 机会 -> 按钮、链接和操作 -> 新建按钮或链接

  2. Add a button to a layout: Setup -> Object Manager -> Opportunity -> Page Layouts -> [Your layout]向布局添加按钮:设置 -> 对象管理器 -> 机会 -> 页面布局 -> [您的布局]

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM