We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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
Tera 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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

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 Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

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