Hello Liu,
May be please try to refer the old post below.
Hope this helps in getting some idea to achieve what you are looking for.
Cheers, Deep