When an item in sharepoint List A is created, create an item in sharepoint List B with the same ID. I'm currently not getting the same ID in the second list.
Is there any conditional logic or primary key constraint that needs to be set?
Hi @Anonymous ,
As @yashag2255 said, the Id field couldn't be manually set in sharepoint.
Best regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Further to @yashag2255's answer, all you can do is to add a number column in List B and populate it with the ID from the List A item. Then you'd not show the List B ID column in your view but just the new column you'd added.
Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.
Hi @Anonymous
The ID field cannot be manually set in SharePoint. It is a unique identifier for that item and is auto generated from SharePoint. There is no way you can alter the ID of an item.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!