{"id":1806,"date":"2020-10-05T06:11:56","date_gmt":"2020-10-05T06:11:56","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/architecture\/app-store-widgets-should-be-unchanged\/"},"modified":"2020-10-30T15:39:28","modified_gmt":"2020-10-30T15:39:28","slug":"architectureappstorewidgetsunchanged","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/architecture\/architectureappstorewidgetsunchanged","title":{"rendered":"App store widgets should be unchanged (preview)"},"content":{"rendered":"\n<p>Introduced in version 2.1 (Released November 3rd)<\/p>\n\n\n\n<p>Widgets downloaded from the App store should not be changed. This so when somebody downloaded a newer version and the current version is overwritten everything will work as expected and no code is lost.<\/p>\n\n\n\n<p>If there is a case to change the widget in the project the way to do this is a copy and rename of the widget.<\/p>\n\n\n\n<p>This rule depends on the proper linking of widgets to the App store widget. Sometimes different widgets have the same widget-name and the project widget might be linked to the wrong App store widget. This can be fixed in the widgets section of ACR.<\/p>\n\n\n\n<p>Sometimes the widget is linked to the wrong version of a widget, for example ACR preserves the linked App store widget version in a new revision, so when in the project the widget is upgraded the link to the App store widget in ACR also needs to be changed.<\/p>\n\n\n<p><!--EndFragment--><\/p>","protected":false},"featured_media":0,"parent":99,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-1806","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1806"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1806"}],"version-history":[{"count":4,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1806\/revisions"}],"predecessor-version":[{"id":1929,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1806\/revisions\/1929"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/99"}],"next":[{"title":"App store widgets should use the latest version (preview)","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/architecture\/architectureappstorewidgetslatestversion","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1845"}],"prev":[{"title":"App store modules should use the latest version (preview)","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/architecture\/architectureappstoremoduleslatestversion","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/1847"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1806"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=1806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}