如何自动从“名称"列中删除空格? [英] How do I automatically remove spaces from the 'Name' column?

查看:83
本文介绍了如何自动从“名称"列中删除空格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,在我们的组织中,我们删除了名称"列中的空格以阻止%20出现在URL中.我们也将所有内容都改成小写,但我不确定是否需要?

So, in our organisation we delete the spaces in the 'Name' column to stop %20 showing up in the URL. We also make everything lower case but I'm not sure if that is needed?

我一直在努力寻找一种方法来使名称"列自动执行此操作,因为这会占用大量工作人员的时间.我尝试了计算字段,这是我最接近的字段,但是我不知道如何使它链接到文档.我有 还尝试了工作流,并使用SharePoint Designer来调整代码.

I have been trying to find a way for the Name column to do this automatically as it takes up so much time for staff members. I have tried calculated fields, which was the closest I got to but I couldn't figure out how to make it link to the document. I have also tried workflows and adjusting the code is SharePoint Designer.

我们将不胜感激!这将为我们的组织节省大量时间.

Help would be appreciated! This would save so much time in our organisation.

Laura B

推荐答案

您可以在计算字段中使用LTRIM和RTRIM并将其分配给新字段,并在逻辑中使用新字段.

You can use LTRIM and RTRIM in your calculated field and assign it to new field and the use the new field in your logic.

请检查LTRIM和RTRIM的此有用链接用法


这篇关于如何自动从“名称"列中删除空格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆