SPFx Custon Property Pane未开启 [英] SPFx Custon Property Pane not opening

查看:42
本文介绍了SPFx Custon Property Pane未开启的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个自定义
SPFx webpart
,其中我放置了一个链接(My Links)。通过单击该链接,我将从SharePoint列表中获取链接。当用户点击链接时,它会打开

属性窗格
(在窗口右侧),我在其中显示重要链接。

I have created one custom SPFx webpart in which I have placed one link (My Links). By clicking on that link, I am getting links from SharePoint list. When user clicks on the link, it opens Property Pane (on the right side of window) in which I am showing important links.

自上次1-2天以来,webpart突然停止工作,因为它停止打开

属性窗格
。它在过去几个月里运行良好。

Since last 1-2 days, webpart suddenly stopped working as it stopped opening property pane on the click of the link. It was working perfectly for last few months.

我正在打开
属性窗格
使用以下代码

I was opening the property pane using below code

this.context.propertyPane.open();
this.context.propertyPane.refresh();



它没有调用(通过)下面提到的属性窗格的默认功能

It is not calling (going through) default function of property pane mentioned below

protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration{}

protected onPropertyPaneConfigurationStart(): void{}










推荐答案

您好,

请检查SPFx属性窗格是否未在经典页面上打开。

Please check if SPFx Property pane not opening on classic pages.

以下是一个类似的帖子供您参考:

Here is a similar thread for your reference:

https://github.com/SharePoint/sp-dev-docs/issues/3345

或者请使用IE F12开发人员工具检查是否发生了一些错误当你点击链接时。

Or please using IE F12 developer tools to check if some errors occurs when you click the links.

最好的问候,

丹尼斯


这篇关于SPFx Custon Property Pane未开启的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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