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.

Issue with Customer Registration Widget

Sathwik1
Tera Guru

I just cloned customer registration widget and added to the page.. no changes did... but css layout got distrubed.. why so? there are no page instance level css.

First Block - Customer Registration (Original Widget)

Second Block - Cloned Customer Registration Widget

Sathwik1_0-1776831563135.png

@Tanushree Maiti @Ankur Bawiskar 

 

6 REPLIES 6

Tanushree Maiti
Kilo Patron

Hi @Sathwik1 

 

Layout issues occur because default Service Portal widgets depend on theme-level CSS or specific styles targeting original sys_id, which are lost when the widget is cloned.

 

Refer this post : you will get more clarity .

https://www.servicenow.com/community/employee-center-forum/widget-styles-missing-after-clone/m-p/244...

 

https://www.servicenow.com/community/employee-center-forum/widget-styles-missing-after-clone/m-p/274....

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi @Tanushree Maiti I checked the article, but not able to understood what I need to update it, because code looks exactly similar.. can you pls once try in your PDI please? that would really helps me to findout my issue.

Hi @Sathwik1 

 

Check the Page's theme CSS-> copied to Widget one .. Refer the post as they have done.

 

When I will get free time, will check.

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Ankur Bawiskar
Tera Patron

@Sathwik1 

I think it's related to how the clone handles the CSS and it's linkage with the widget

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader