SharePoint Document Issues

How to Generate Missing Barcodes for Existing SharePoint List Items

Steve KSteve K Nov 2, 2026 869 views

Question details

The user needs to generate barcodes for existing SharePoint list items that were created before the Barcode feature was activated.

How to Generate Missing Barcodes for Existing SharePoint List Items
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.
Before you start

Ensure you have the necessary permissions to edit the affected SharePoint list and create workflows in Microsoft Power Automate.

Solution 1Recommended

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.

1
Create a Scheduled Flow

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.

2
Retrieve Existing Items

Add the 'Get items' action from the SharePoint connector. Select your Site Address and List Name to retrieve all the records that need barcodes.

3
Update Items in a Loop

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.

4
Run the Flow

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.

5
Remove the Temporary Flow

Once you have verified that all missing barcodes are generated successfully, delete or disable the temporary Power Automate flow to keep your environment clean.

Use Power Automate to Trigger Barcode Generation
Batch Processing: For lists with more than 5,000 items, ensure you configure the 'Get items' pagination settings in Power Automate to retrieve and update all records successfully.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the free installer for your Windows, Mac, or Linux operating system.
  2. 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. 3. Open Exported Files: Launch WPS Office and seamlessly open any exported SharePoint lists (CSV/Excel) or Word documents with native compatibility.
Analyze and manage exported SharePoint list data seamlessly with WPS Spreadsheet.Fully compatible with Microsoft Excel (.xlsx), Word (.docx), and PowerPoint (.pptx) formats.Lightweight design ensures smooth performance on older devices with a familiar user interface.Free built-in PDF editing tools for easy document conversion and sharing.
microsoft office alternative - wps office

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.