Questions tagged [web-scripting]

97 questions
0
votes
2 answers

Call js webscript from Java webscript in Alfresco

I have a problem. I need execute js webscript from Java webscript. I know, how do it: req.getRuntime().getContainer().getRegistry().getWebScript("com/home/testJs/testJs.get").execute(req, res) , but how to construct the new WebScriptRequest…
VladislavLysov
  • 651
  • 1
  • 11
  • 25
-1
votes
2 answers

How to use Web Script in Alfresco as a developer?

I am new to Alfresco and using Alfresco 5.2. I started learning it as an ECM and now I can understand the Share interface to some extent. But I need to master Alfresco as a developer, for which I have to nail Web Script. But I am not sure how to…
-1
votes
4 answers

how can i delete the log files every day automatically?

I have a problem with Alfresco. It genarates the log file every day. i want to delete the log file automatically based on date. My server is installed in windows. can you provide any suggestions on this one.
krishna
  • 97
  • 2
  • 4
  • 6
-1
votes
2 answers

Alfresco webscript to get the list of all files and folder with their size

Need a js based alfresco webscript to get the list of all folders and files recursively alond with their size.
-1
votes
2 answers

read all document by using particular category name using alfresco search.luceneSearch or search.lib.js

Category Name | Geograpy (8) Study Db (18) i am implement my own advance search in alfresco. i need to read all files which related with particular category. example: if there is 20 file under geograpy, lucene query should read particular…
HWJ
  • 87
  • 2
  • 9
-2
votes
1 answer

Prevent default action with a programatically dispatched event

In this talk at 32:50 the speaker shows this code: const nextClick = new Promise(resolve => { link.addEventListener('click', resolve, { once: true }); }); nextClick.then(event => { event.preventDefault(); // Handle event }); He…
ByteEater
  • 885
  • 4
  • 13
-2
votes
1 answer

How do I fill in and submit a form on another website with axios?

I was making a shoe raffle bot with Node.js and was originally using headless Puppeteer to automate the process of filling out the raffle form and submitting it. I was told that Puppeteer is very CPU-intensive and was slower than the request modules…
1 2 3 4 5 6
7