Hi Nivedita,
Could you please provide more clarifications to the method you have given. as in at what point of time, i need to write the above piece of code. also, could you give more details about primary attribute. It is the name of UI Configuration? please let me know.
Thanks,
Sapna