Alfresco Rest API to download folder - alfresco

I have 3 folders and 1 html file inside a folder sample in alfresco. Is their any API to download the folder sample and its content. I am not able to find anything in google surf.
Any help is appreciated. Thanks in advance.

The preferred API for working with Alfresco to upload/download content to/from folders is CMIS (see http://chemistry.apache.org to download CMIS client libraries for various languages). If you are managing content in Alfresco and are publishing it to a web server as part of a WCM content publishing process, you might look at the File Transfer Service (see http://docs.alfresco.com/4.0/topic/com.alfresco.enterprise.doc/concepts/FSTR-intro.html).

Related

List Alfresco folders and documents in BonitaSoft

I'm working with version 7.6.3 of BonitSoft and intend to integrate with Alfresco version 5.2, and checked that the cmis List a folder connector no longer exists. How can I inject this list into a widget?
The Alfresco connector provided out-of-the-box in v5 won't be able to list the content of an Alfresco repo. They can only access Alfresco resources using their full path.
You would need to develop a custom connector to do so.
Please refer these questions for more information.
Bonita BPM list files and move folders in Alfresco
https://documentation.bonitasoft.com/6.x-7.2/creating-connector
Bonita integration with Alfresco

How to embed only Alfresco Repository in individual project

Already have implemented Alfresco CMIS to create, delete and modify files connecting to the Alfresco Community (server), but we need to include/embed the Alfresco Repository to our project, we DON'T need the share interface or REST API, only the repository.
Is is possible or there is other alternatives?
If you don't want Share, just don't deploy the Share war file. It's not necessary to run the core webapp.
Not including the rest API would be more difficult. I believe it would be possible to just include the core services, but it may be more trouble than it's worth. Why would you want to exclude the Rest API?
If you are dead set on stripping down the product, I would recommend disabling context files and commenting servlets out of the web.xml until you get a more "lightweight" version of the product.

ASP.NET MVC 5 plugin framework

In my company we have to develop a ASP.NET MVC 5 web application which must have a number of plugins.
We want these plugins to have the following features.
Each plugin can be deployed in a separate folder; No need to copy plugin assembly to bin folder, the plugin files keep same structure as an ordinary website;
Dynamically install/uninstall plugin after website gets running;
Plugins share same master/layout;
I have found an article that describes a similar solution, but it depends on plugin framework which is based on OSGi.NET which is not open source.
Is there a plugin framework that has the above features?
Yes. MEF is very good.
This is example of how to build MVC website with plugins architecture:
http://www.fidelitydesign.net/?p=104
http://www.fidelitydesign.net/?p=130
I had the same task few weeks ago and now I have working solution, so ask, if you have more questions.
UPD
In my case I want users to be able to add extensions to the app without any dependencies or configuration files. All you need to do is copy extension's folder into the main project's extensions folder. Each extension might contain dlls, views (in separate views folder), content (styles, images etc). Moreover, each extension might have one or more db types support and this can be configured with just copying of files too. Also, my app contains some backend, and this backend should be extensible with the extensions too. So every extension have to tell the main application what it can offer for the frontend and for the backend.
I have spent a lot of time for this, but now it works very good.

How can use Box.API with Asp.Net web service?

I have used asp.net(c#) web service for my project. I am calling save file function from front end adobe flex environment. My files are exists on web service folder.
My web application is an intranet application and currently used google docs api for uploading and retriving files for the project.
Now i want to use service of box.com and using box.com api, i want to upload and download the files.
Question: In google docs api, i have generated authorization code using login credential that will help to create token and using this token help me to upload files , download files and create/update/Delete folders.
How can i will do same for the box.com api ?
How can i will authorized and create token in my web services ?
Have you taken a look at:
https://github.com/box/box-windows-sdk-v2
The SDK supports .NET version 4.0 and up. For ease of installation, try pulling the package from nuget.org:
http://www.nuget.org/packages/Box.V2/
Examples are available in the readme as well as in the Box.V2.Samples solution folder
HTH

Edit Excel files in asp.net

We have some document on the server and want to edit thru asp.net application. So a client can login into his account as related excel file will be hosted on a page of asp.net page.
Does anyone know how to edit server document (excel file) in asp.net from the client side.
If you want to edit the Excel file in your code, in the ASP.NET application, then you may try Aspose.Cells for .NET. This is an API which provides quite flexibility to manipulate Excel files without the need for Microsoft Office to be installed on the server. However, it can only work in the full trust environment, but not a shared hosting environment. Please see if this might help in your scenario. For further details, you may consult the Aspose.Cells for .NET documentation.
Disclosure: I work as developer evangelist at Aspose.

Resources