英文:
Custom url for primary action button
问题
我正在尝试通过jackhenry.dev创建一个插件。在自定义插件中,我想要打开扩展视图,并使用与主要重定向URI中提供的URL不同的URL。文档建议我们应该使用jack-henry/banno-plugin-framework-bridge来使用不同的URL进行扩展视图。
我按照https://jackhenry.dev/open-api-docs/plugins/architecture/userinterface/banno-plugin-framework-bridge/中提供的说明进行操作。
根据文档,我了解到我们应该在主要重定向页面中添加锚链接,框架桥会在用户单击主要操作按钮时重定向到锚链接指向的页面。但是插件的功能与预期不符,操作按钮仍然将我带到主要重定向URI,而不是新的锚链接指向的页面,并且我在插件中看到了不应该显示的锚链接。如果我理解有误,请纠正我。
英文:
I'm trying to create a plugin through jackhenry.dev. In the custom plugin, I want to open up the expanded view with different url than url given in Primary redirect URI. Document suggests that we should use jack-henry/banno-plugin-framework-bridge in order to use different url for expanded view.
I followed the instruction given in https://jackhenry.dev/open-api-docs/plugins/architecture/userinterface/banno-plugin-framework-bridge/ .
As per doc, I understood that we should add anchor link in the primary redirect page and framework bridge would redirect to that page which is pointed by the anchor link when user click on primary action button. But the plugin is not functioning as expected that action button still taking me to the primary redirect uri instead of new anchor link pointed page and I see anchor link in the plugin which is not suppose to show.
Please correct me if my understanding is incorrect.
答案1
得分: 0
对于关系存在一些误解,希望通过一些澄清会更加明了。
在“插件框架”的用户界面解剖页面上讨论了主操作按钮,以及当配置时如何显示在卡片面上。该解剖页面还提到**插件桥是使用主操作按钮**的替代方法(实际上可以同时使用两者,但在实践中不太常见)。
设计和开发插件指南提供了有关在选择主操作按钮和插件桥作为激活扩展视图选项时涉及的权衡的更多信息。
英文:
There's a misunderstanding on the relationship, which hopefully will make more sense with some clarification.
The User Interface anatomy page for the Plugin Framework talks about the primary action button and how it shows up on the Card Face when configured. That anatomy page also mentions that the Plugin Bridge is an alternative to using the primary action button. (It's certainly possible to use both, but is an unlikely combination in practice.)
The Designing and Developing Plugins guide has more info about the tradeoffs involved when choosing between the primary action button and Plugin Bridge as options for activating the Expanded View.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。


评论