Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
SemanticError: The copy operation on the column is forbidden
Tr1aL
Hello, I need help!
(BIRT version 2.3.0)
This is a part of my script:
ReportDesignHandle report = (ReportDesignHandle) session.openDesign(sco.getRealPath("/html/reports") +"/"+ reportName);
TableHandle table = (TableHandle)report.getElementByID(4);
SlotHandle columns = table.getColumns();
ColumnBandData column = table.copyColumn(1);
table.insertAndPasteColumn(column, 1);
Table with ID=4 is exist, also in "SlotHandle columns" I have two column. But when I execute table.copyColumn(1); I have Error:
org.eclipse.birt.report.model.api.elements.SemanticError: The copy operation on the column "1" of the element "{1}" is forbidden.
at org.eclipse.birt.report.model.api.ColumnBandCopyAction.copyColumnBand(ColumnBandCopyAction.java:74)
at org.eclipse.birt.report.model.api.TableHandle.copyColumn(TableHandle.java:339)
Also table.canCopyColumn(1); return me false
What I can do to fix this problem? Maybe I must add any property?
Please help me.
Find more posts tagged with
Comments
Tr1aL
This problem it is very actual for me.
There are any variants of the decision?
Maybe I have placed it not in that forum?
Tr1aL
The problem is solved.
Close this, please.