on 05-24-2007 4:35 AM
Hi
I know the use of remove context node function. Even I have gone through couple of weblogs that are available on the sdn. But I would like to know.........whether remove context node function is mandatory in any case ?? I believe even we can directly map the source and target fields which are in different contexts. If it is the case ......if we can do it without remove context node function.......what is the importance of remove context node function ?? Is there any performance issue ......to use this node function ??
thanks
kumar
hey
there are few standard functions who work on single level,like Sum,average etc.
now suppose u want to sum values which are at different levels,then u have to remove context to bring all of them to same level and then use these functions.
its just one example,u have numerous other uses of it
thanx
ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi palnati
<i>if we can do it without remove context node</i>
---> Yes you can avoid remove context. This can be done by changing the context of source field to one parent above. This will collect all the source values in same context.
for example, consider following mapping
Amount -
> (removeContext)--
> target field
will be same as
Amount(change context to parent of parent)--
Hope this helps.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI palanati,
When u want to collect all the particular nodes under root in a target irrespective of their different roots in the source,U use remove context.
Regards,
AshwinM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
use removeContext() to delete the parent context of an
element
compare to function Explicit Context Selection
SplitByValue() is the counterpart to removeContexts()
Use removeContext() to delete all the higher contexts for an element. This deletes all
higher hierarchy levels, so that all elements of the target queue are assigned to a root
element of the source queue.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.