10-05-2016 10:13 AM
Hello
here is my context
For a company I have to make a migration from Alfresco 4.0.2.9 to Alfresco 5.1
In the 4.0.2.9 my co-workers erased some native webscript about Datalist (lists.get.js, uniquelist... , parse-args.lib.js)
I would like to check if the native webscript of datalist in 4.0.2.9 are the same in the 5.1
But I just can't find them ... I would like to understand "how to search"
When it's java class I can go throught the source and just search in my files, I don't understand why It would be different in this case
and by the way, when you have a file to look for, how do you do ? I personnaly have a folder in wich I stock all the sources, but maybe some of you use easier solutions ?
10-05-2016 11:00 AM
thanks for the answers
I was not able to find datalist webscript in alfresco-remote-api but in
alfresco-share-services.jar
still hard to "guess" in wich .jar they are 😕
10-05-2016 10:26 AM
I generally go to http://localhost:8080/alfresco/wcs/index/all and list the webscripts and its details on my Chrome browser. I then utilize the Chromes search feature (Cntrl+f) to search for specific url of webscript or search through description
Next when I find the webscript I am looking for and if it is a Java based webscript, I make sure to add below dependency and its source in my eclipse projects pom file to view those java classes
<dependency>
<groupId>${alfresco.groupId}</groupId>
<artifactId>alfresco-remote-api</artifactId>
<scope>compile</scope>
</dependency>
10-05-2016 10:56 AM
Since Alfresco 5.0 all out-of-the-box ("native") web scripts are no longer contained as exploded files in the WAR. They are now contained in the alfresco-remote-api JAR. If you need to look at the source of these, you can always refer to the GitHub mirror of Community Edition.
10-05-2016 11:00 AM
thanks for the answers
I was not able to find datalist webscript in alfresco-remote-api but in
alfresco-share-services.jar
still hard to "guess" in wich .jar they are 😕
10-05-2016 11:23 AM
Right - in Alfresco 5.1 and above, the webscripts related to Alfresco Share UI support have been extracted into this project to make Alfresco a bit more modular. This is managed in a different GitHub mirror too.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.