Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
Generic exportation only export 11 entries from original table
Hi.
I´m triing to use generic exportation to export some data from a table to another table. When I press the button to do the exportation it only export 11 entries of the original table. Is there a limitation with this pattern or am I doing something wrong?
Thank you for your attention
Best Regards
You are using a limited version of Genio. New versions no longer have this limitation.
If you want to change this setting follow the steps below, but at your own risk.
LIMITATION CHANGE (Generic export)
The generic Export / Load pattern is limited to copying 11 records per routine call. To change to an unlimited number of records copy (-1) you have to change the template CSArea.cs.vm in Genio.
If you want to remove this limitation follow the steps described below:
The CSArea.cs.vm file is in the folder where Genio was installed, in the Templates\CsTemplates subfolder. (see example image above)
Save the CSArea.cs.vm file in another location for security reasons.
Open the CSArea.cs.vm file with a text editor, type NOTEPAD ++, DO NOT use editors type WORD or similar, which allow you to put italics, bold, etc.
Search within the CSArea.cs.vm file for
int numberOfRecords = 0;
and change to
int numberOfRecords = -1;
So change the value from 0 to -1 in the numberOfRecords variable.
ATTENTION There must be two cases to change.
After this change, save the file and generate the code again with Genio.
The code generated from this change will no longer be limited to 11 records.
Keep Informed
About the Community
Question tools
Stats
Asked: 7/20/20, 5:11 PM |
Seen: 1480 times |
Last updated: 8/22/20, 3:39 PM |