Item Variant creation

Hello ERPNext community,

First of all, I really appreciate you guys making an awesome open source ERP. I have been using it for a month now and really liked it.

Now, I need a little help in one thing. I have created a doctype in which I have some fileds such as Colour and size same as Item Atrribute Doctype. In this doctype I want to show options of colour options in colour field and similarly for other fields. Now first I tried making this a link field to “Item Atrribute value” Doctype but child table doctypes have hashed names. I have seen how to create a item variant, I want to fetch options like we get while creating a variant. How can I achieve this?

Thanks in advance