Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Lab 3.4.1 Clone an existing widget

ArjayC
Tera Contributor

Hi team,

I'm working on Lab 3.4.1 and have run into an issue. Here's a summary:

  • Goal: Clone the "Approvals" widget to a new widget called "Approval CD".

  • Action: I successfully cloned the widget and commented out the required code as per the lab instructions.

  • Problem: When I try to drag the new "Approval CD" widget onto the page container in the designer, it doesn't appear. The original "Approvals" widget is still visible and works fine.

  • Troubleshooting: I've checked for any error indicators (like a red exclamation mark) but haven't found any.

What are the next steps I should take to figure out why the widget isn't showing up?

1 ACCEPTED SOLUTION

Nawal Singh
Tera Guru

Hi @ArjayC ,

 

I tested the same in my PDI by cloning the out-of-box (OOB) widget 'Approvals,' renaming it with the ID 'approvals_nksm,' and then adding it to the pages. It's working fine

 

Widget screenshot- 

 

NawalSingh_0-1759770420081.png

 

 and added into the page (output) screenshot

 

NawalSingh_1-1759770484115.png

 

 please check below points-

 

1.  I have not changed anything just using OOB features

2. Provides proper widget ID

3. open page in new tab (refresh) and try to add the widget

4. verify the widget scope (Global)

5. Once it visible in page then modify as per your requirements

 

If you found my response helpful, please mark it as helpful and accept it as the solution.

Thank you
Nawal Singh

View solution in original post

6 REPLIES 6

Hi @ArjayC ,

 

I'm glad to hear that your issue has been resolved.

 

 

What about the cross scope issues? @ArjayC