本文介绍了服务台售票系统下的门票不能包含特殊字符,例如& quot;& amp;& quot;的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我们目前正在使用Office 365,SharePoint Online在我们公司内部运营。在SharePoint Online中,我们设置了服务台票务系统,其中将询问的问题将分配给特定人员以帮助解决问题。我们遇到了
问题,而门票的标题不能包含特殊字符,例如"&"。否则,我们将无法访问SharePoint列表中的票证。例如,如果我们将其中一张门票命名为"Information& amp;通信
技术部门",URL如下:



https://sharepoint.com/eServices/Lists/Email%20and%20Mobile% 20Services / Flat.aspx?RootFolder = / eServices / Lists / Email%20and%20Mobile%20Services / Information%20&%20Communications%20Technology%20Department & FolderCTID = 0x012002007485751736164946BA44762E0C39B3E300761851C92BE33041870928CB35ED79F6



如上所示,粗体的URL代表标题。只有在我们更改了特殊字符"&"时,该网址才有效。在粗体URL部分中,"%26"在"%26"之内。这是ASCII字符集,如下所示:
$


https://sharepoint.com/eServices/Lists/Email%20and%20Mobile%20Services/Flat.aspx?RootFolder = / eServices / Lists / Email%20and%20Mobile%20Services / Information%20%26%20Communications%20Technology%20Department & FolderCTID = 0x012002007485751736164946BA44762E0C39B3E300761851C92BE330418709292CB35ED79F6



在我们的SharePoint列表中,我们在"编辑Web部件">下添加了html和JS脚本代码。 "编辑代码段"几年前和当时,它将与特殊字符"&"完美配合。直到最近几个月,只要标题有一个"&",它就不会好起来。在其中,我们根本没有对我们的JS或HTML代码进行任何编辑。 
$


您的任何专业知识都可以告诉我们可能存在的问题吗?  ; $


非常感谢!

Hi. we are currently using Office 365, SharePoint Online to operate within our company. In SharePoint Online, we had set up a Service Desk Ticketing System where questions asked will be assigned to specific people to help resolve issue. We have come upon a problem whereas the tickets' title cannot consist of special characters such as "&". Else, we will not be able to access into the tickets in SharePoint list. For example, if we named one of our tickets as "Information & Communications Technology Department", the URL will be as following:

https://sharepoint.com/eServices/Lists/Email%20and%20Mobile%20Services/Flat.aspx?RootFolder=/eServices/Lists/Email%20and%20Mobile%20Services/Information%20&%20Communications%20Technology%20Department&FolderCTID=0x012002007485751736164946BA44762E0C39B3E300761851C92BE33041870928CB35ED79F6

As seen above, the URL in bold represents the title. The URL will only works if we changed the special character "&" within the bolded URL part to "%26" which is ASCII character set, shown below:

https://sharepoint.com/eServices/Lists/Email%20and%20Mobile%20Services/Flat.aspx?RootFolder=/eServices/Lists/Email%20and%20Mobile%20Services/Information%20%26%20Communications%20Technology%20Department&FolderCTID=0x012002007485751736164946BA44762E0C39B3E300761851C92BE33041870928CB35ED79F6

In our SharePoint list, we did add in html and JS script code under "Edit Web Part"> "Edit Snippet" a few years ago and back then, it will working perfectly fine with special character "&". Until recent months when it does not seems to be working well whenever the title had a "&" within it, we did not do any editing on our JS or HTML code at all. 

Can any of your expertise advice us what might be the issue? 

Many Thanks!

推荐答案

我认为你需要调试你的js逻辑并修复它以适应新的SPO。

I think you need to debug your js logic and fix that to fit the new SPO.


这篇关于服务台售票系统下的门票不能包含特殊字符,例如& quot;& amp;& quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-23 20:40