在线Sharepoint-“相对URL"在XML表单库上打开表单模板时出错. [英] Sharepoint Online - "Relative URL" error when opening form template on a XML Forms Library.

查看:67
本文介绍了在线Sharepoint-“相对URL"在XML表单库上打开表单模板时出错.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

直到今天,XML表单库仍旧显示经典体验.但是,当将其更改为新体验时(无论出于何种原因! 它实际上是在几分钟之内发生的),新的表单按钮停止在库中工作.错误显示-

Up until today, the XML forms library was displayed in the old classic experience. However, when it was changed over to the new experience (for whatever reason! It literally happened within minutes), the new form button stopped working on the library. The error stated -

URL访问者表单库/Forms/template.xsn是一个不支持的相对URL.若要解决此问题,请使用以'〜site'开头的相对于网站的URL或相对于网站集的 以'〜sitecollection'开头的URL.您还可以使用绝对URL.

The URL Visitor Form Library/Forms/template.xsn is an unsupported relative URL. To fix this problem, use a site-relative URL starting with '~site' or a site collection-relative URL starting with '~sitecollection'. You can also use an absolute URL.

关联ID:a4d13f9e-7071-5000-1536-f1e5a96d633

因此,我查看了该URL,并不得不对其进行编辑表单的位置,以便加载.我将网址更改为

https://[tenant] .sharepoint.com/sites /[站点名称]/_ layouts/15/FormServer.aspx?XsnLocation = Visitor%20Form%20Library%2FForms%2Ftemplate.xsn&RootFolder =%2Fsites%2F [site 名称]%2FVisitor%20Form%20Library

https://[tenant].sharepoint.com/sites/[site name]/_layouts/15/FormServer.aspx?XsnLocation=Visitor%20Form%20Library%2FForms%2Ftemplate.xsn&RootFolder=%2Fsites%2F[site name]%2FVisitor%20Form%20Library

为此...

https://[tenant] .sharepoint.com/sites /[站点名称]/_ layouts/15/FormServer.aspx?XsnLocation =〜sitecollection%2FVisitor%20Form%20Library%2FForms%2Ftemplate.xsn& RootFolder =%2Fsites%2F [site 名称]%2FVisitor%20Form%20Library

https://[tenant].sharepoint.com/sites/[site name]/_layouts/15/FormServer.aspx?XsnLocation=~sitecollection%2FVisitor%20Form%20Library%2FForms%2Ftemplate.xsn&RootFolder=%2Fsites%2F[site name]%2FVisitor%20Form%20Library

因此,在xsnlocation中添加〜sitecollection/即可.虽然我们的用户可以从单独的着陆页导航到该网址,但对于 我们组织的高级用户和管理员直接查看图书馆.

So adding ~sitecollection/ to the xsnlocation worked. While this is okay for our users to navigate to from a seperate landing page, it could be problematic for our organisation's power users and admins looking at the library directly.

还有其他人找到这个问题了吗?有人知道微软何时会解决此问题吗?还是有人知道我忽略的修复程序?

致谢

Rhys

推荐答案

嗨Rhys,

在SharePoint在线环境中进行的测试中,我无法将经典体验转换为通过默认表单库模板创建的表单库中的新体验.

Per my test in my SharePoint online environment, I cannot switch classic experience to new experience in the form library created from the default form library template.

然后,我添加表单内容类型并将其设置为文档库中的默认内容类型.然后切换到新的体验,新按钮可以正常工作.

Then I add the form content type and set it as default content type in the document library. Then switch to new experience, the new button can work fine.

此问题是否发生在通过默认表单库模板创建的表单库中?如果问题是从默认表单库模板创建的表单库中发生的,那么您如何切换到新的体验?

Did the issue occur in the form library created from the default form library template? If the issue occurs in the form library created from the default form library template, how did you switch to new experience?

要解决此问题,请检查以下内容:

To troubleshoot the issue, check things below:

1.将站点添加到IE中的受信任站点中.

1. Add the site into the trusted sites in IE.

2.将站点添加到IE的兼容性视图中.

2. Add the site into the compatibility view in IE.

毕竟,您可以使用经典体验.因为新的体验是新功能.并且将来会得到改进.

After all, you could use the classic experience. Because the new experience is the new feature. And it will be improved in the future.

最诚挚的问候,

萨拉范


这篇关于在线Sharepoint-“相对URL"在XML表单库上打开表单模板时出错.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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