Forum Discussion
Hiding link to UserDisp.aspx
Hi,
For example in list views, the column "created user" has by default a link to the UserDisp.aspx (mysites).
Is there a possibility to turn it off (so removing the link) on all sites, by only showing the username, without a link?
thx
1 Reply
- Rajashekhar SheelvantBrass Contributor
Assuming that your SharePoint version is SharePoint 2013 (On Premise).
I dont think it is possible to switch off this capability at tenant or farm level. However you can manage this at individual list view level.
If it is a modern page then you can simply format the column(ref image below) and add below mentioned JSON under the formatter window.
Add this JSON under formatter pane and save it.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "div",
"txtContent": "@currentField.title"
}If it is a classic page then you may have to create a calculated column and refer the "created by" column in this calculated column and then display this new calculated column through the view instead of "created by" column