Home Analytics Designing reports
The community of Analytics developers are invited to follow and participate in the developer network.
OpenText technical experts collaborate with supported customers and partners in the Magellan product area.

How to Highlight the Target BookMark in Birt

Hi , I am using Birt (Engine Api) To create Report.
I have a table with a Cell which Contains link that will Navigate to another Table Cell just like Hyperlink .I can able to Navigate but i want to Highlight the Target BookMark (table Cell ) i have used the code Below

`

    CellHandle cell = bookMarks.getValue();
    cell .setBookmark("\"" + object.hashCode()  + "\"");// Target Cell  in table2
    LabelHandle label = targetBookMarkKV.getValue();// link Label in table1 
    Action ac = StructureFactory.createAction();
    ActionHandle actionHandle = label.setAction(ac);
    /**
     * setting hyperlink as bookmarklink
     */
    actionHandle.setLinkType(DesignChoiceConstants.ACTION_LINK_TYPE_BOOKMARK_LINK);
    //actionHandle.setReportName("new_report_1.rptdesign");
    actionHandle.setTargetFileType("report-document");
    /**
     * setting target book mark link
     */
    actionHandle.setTargetBookmark( "\"" + object.hashCode()  + "\"" );

`

Can anyone help me with a Code

Sign In or Register to comment.