Mqtt string

i passed a string in and it is visible in paper ui now i want to pass mqtt string in the same class and it should be visible in paper ui…how i can do this?

PaperUI is an administration UI that only works with OH 2.x concepts and capabilities. MQTT is a 1.x version binding and therefore PaperUI is unable to do much more than install the binding.

As I answered in your previous post, you need to link your Thing’s Channels to Items and build a .sitemap. Or you can build a display using HABPanel. But in both cases you need to have Items.

how can i link my thing’s channels to .items file…i am new to openhab2.