Greetings,
I think you need to hold ALT and left-click the item you want to link. If you right click it (unless it's in the bazaar search window) it will vanish when you release the right mouse button.
Once the item's description window is on your screen, left click the item graphic in it to put the link on your chat line.
Hope this helps!