如何在Sharepoint中重复/重置列表的ID列? [英] How to reiterate/reset the ID column of a list in Sharepoint?

查看:264
本文介绍了如何在Sharepoint中重复/重置列表的ID列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在sharepoint中很新,所以请光临我。


我有一个列表,其中每个项目行都有一个ID列。每当我添加一个新项目时,ID列的增量为1.(例如,前一个项目为112,则新行的ID为113.)但每当我删除一个项目或行然后添加另一个项目/行时,
ID列现在将跳过已删除的行。 (例如113被删除,然后添加的行将具有ID 114) 


有没有办法阻止ID列跳过已删除的ID?我的意思是有一种方法,如果用户删除一行,例如113,下一个添加的行仍然是113而不是114?在此先感谢你们!

解决方案

据我所知不可能...但是你可以尝试创建另一个数字列并通过制作来更新它工作流的用户并将其视为ID列。在工作流程中构建逻辑以提取先前的值并相应地更新现有项目。



谢谢,


Mukesh


I'm pretty new in sharepoint so please bare with me. 

I have a list where i have an ID column for each item row. Whenever I add a new item, the ID column increments with 1. (e.g. previous item is 112, then the new row will have an ID of 113.) But whenever I delete an item or row and then add another item/ row, the ID column will now skip the deleted row. (e.g. 113 is deleted, then the added row will have an ID of 114) 

Is there a way to prevent the ID column from skipping the deleted IDs? I mean is there a way that if the user deletes a row e.g. 113, the next added row would still be 113 instead of 114? Thanks in advance guys!

解决方案

Not possible in my knowledge...However you can try creating another Numeric column and update it by making user of an workflow and treat it as ID column. Build logic in workflow to pull previous value and update existing item accordingly.

Thanks,

Mukesh


这篇关于如何在Sharepoint中重复/重置列表的ID列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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