Comments (3)
@johnnyshield according to the documentation, the Filename (in Document libraries) column is NOT supported:
It seems like a bug that Format this column is even an option for the column type. In fact, I've opened an issue regarding this on the main Issues list: SharePoint/sp-dev-docs#1524
As a workaround, you can use this format on the filename column since the problem is just with the underlying FileLeafRef
's column type causing the @currentField
keyword not to work:
{
"$schema": "http://columnformatting.sharepointpnp.com/columnFormattingSchema.json",
"elmType": "div",
"txtContent": {
"operator": "+",
"operands": [
"[$FileName]",
".",
"[$File_x0020_Type]"
]
}
}
from list-formatting.
From further testing, it's not just text-wrapping that's affected. It appears to be any JSON formatting of the SharePoint Name column.
from list-formatting.
I know that's a little bit late, but you could try LinkFilename as a name column. That's a default name of file in sharepoint library. That work for me in FLOW OData question, when I sort returned elements by file name LinkFilename asc
I hope that's help for someone ;)
from list-formatting.
Related Issues (20)
- Generic Gantt chart - Date field cannot be edited HOT 6
- Birthday Sample, does not populate birthday. HOT 5
- No longer works as it used to: form-samples/wrapped-body HOT 2
- Gallery View: Scaling of SVG files HOT 1
- honeycomb SAMPLE has made me sad, please help HOT 6
- Changes made by GENERIC-UPDATE-BUTTON are not immediately visible to other users HOT 2
- group-header-remove-column-name-clickable has made me sad, please help HOT 6
- Links do not open in Microsoft Lists App in some samples HOT 8
- I have a question about Praise Cards HOT 3
- Remove 'Editing' Worry From 'Custom Charts' - view-samples/custom-charts HOT 1
- group-header-remove-column-name has made me sad, please help HOT 4
- text-qrcode question/help HOT 5
- View Formatting - Group - GroupProps To Trigger Expand / Contract Without Malforming Header HOT 7
- Birthday Sample List formatting not working with @now HOT 1
- [SUGGESTION] Color Picker Potential HOT 5
- Colorful Honeycomb Links HOT 5
- I have a question about view-samples/team-poll HOT 4
- FAQ Accordion - Question field not displaying correctly in Lists HOT 6
- Action Input can't update ModerationStatus anymore HOT 3
- Set file as favorite and display in a new view HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from list-formatting.