ContributionsMost RecentMost LikesSolutionsRe: Wait And Sleep in Freemarker Thanks Peter! It is for an endpoint on khoros. We initiate an ajax call to an endpoint via a js file. Inside the endpoint, we make api call to S3. On failure, we retry the call. Knowing that it could be due to a server error, we prefer to space them every x seconds. You are right. We can use lambda function for that instead. It is an option I haven't explored yet. Thanks Wait And Sleep in Freemarker Hi Is there a function wait/sleep/setTimeOut in Freemarker that we can use before executing anything? I made a search in Freemarker site, Google, Stackoverflow and I don't see anything. SolvedRe: How to read XML file content? Hi MattV Thanks a lot for clarifying this matter. You mentioned that it is possible to it via http.client request. How would you do it? Do you have an example we can apply? Thanks Re: How can we get all parameters in the request? Hi satya I am looking for the same method. Did you find a solution Re: TinyMCE - Add text in the editor Thanks for getting back to me. Yes, It is what I did. If it worked for you then the issue may come from something else... Re: TinyMCE - Add text in the editor Thank you guys for your help -) sorry for the delay. lukI tried this method and I did not see any change. When I test the code in the console, I get this log: Dispatcher {fire: ƒ, on: ƒ, off: ƒ, once: ƒ, has: ƒ} and there is no result on the screen. TariqHussainI used windows.load() then settimeout waiting for 10s, I did not see any change. TinyMCE - Add text in the editor Hi I tried to add some content in the text editor. It works, when I use the code below in the console, however when I use it in the component, it seems that the code is not executed. tinymce.activeEditor.execCommand('mceInsertContent', false, " <p id='123'>bolded text</p> "); $(tinymce.activeEditor.getBody()).one('click', function() { $(tinymce.activeEditor.getBody()).find('p').empty(); }); Is there a sort of initialization or wrapper that I need to add?