Skip to Content

UDF TO Supress the node

Can somebody send the UDF to Supress the Node

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    Sep 18, 2007 at 12:43 PM

    Add this statement in ur code

    result.addSuppress();

    See this

    /people/stefan.grube/blog/2006/01/09/the-use-of-suppress-in-the-xi-30-graphical-mapping-tool

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2007 at 12:45 PM

    Hi,

    You can use UDF of type queue with below piece of code...

    for(int i=0;i<condition;i++)

    {

    if(XXX<i>.equalsIgnoreCase(" ")){

    result.addValue("1");

    }else {

    result.addValue(ResultList.SUPPRESS);

    }

    Cheers,

    Prasanthi.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 18, 2007 at 12:41 PM

    result.addSuppress();

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 19, 2007 at 11:35 AM

    Hi,

    Just attach the <b>UDF without code</b> between source & target element.

    but occurance of target element should be 0..1 or 0..unbounded

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 19, 2007 at 01:15 PM

    Hi,

    Add statement result.addSuppress() in your code. However, the UDF should be of type Context or Queue for this, which comes under advanced User Defined Functions.

    Bhavish

    Add comment
    10|10000 characters needed characters exceeded