# Getting Custom option inside the Component Properties

**URL:** <https://forum.cloverdx.com/t/getting-custom-option-inside-the-component-properties/1053>\
**Category:** CloverDX Platform\
**Created:** [April 16, 2012, 12:00am UTC](https://forum.cloverdx.com/t/getting-custom-option-inside-the-component-properties/1053 "2012-04-16T00:00:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mgarg](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@mgarg](https://forum.cloverdx.com/u/mgarg)\
**Post date:** [April 16, 2012, 12:00am UTC](https://forum.cloverdx.com/t/getting-custom-option-inside-the-component-properties/1053/1 "2012-04-16T00:00:00Z")

</div>

Hello,

As I am new to CloverEtl, Can anyone help me out in the below decribed problem…

I am referring simpleExamples given by CloverEtl itself. In that example, there is one graph known as “graphApproximativeJoin”.  
Now, in that there is one component known as ‘Approximative Join’. Usually when we edit this component we see following options in properties…  
Basic, Deprecated, Visual, Common.

But in “graphApproximativeJoin”, it includes following options in Approximative join component Properties…  
Basic, Deprecated, Custom, Visual, Common.

How do I get **‘Custom’** option in my approximative Join Component???

Thanks,  
Megha

---

<div class="post-metadata">

**Author:** ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)\
**Post date:** [April 16, 2012, 11:01am UTC](https://forum.cloverdx.com/t/getting-custom-option-inside-the-component-properties/1053/2 "2012-04-16T11:01:14Z")

</div>

Hi Megha,

I don’t understand what you are referring to. Please read documentation here: [http://doc.cloveretl.com/documentation/ … ejoin.html](http://doc.cloveretl.com/documentation/UserGuide/index.jsp?topic=/com.cloveretl.gui.docs/docs/aproxmergejoin.html)

Only reference to “custom” here is:

> CTL scripting allows you to specify custom field mapping using the simple CTL scripting language.

---

<div class="post-metadata">

**Author:** ![mgarg](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@mgarg](https://forum.cloverdx.com/u/mgarg)\
**Post date:** [April 17, 2012, 5:09am UTC](https://forum.cloverdx.com/t/getting-custom-option-inside-the-component-properties/1053/3 "2012-04-17T05:09:05Z")

</div>

Hey Kubosj,

Thanks for your reply. I am referring to the same link you have suggested me.  
Have you seen the simpleExamples provided by CloverEtl itself ?  
If you are going to see that, you are going to find one Graph known as “graphApproximativeJoin”. In that graph, if you are going to double click on the component “Approximative Join”, you will find one extra field in the “Properties Section”, ie. Custom

If you are going to double click on “Approximative JOin” component, then you will be able to see the following:  
Basic  
Deprecated  
Custom → seq\_name: Sequence0  
Visual  
Common

But in my component(ApproximativeJoin), I am not getting Custom option due to which I am not able to put the value of Sequence0.  
I am only getting the following:  
Basic  
Deprecated  
Visual  
Common

Now, Can you tell me how will I get the Custom option extra in my “Approximative Join Component”??

Thanks,  
Megha

---

<div class="post-metadata">

**Author:** ![David\_Hlidek](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@David\_Hlidek](https://forum.cloverdx.com/u/David_Hlidek)\
**Post date:** [April 17, 2012, 3:10pm UTC](https://forum.cloverdx.com/t/getting-custom-option-inside-the-component-properties/1053/4 "2012-04-17T15:10:53Z")

</div>

Hi Megha,

now I see. The trick is like this:

\* to have custom fields on component you must edit source xml and add component attribute like

```auto
seq_name="Sequence0"

```

\* then it appears among properties in Custom section - but itself it is worthless  
\* graph you mentioned uses java transformation which can read all properties of component  
\* it reads “seq\_name” and uses it for getting sequence object

Hope this helps.

---

<div class="post-metadata">

**Author:** ![mgarg](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@mgarg](https://forum.cloverdx.com/u/mgarg)\
**Post date:** [April 18, 2012, 10:23am UTC](https://forum.cloverdx.com/t/getting-custom-option-inside-the-component-properties/1053/5 "2012-04-18T10:23:15Z")

</div>

Hii Kubos,

Thanks for the help. It really worked.

Thanks,  
Megha
