Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

how to hide calendar icon in date/time type variable

fisfreak
Kilo Contributor

Hi All,

i have a requirement of allowing the user to enter the time in a UI form in HH:MM format. In order to achieve that, we do not have a time variable in service now. so i decided to use the Date / time variable type. But now the issue is , it comes up with the calendar as well, i need to get rid of this calendar icon and keep only the time part.

Is their a way to achieve this in service now ??

find_real_file.png

I just need time part and get rid of the calendar portion. It will be just as show below.

find_real_file.png

Thanks,

Krishna P

1 ACCEPTED SOLUTION

Hi Krishna,



Navigate to System UI --> UI Pages (Click New) then create a new UI Page of Category Service catalogue with HTML code and Script provided


find below snapshot to help you - you can try it to have a preview


find_real_file.png


Please do not forget to mark helpful/answered as appropriate



Thanks,


Abhishek


View solution in original post

9 REPLIES 9

Thanks,   i got it.

If my answer assissted to you, please mark answer correct/helpful depending upon the response.


Hi surya amara,



Your answer with respect to creating a UI page is correct, but main question is not answered yet. if i mark your answer as correct, whole thread will be marked as answered.



Thanks,


Krishna P


Hi Krishna,



Navigate to System UI --> UI Pages (Click New) then create a new UI Page of Category Service catalogue with HTML code and Script provided


find below snapshot to help you - you can try it to have a preview


find_real_file.png


Please do not forget to mark helpful/answered as appropriate



Thanks,


Abhishek


Hello!!

Do you think that this can be done on a catalog Item variable ?