- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-12-2024 03:50 AM
I face some issue in barcode genration for the multiple asset selected from the list view so please give me any workaround ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā07-12-2024 03:59 AM
Hello @KumarAyush6265 Please refer below code and let me if anyerror has occur
UI Page:-
UI Page -
and please install the ui script jsBarcode as libarary to genrate the barcode
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-14-2024 03:58 AM
Tried with this code as well, still getting duplicate barcodes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-14-2024 04:02 AM
is there any asset that have empty asset tag or not ?
and also put some check condition out there to does not take the duplicate record beccuse right now in my PDI its working fine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-14-2024 04:23 AM
Do we not need to increment the count variable at the end of the forEach loop?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-14-2024 04:34 AM
yes becz of the multiple barcode gen. there will element like _renderProperties (see when you debug the barcode and see in console log) that store as list of the barcode that help to genrate the barcode for the selected items
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā08-14-2024 05:32 AM
Can you please share a screenshot of how unique Barcodes are getting generated for each asset_tag in your PDI?
I tried to put a console.log but I am getting some error in the logs as below:
Thanks