What process should I use to copy and rename an existing widget?

1680
4
02-15-2017 10:06 AM
MikeD_Attilio2
New Contributor

I'd like to modify an existing widget (for example NearMe or Incident Analysis) and end up with my version and the original available to use in apps.

What is the best process for this?

Aside from changing names in the user interface for the widget what else would need to change?

0 Kudos
4 Replies
RobertScheitlin__GISP
MVP Emeritus

Mike,

   You would have to search the html, js code and css for the widgets name and re-name those incidences.

0 Kudos
MikeD_Attilio2
New Contributor

Thanks Robert.

That seems pretty straightforward.

grep here I come!

-Mike

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Also do not forget the manifest.json file.

0 Kudos
MikeD_Attilio2
New Contributor

Right.

0 Kudos