Sebastian Dammark
11/18/2024, 7:55 PM{{header != null ? header : null | ncRichText | truncate:true:50 }}
If the link property is there I do this: {{link != null ? link : null | ncNodeName | truncate:true:50 }}
But how do I combine these so I don't get text from both the header
and the link
?
https://cdn.discordapp.com/attachments/1308158732827361451/1308158733595185213/image.png?ex=673ced42&is=673b9bc2&hm=220f87f257e6a3de91dea4bd4508be5ac3bd57d5d40f49505e468490f39877f4&
https://cdn.discordapp.com/attachments/1308158732827361451/1308158734379515945/image.png?ex=673ced42&is=673b9bc2&hm=838f4cdc9301c8c2a603ab79f0eb6f9efca0e052b5db4d6dede589f3ba0f136c&Lamont
11/18/2024, 10:05 PMMike Chambers
11/19/2024, 9:58 AMSebastian Dammark
11/19/2024, 12:23 PMlink
is an UDI you can't use ncRichText
to get the name of the document, and that is my problem.skttl
11/19/2024, 12:36 PMLamont
11/19/2024, 4:54 PMDean Leigh
11/19/2024, 8:45 PM{{$settings.wFtSetPropPublished == '0' ? '🚫 ' : "🟢 "}}{{$contentTypeName}}{{wFtPropTitle ? ' - ' + wFtPropTitle : ''}}
Sebastian Dammark
11/20/2024, 11:24 AMheader
can be both '' and null, so now I'm rolling with this 🙂
{{(link == null || link == '') && header != null ? header : null | ncRichText | truncate:true:50 }}{{(header == null || header == '') && link != null ? link : null | ncNodeName | truncate:true:50 }}
Sebastian Dammark
11/20/2024, 11:25 AM