show help text on hover in portal

Venkat122
Kilo Guru

Hi All,

Presently if we define help text for variable it is coming under variable in portal, but now i want to display onhover on a variable. when i look at the code

        <sp-cat-item item="::data.sc_cat_item" />

has been used to render variables. But, where this code was defined. i can't find it any where in dependencies or providers or templates.

Please help me to achieve this.

laurentchicoinelarstange

Thanks and regards

Swamy

5 REPLIES 5

Inactive_Us1474
Giga Guru

Have you checked the server side script?


Hi Akhil,



Yes, i have checked. But i can't find any info about <sp-cat-item> directive



Regards


Swamy


LaurentChicoine
Tera Guru

Hi Giri, of my knowledge this is not editable, you could probably be able to achieve this with the client controller javascript however I would not recommend it.



Are you aware of the new placeholder (example text) feature coming up in Jakarta (personnaly I prefer placeholder over hovering)? Service Catalog release notes


Hi Laurent,



Thanks for your reply. Could please share me a sample code to do it in client controller?



Regards


Swamy