Hi, I have facing a problem when deploying images and pages to the Livesite runtime .If the images or pages are alredy there on the runtime , it is showing error and deployment is getting failed .My LS version is 3.0.2.TS version is 6.7.1opendeploy version is 6.1.1Please help me out.Thanks,Himanshu
Let's see we submit a dcr(.xml) file, can the system attach all the dependencies when we use PLC workflow.It seems it woks for those .page but not dcr file(.xml). Or is there any configuration i can do some settings?
Thanks for your guide.Yes if i set EAs for some particular fields(image e.t.) in xml, then the assets will be attached.Now the question is:if there is a textarea in my xml file, is there any method i can get all assets used in this textarea and set EAs for them?
Using regex should be the easy way to pick up these kind of assets. something likeString searchImgReg = "(?x)(src|SRC|background|BACKGROUND)=('|\")(/assets/([\\w-]+)+[\\w-]+(:[0-9]+)*(/[\\w-]+)*(/[\\s()\\w-]+\\.(jpg|JPG|png|PNG|gif|GIF)))('|\")";
String searchImgReg = "(?ix)(src|background)=('|\")(/assets/([\\w-]+)+[\\w-]+(:[0-9]+)*(/[\\w-]+)*(/[\\s()\\w-]+\\.(jpg|png|gif)))('|\")";