将Visual Web部件添加到显示模板中
您好,请参阅附图。我已经实现了一个逻辑来更改要使用javascript显示的项目(每个内容搜索Web部件中的下拉列表),但由于只具有READ权限的用户将无法使用我必须的功能
创建一个新的CSOM可视Web部分分别执行两个CSWP之间的任务(模拟)。它正在按预期更改此属性的值,但我需要在每个内容搜索Web部件中,是否有任何表单可以将从Visual Studio创建的
可视Web部件添加到显示模板中?
Hello, please refer to the attached image. I have implemented a logic to change the items to display with javascript (dropdown list in each content search web part) but since users with only READ permissions won't be able to use the functionality I had to create a new CSOM visual web part separately to perform that task (Impersonation) which is between both CSWPs. It is working as expected changing the value of this property but I need it inside each content search web part, is there any form to add the visual web part created from Visual Studio into Display Template?
提前感谢您提供的任何帮助,我还没有找到如何将其整合到CSWP。
Thanks in advance for any help you can provide on this, I haven't found how to integrate it to CSWP.
Carlos M
您好
我觉得很难 整合Visual WebPart到CSWP。
I think it's difficult integrate Visual WebPart to CSWP.
从未在SharePoint中听到同样的方式。