将Visual Web部件添加到显示模板中 [英] Add Visual Web Part into Display Template

查看:51
本文介绍了将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中听到同样的方式。


这篇关于将Visual Web部件添加到显示模板中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆