cancel
Showing results for 
Search instead for 
Did you mean: 

diff detween remove context and collapce context

Former Member
0 Kudos

hi to all ,

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

advance thanx to all,

kumar.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos
Former Member
0 Kudos

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

Former Member
0 Kudos

1Context field

2blank field

3context filed

4blank filed

remove means delete the blank field

thanks