[英]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.