Skip to Content
author's profile photo Former Member
Former Member

diff detween remove context and collapce context

hi to all ,

can u kindly tell me diffrence between remove context and collapse context.

advance thanx to all,

kumar.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 15, 2008 at 06:15 AM

    hi

    if you create duplicate subtree for

    example :

    emp1 -context

    -


    -context

    emp2 - context

    -


    - context

    emp3- context

    in these duplicate subtree

    these are the context

    and Remove context means deleting the blank context

    and collapce context means close the context

    for example

    emp1

    emp2

    emp3

    means

    only emp1 it will close the two context

    thanks I hope u problem will solve

    Regards

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 15, 2008 at 06:18 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2008 at 06:11 PM

    collapseContexts()copies the first value from all contexts to one context. Empty contexts are replaced with an empty string.

    You can use removeContext() to delete all the top contexts for an element. This deletes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue.

    Excellent blog

    /people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii

    Reward points and close the thread if it helps

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Remove Contexts are nothing but removes all higher level contexts of a source filed.In this way, you can delete all hierarchy levels and generate a list.

      Collapse Contexts: are nothing but Delete the all values from all contexts from the inbound queue except for the first value.Empty contexts(=ResultList.SUPPRESS) are replaced by empty strings.Only one queue remains, which consists of contexts that contain just one value each. finally all internal contexts changes are deleted, so that all values belongs to one and the same context.

      Thanks,

      Vijaya.

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2008 at 07:27 PM

    Hi,

    Collapse context : It removes the supress and empty values that are in the same context.

    Remove Context : It producess plain stream of values. It removes all level contexts.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.