How to Generate Missing Barcodes for Existing SharePoint List Items
Question details
The user needs to generate barcodes for existing SharePoint list items that were created before the Barcode feature was activated.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Enabling the Barcode policy on an existing SharePoint list containing older records.
- Observed behavior
- SharePoint does not automatically generate barcodes for items that existed prior to enabling the feature. Manually editing dozens of older items to trigger the barcode creation is unreliable and time-consuming.
Ensure you have the necessary permissions to edit the affected SharePoint list and create workflows in Microsoft Power Automate.
Use Power Automate to Trigger Barcode Generation
Create a temporary Power Automate flow to update all existing list items in bulk, which forces SharePoint to generate the missing barcodes.
SharePoint only generates barcodes when an item is created or updated. By using a temporary Power Automate flow, you can simulate an update for every existing item in your list without altering any of your actual business data.
Log into Microsoft Power Automate and select 'Create' to start a new flow. Choose 'Scheduled cloud flow' so you can run this task immediately and configure the recurrence to run just once.
Add the 'Get items' action from the SharePoint connector. Select your Site Address and List Name to retrieve all the records that need barcodes.
Add an 'Apply to each' loop and use the 'Update item' action inside it. Map the required fields back to themselves (e.g., set the Title field to the existing Title dynamic content) so that no actual business data changes during the update.
Save and manually run the flow. Wait for the process to complete, then check your SharePoint list to verify that the barcode values have been generated for the older items.
Once you have verified that all missing barcodes are generated successfully, delete or disable the temporary Power Automate flow to keep your environment clean.

Looking for a Lightweight and Free Office Suite? Try WPS Office
While SharePoint and Power Automate handle your automated workflows, WPS Office provides a complete, free, and highly compatible suite for reviewing your exported list data, spreadsheets, and documents.
- 1. Download WPS Office: Visit the official WPS website and download the free installer for your Windows, Mac, or Linux operating system.
- 2. Install the Suite: Run the installer and follow the simple on-screen prompts to set up WPS Office on your computer in minutes.
- 3. Open Exported Files: Launch WPS Office and seamlessly open any exported SharePoint lists (CSV/Excel) or Word documents with native compatibility.

Frequently Asked Questions
Why aren't barcodes showing up on my older SharePoint list items?
SharePoint's Barcode feature only triggers a generation event upon item creation or when an existing item is edited and saved after the feature has been enabled. Items untouched since the feature was turned on will remain without a barcode.
Can I manually update SharePoint list items to generate missing barcodes?
Yes, editing items manually or via the Quick Edit (Grid view) feature will trigger the barcode generation. However, this manual process is prone to errors and highly inefficient if you have dozens or hundreds of existing items.
Does updating an item in Power Automate change the 'Modified' date field?
Yes, using the standard 'Update item' action in Power Automate will update the 'Modified' date and 'Modified By' fields. If preserving these timestamps is critical, you would need to use advanced HTTP requests via the SharePoint API to update the item without triggering version or timestamp changes.




