3 respostas
I see, and because it's metadata you can't create a lookup to them and can't use that type of functionality.
What you need to do in this case is create an onchange event handler on your text box. This onchange event handler will call a function in your controller class, and send the text inside the text box. Your controller will have to query the metadata to find suggestions containing the name using a SOQL query, and return the results.
Now comes the fun bit: your page or component will have to pick up these results, create a new div positioned right under the text box, and display these suggestions. For each one, you will need an onclick handler to "execute" whatever that suggestion is meant to do - for example, proceed to that particular topic.