Microsoft.SharePoint.WebControls.EmbeddedFormField没有名为div的公共属性 [英] Microsoft.SharePoint.WebControls.EmbeddedFormField does not have a public property named div

查看:127
本文介绍了Microsoft.SharePoint.WebControls.EmbeddedFormField没有名为div的公共属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试编辑显示多个列表视图的SitePage.

似乎在不破坏页面的情况下不可能编辑默认值.每当我编辑页面时,都会出现以下错误(这使得该页面无法查看)

类型'Microsoft.SharePoint.WebControls.EmbeddedFormField '没有名为'div'的公共属性.

被抛出. >

我想知道的是如何如何编辑页面并在这些元素之间插入HTML?我想在div之间插入多个列表视图 所以我可以根据需要隐藏/显示.

解决方案

站点页面"是SharePoint在线新功能,称为现代页面.据我所知,我们目前无法在SharePoint Designer中对其进行编辑.


您可以从用户界面编辑新的网站页面"并插入列表查看所需的内容.

例如:



如果您要通过SharePoint设计器编辑页面,可以尝试而是使用Wiki页面/Web部件页面.

 

提示:我们可以通过SharePoint添加为网站页面"进行自定义-当前在应用程序部分或SPFX框架中.

Sorry, something went wrongType 'Microsoft.SharePoint.WebControls.EmbeddedFormField' does not have a public property named 'div'.

This issue is easily replicated, you just need to create a SitePage via Site Contents in a SharePoint Online Site. Then open the sitepage in SharePoint Designer, and allow advanced mode. Then save the page. After the page is saved the error:

Type 'Microsoft.SharePoint.WebControls.EmbeddedFormField' does not have a public property named 'div'.

is thrown.

What I would like to know ,is how do I edit a page and insert HTML inbetween these elements? I would like to insert multiple list views between divs so I can hide/show as required.

解决方案

Hi,

The ‘Site Page’ is SharePoint online new feature named as modern page. We can’t edit it in SharePoint designer currently as per my knowledge.


You could edit the new ‘Site Page’ from UI and insert list view as you want.

For example:



If you want to edit the page by SharePoint designer, you could try with wiki page/ web part page instead.

 

Tip: we could do customization for ‘Site Page’ by SharePoint add-in app part or SPFX framework currently.

 

Best Regards,

Lee


这篇关于Microsoft.SharePoint.WebControls.EmbeddedFormField没有名为div的公共属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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