As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Buenas ,
necesitaría añadir un Iframe dentro de iuna aplicación. Mi idea seria poder pasarle el usuario y password para que cuando cargase el iframe ya estuviese autentificado.
Y lo que ya sería la ostia es que puediese acceder directamente a una carpeta (y en caso de no existir la crease ).
Por donde empiezo???
Gracias
¿Qué te parece Alfresco ADF? Si estás usando Alfresco 201702 o cualquier variante de 5.2 es la mejor aproximación...
Buenas Angel Borroy he empezado pero con errores, cuando procedo a realizar el npm start me da el siguiente error de compilación:
> alfresco-node@0.1.0 server-versions C:\alfresco_node\alfresco-node> rimraf versions.json && npm list --depth=0 --json=true --prod=true > versions.json || exit 0
npm ERR! peer dep missing: @angular/core@~2.0.0, required by ng2-translate@2.5.0npm ERR! peer dep missing: @angular/core@~2.0.0, required by ng2-translate@2.5.0npm ERR! peer dep missing: @angular/http@~2.0.0, required by ng2-translate@2.5.0npm ERR! peer dep missing: @angular/http@~2.0.0, required by ng2-translate@2.5.0npm ERR! peer dep missing: zone.js@^0.6.21, required by @angular/core@2.2.2 70% 3/3 build modules http://0.0.0.0:3000/webpack result is served from /content is served from C:\alfresco_node\alfresco-node404s will fallback to /index.htmlchunk {0} app.js (app) 1.66 MB {2} [rendered]chunk {1} polyfills.js (polyfills) 478 kB [rendered]chunk {2} vendor.js, vendor.css (vendor) 9.11 MB {1} [rendered]chunk {3} 3.chunk.js 1.43 MB {2} [rendered]
ERROR in [default] C:\alfresco_node\alfresco-node\node_modules\@types\three\three-ctmloader.d.ts:6:0Cannot find type definition file for 'three'.
ERROR in [default] C:\alfresco_node\alfresco-node\node_modules\@types\three\three-octree.d.ts:6:0Cannot find type definition file for 'three'.
ERROR in [default] C:\alfresco_node\alfresco-node\node_modules\@types\three\three-vrcontrols.d.ts:6:0Cannot find type definition file for 'three'.
ERROR in [default] C:\alfresco_node\alfresco-node\node_modules\@types\three\three-vrcontrols.d.ts:7:0Cannot find type definition file for 'webvr-api'.
ERROR in [default] C:\alfresco_node\alfresco-node\node_modules\@types\three\three-vreffect.d.ts:6:0Cannot find type definition file for 'three'.
ERROR in [default] C:\alfresco_node\alfresco-node\node_modules\@types\three\three-vreffect.d.ts:7:0Cannot find type definition file for 'webvr-api'.Child html-webpack-plugin for "index.html": chunk {0} index.html 1.87 kB [rendered]Child extract-text-webpack-plugin: chunk {0} extract-text-webpack-plugin-output-filename 3.56 kB [rendered]Child extract-text-webpack-plugin: chunk {0} extract-text-webpack-plugin-output-filename 135 kB [rendered]Child extract-text-webpack-plugin: chunk {0} extract-text-webpack-plugin-output-filename 4.84 kB [rendered]Child extract-text-webpack-plugin: chunk {0} extract-text-webpack-plugin-output-filename 9.23 kB [rendered]Child extract-text-webpack-plugin: chunk {0} extract-text-webpack-plugin-output-filename 38.6 kB [rendered]Child extract-text-webpack-plugin: chunk {0} extract-text-webpack-plugin-output-filename 133 kB [rendered]webpack: Failed to compile.
Un pregunta??
La idea es utilizar el proyecto que me genere el ADF y poder con ello crear el Frame??
Sí, la idea es crear una webapp ADF (que está basada en AngularJS 2) para que puedas integrarla como un iFrame en tu aplicación web.
Prueba a seguir estas instrucciones, igual son más claras: GitHub - Alfresco/generator-ng2-alfresco-app: Yeoman Generator Angular 2 Alfresco Application
Ok ya he podido arrancar con http://localhost:3000
elr error es el de :
CORS exception, check your server configuration
Al loguearme
Ok Angel Borroy ya lo tengo funcionando,
pero disculpa mi ignorancia. Tengo un entorno con con accesos a contenido de alfresco desde http://localhost:3000/
y ahora???
Creo que el camino sera el 1) al menos es lo que más me estoy mirando.
voy paso a paso según Alfresco Angular 2 Components Catalog
PASO 1:
npm install ng2-alfresco-documentlist --save
me genera la estructura de carpetas
Paso 2:
Html
Include these dependencies in your index.html page:
Me descarga una estructura con muchas carpetas,
a mi la que me interesa es la de ng-documentList, pregunta:
por que no me aparece ningún idex.html??(se supone que lo has de crear??)
He de trabajar con toda la estructura de carpetas o puedo arrancar unicamente el paquete ng-documentList???