O365:奇怪的自定义Web部件行为:SP在页面上添加时加载原始版本 [英] O365: Strange Custom Web Part behavior: SP loads the Original Version when adding on the page

查看:66
本文介绍了O365:奇怪的自定义Web部件行为:SP在页面上添加时加载原始版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经定制了内容查询Web部件,因此我在那里配置了自己的MyItemStyle.XSL链接。

I have customized Content Query Web Part so that I have configured my own MyItemStyle.XSL link there.

我已将其作为新的自定义WP并且我上传了它在Web部件库中。到目前为止一切都还可以。

I have made it as a new custom WP and I uploaded it on the Web Part Gallery. Everything is ok to this point.

但是当我在页面上添加WP时,它会以某种方式呈现其中的默认XSL文件URL,这就是为什么我的自定义项样式不会出现在WP Properties中的Presentation下拉列表。

But when I add the WP on the page, it renders somehow the default XSL file URL inside it and that's why my custom Item Style doesn't appear on the Presentation dropdown in WP Properties.

那么,自定义命名WP如何获得默认WP内容。

So, how is it possible that a Custom Named WP gets the default WP content.

我添加了页面上的自定义WP,之后我导出了它并检查了代码:确实有默认的XSL URL。

I have added the custom WP on the page and after that I have exported it and checked the code: indeed there is the default XSL URL.

在Web部件库中,我从那里下载了我的自定义WP:我检查了代码,网址是ok = custom。

In the web part gallery I have downloaded my Custom WP from there: I checked the code and the URL is ok=custom.

我在不同的租户上做过相同的程序几十次,而且一直有效。

I have done this same procedure tens of times on different tenants and it has always worked.

推荐答案

BreXit,

Hi, BreXit,


I 我目前正在我的环境中进行测试,并会尽快给出更新

I  am currently doing test in my environment and will give an update as soon as possible

最好的问候

Jerry Xu


这篇关于O365:奇怪的自定义Web部件行为:SP在页面上添加时加载原始版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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