Umbraco data type grid2/6/2024 ![]() ![]() Hard to get an overview here, but usually want at least one rough list of where to use what etc. function loadScript() _ model.alias map"?) This means that it is easier to migrate a site’s content. Today Umbraco 8 offers an official content migration path from Umbraco 7.14+. I then added this after the initialize function, but in the same script tags. Document Types, Data Types Grid Editors Media Types The IContentService / IMediaService are still used, although the calls have changed slightly Views are still stored in the /Views folder Upgrade Path. So I removed this line: (window, 'load', initialize)Īnd removed my script reference to: "///maps/api/js?sensor=false&language=en" I got it working! I dug around in the code and the Google Maps API call was actually throwing a JavaScript error " Failed to execute 'write' on 'Document': It isn't possible to write into a document from an asynchronously-loaded external script unless it is explicitly opened."Īfter a bit of digging it seems that we need to call the API a bit differently (References: ) ĭata Type Document Type normally displayed correctly: Oops! Having trouble geocoding Specified address! Please try again. Was mapCanvas = document.getElementById ('map-canvas') Was theLatLng = new Html.Raw (latLng.Lat) Html.Raw (latLng.Lng)) Below you two examples of codes (under "partiel View Macro Files") I've tested, but it is not working when I insert Data Type Document Type as normal. So far I've successfully use Data Type Grid Injector, and therefore has a choice of recalling the macro, which I have named Google Maps. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |