Hi guys, currently i am going to do some code change for umbraco default preview function. I wanna change the url for the iframe ({domain}/umbraco/preview/?id=1265).
I have do some research and going to use "contentResource" in umbraco preview js files. but seems it cannot get the function.
Any ideas?
FYI, the file which i am editing is /umbraco/js/umbraco.preview.js
it already have item's id, i want to get the url by the item.
Umbraco 8 custom preview mode
Hi guys, currently i am going to do some code change for umbraco default preview function. I wanna change the url for the iframe ({domain}/umbraco/preview/?id=1265). I have do some research and going to use "contentResource" in umbraco preview js files. but seems it cannot get the function.
Any ideas?
FYI, the file which i am editing is /umbraco/js/umbraco.preview.js it already have item's id, i want to get the url by the item.
is working on a reply...