In the current workflow of constellation application , once products are added to the orderItems table, the subsequent screen should enable the generation of individual barcodes for each product. Each item in the order must have a unique barcode that is both generated and displayed.
We are exploring the possibility of enhancing the user experience by displaying the barcode in a popup modal triggered from each row in the table. Furthermore, we would like to provide a download option directly from the table actions of each row, allowing users to save the barcode image locally.
Queries:
Can we integrate a download action within the table row (e.g., via an icon or button) to allow users to download the barcode image
Or else is it possible to have download option in each row actions in order item table.
if above is not possible using ootb constellation, what is the most suitable or feasible approach we can use to download bar codes (Note : in real time there can be more than 10 products) we are looking for something where user can select the rows and download the barcodes at once
@Mohamed Siddiq N have you seen storybook - Storybook ? However, this would require you to extend constellation with a DX component.
If you’re not using this, could you give us more details on how you are generating this bar code?
Possible solutions (in the mean time)
Would also be good to understand what version you are using. In '25 embedded data allows you to use user actions (flow actions) when interacting with embedded data. This gives you the ability to use pre/post processing to give you the hook to achieve this.
You could look to create a calculation (declare expression) to retrieve this, might be tricky if this is an image… depending on the infrastructure to create that barcode
You could look to split up your flow, so that there is another step after this, which gives you a hook for running a data transform in your case lifecycle (or post processing on flow action)
Bulk actions, would not be a UI function, rather using some processing as mentioned in prior options - i would look at the github article i posted that shows how to create a PDF where you could generate a single document with all your barcordes?
A starting point, if you can give some more details, might be able to guide you futher.
Thanks for the insights!
Yes, the capabilities in Infinity 25.1 look promising. However, we’ve recently migrated to 24.2, so we’re currently exploring possible workarounds within that version.
1.Could you please elaborate on how a declare expression could be used to generate and retrieve barcode images? Since barcodes are image-based, we’re unsure how well this approach would handle binary/image data.
2.We understand that using a refresh data transform on view load could help trigger barcode generation. However, since this would execute on every load of the view for that class, we’re concerned about potential performance impacts, especially with large datasets. Any suggestions on optimizing this?
3.Could you please share the GitHub article you mentioned regarding PDF creation using bulk actions? That could be a helpful starting point for implementing the bulk download feature.
we are using DX component for generation of barcode.for every table rows, a unique barcodes will be created, user should have opportunity to download barcodes from table. Since there will be more table entries- is it is possible to download multiple barcodes at once like bulk actions.
everything needs to done inside the case, not on landing pages.
Performance implications, is an interesting one. Your best bet is to try and break this down, either having users transition between steps or cases in generating the barcode - this would make the calls as small as possible. This is why i mentioned Form Refresh or Declare Expressions (if you had the right way to retrieve that barcode via this).
For me, i’d break up the capture UX so that you have a chance to generate the barcode.
'25 capability. Bringing this up again, though it won’t help you now - in '25 you can run User Actions (Flow Actions) from a Table adding records in a Modal. This gives you a good hook for running post processing for this. So I mention this, as it can factor in your design if you plan to use this in the future.