简体   繁体   English

Sharepoint 在“AllItems.aspx”中显示(不完整)ID

[英]Sharepoint shows (incomplete) id in “AllItems.aspx”

In a Sharepoint site: "https://(company).sharepoint.com/sites/(subject)/Shared%20documents/Forms/AllItems.aspx" i see among others the column: "Id".在 Sharepoint 站点中:“https://(company).sharepoint.com/sites/(subject)/Shared%20documents/Forms/AllItems.aspx”我看到其中的列:“Id”。 This ID however shows only the numbers fe 35.但是,此 ID 仅显示数字 fe 35。

It does not show the complete number "aadduej-35".它没有显示完整的编号“aadduej-35”。 The complete number is shown when i open the document properties.当我打开文档属性时,会显示完整的编号。 There i see "Document-id" with the complete prefix and the id number.在那里我看到带有完整前缀和 ID 号的“Document-id”。 How do i arrange that in the.aspx is shown "aadduej-35" instead of "35"我如何安排在.aspx 中显示“aadduej-35”而不是“35”

All help is appreciated!感谢所有帮助!

Thanks in advance;-)提前致谢;-)

You could create a calculated column and set the formula like this:您可以创建一个计算列并像这样设置公式:

=CONCATENATE("aadduej-",ID)

Or you could format the column with json formatting:或者您可以使用 json 格式来格式化列:

{
   "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
   "elmType": "div",
   "txtContent": {
    "operator": "+",
    "operands": [
      "aadduej-",
      " ",
      "[$ID]"
    ]
  }
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SharePoint Hosted App 2013:自定义List / AllItems.aspx页 - SharePoint Hosted App 2013: Customize List/AllItems.aspx page 在SharePoint Designer 2010 AllItems.aspx xslt视图中计算列 - Compute columns in SharePoint Designer 2010 AllItems.aspx xslt view SharePoint Office365 Powershell Webpart AllItems.aspx - SharePoint Office365 Powershell Webpart AllItems.aspx 如何覆盖 Upload.aspx 或 AllItems.aspx 等 SharePoint 2013(不是 SP 设计器) - How can you override Upload.aspx or AllItems.aspx etc. SharePoint 2013 (NOT SP Designer) 将AllItems.aspx显示为Web部件? - Displaying the AllItems.aspx as a Web Part? 是否可以在Sharepoint allitems.aspx页面中将静态值调整为动态(javascript)值? - Adjust static value into dynamic (javascript) value possible in Sharepoint allitems.aspx page? SharePoint 2013在allitems.aspx中我如何获取列表标题和名称 - SharePoint 2013 In allitems.aspx How Do I get the list title and Name 在哪里设置样式标签<style> in AllItems.aspx when edited in Sharepoint Designer - Where to style tag <style> in AllItems.aspx when edited in Sharepoint Designer 我的子站点中缺少pages / forms / allitems.aspx - pages/forms/allitems.aspx missing from my sub site 如何为 ClientContext 正确删除 SitePages/Home.aspx 或 Forms/AllItems.aspx? - How do I remove SitePages/Home.aspx or Forms/AllItems.aspx correctly for ClientContext?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM