Announcements
No record found.
Hi all,
in the RunbaseBatch class i want to add a dialog one button how to write via x++ ?
then i want to add that clicked button below enum based an element select we want Excel field name only show.
i have a Enum element.
Ex:
1.Import worker < personnelNumber, name> Excel o/p : personnelNumber | name user manually type value how to do in x++.
2.update position
3.Update dimension.
Regards,
Azar
I'm sorry, but I don't understand. Could you please rephrase "that clicked button below enum based an element select we want Excel field name only show"? Providing a more context about the business process would likely help too.
Thanks for your replay Martin Drab sir,
I want to add a button like<Generate template> in a RunBaseBatch class dialog method, and assign it a clicked method
Once i select enum element and click the Generate template button import a field value in show to Excel could you give me an example on how to do it.
What do you mean by "import a field value in show to Excel"?
i want to output above the value fields only when i click the generate button.
Reagrds,
Hmm, why would you do such a think in a RunBase dialog? Could you now please describe the business scenario?
RunBase classes are used to collect input parameters and run business logic after confirming the dialog. Executing exports from the dialog before confirming sounds strange to me.
Please give us a solution for that how to add in a dialog box button and assign it a clicked method how to achieve in x++?
Becoz i want to runtime generate template in the Excel.
What is your business requirement ? Why you want to generate excel template using code ?
Thanks for your replay Sukrut,
in below is runbasebatch and i want to add Right side add to a one button and "update Position"
PositionID, Description. i want to Excel sheet how to do in x++ what to be done ?
As others have mentioned, your design seems a bit strange. In the batch dialog you're supposed to give some input parameters for the batch, not execute business logic such as reading from Excel files.
Perhaps using RunBaseBatch for this part of process doesn't make sense?
Could you describe the whole business process that you're trying to implement? Thanks!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 669
André Arnaud de Cal... 445 Super User 2026 Season 1
Syed Haris Shah 331 Super User 2026 Season 1