Alfresco

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Alfresco

Duarte Oliveira
Hello All!

I'm an Orbeon newbie and i have some questions:

1 - I need to archive the form data on Alfresco. What is the best way to this ? Create an XML Processor (XPL) or sumbit the form to a Servlet ?

2 - There are any tutorial/sample explaining how to archive forms to Alfresco ?

Thanks in advance,

Duarte Oliveira


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Alfresco

Erik Bruchez
Administrator
Duarte,

Check this post:

   http://www.nabble.com/Re%3A--Integrating-with-Alfresco-ECM-p17749835.html

That solution uses XForms to call Alfresco web services.

This is being slightly improved and integrated into Form Runner at the  
moment.

-Erik

On Dec 4, 2008, at 7:59 PM, Duarte Oliveira wrote:

> Hello All!
>
> I'm an Orbeon newbie and i have some questions:
>
> 1 - I need to archive the form data on Alfresco. What is the best  
> way to this ? Create an XML Processor (XPL) or sumbit the form to a  
> Servlet ?
>
> 2 - There are any tutorial/sample explaining how to archive forms to  
> Alfresco ?
>
> Thanks in advance,
>
> Duarte Oliveira
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Alfresco

Duarte Oliveira
Hello Erik,

Thanks.

I understood the code, but i don't know how to pass  model instance to Alfresco content service on you code How do i "get" the model instance and i how do i convert to byte[] to include to content byte[] field ?

Thanks in advance.

On Thu, Dec 4, 2008 at 9:40 PM, Erik Bruchez <[hidden email]> wrote:
Duarte,

Check this post:

 http://www.nabble.com/Re%3A--Integrating-with-Alfresco-ECM-p17749835.html

That solution uses XForms to call Alfresco web services.

This is being slightly improved and integrated into Form Runner at the moment.

-Erik


On Dec 4, 2008, at 7:59 PM, Duarte Oliveira wrote:

Hello All!

I'm an Orbeon newbie and i have some questions:

1 - I need to archive the form data on Alfresco. What is the best way to this ? Create an XML Processor (XPL) or sumbit the form to a Servlet ?

2 - There are any tutorial/sample explaining how to archive forms to Alfresco ?

Thanks in advance,

Duarte Oliveira

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Alfresco

Hoi Chong
In reply to this post by Duarte Oliveira
Hi,
This is one way you can do it...

1) Each form submission by users, write out a PDF copy of it.
2) Make sure to write that PDF copy into the Alfresco Drop-Box or Inbox
3) Configure some Space rules to pick up these PDF files and process/move them to the right spaces within Alfresco

This is one usage scenario that I can think of in terms of archiving the form data into Alfresco.
Perhaps this is good enough for you.

Cheers.


Duarte Oliveira wrote
Hello All!

I'm an Orbeon newbie and i have some questions:

1 - I need to archive the form data on Alfresco. What is the best way to
this ? Create an XML Processor (XPL) or sumbit the form to a Servlet ?

2 - There are any tutorial/sample explaining how to archive forms to
Alfresco ?

Thanks in advance,

Duarte Oliveira


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Alfresco

Erik Bruchez
Administrator
In reply to this post by Duarte Oliveira
Duarte,

With that code, you have to Base64-encode the data and store it into  
the <content/> element. The current code in Form Runner (see the CVS  
or source zip) does something like this:

<xforms:setvalue ref="xxforms:instance('alfresco-send-document-
request')/content"
     value="saxon:string-to-
base64Binary(saxon:serialize(xxforms:instance('fr-form-instance'),  
'xml'), 'UTF-8')"/>

-Erik

On Dec 5, 2008, at 1:04 PM, Duarte Oliveira wrote:

> Hello Erik,
>
> Thanks.
>
> I understood the code, but i don't know how to pass  model instance  
> to Alfresco content service on you code How do i "get" the model  
> instance and i how do i convert to byte[] to include to content  
> byte[] field ?
>
> Thanks in advance.
>
> On Thu, Dec 4, 2008 at 9:40 PM, Erik Bruchez <[hidden email]>  
> wrote:
> Duarte,
>
> Check this post:
>
>  http://www.nabble.com/Re%3A--Integrating-with-Alfresco-ECM-p17749835.html
>
> That solution uses XForms to call Alfresco web services.
>
> This is being slightly improved and integrated into Form Runner at  
> the moment.
>
> -Erik
>
>
> On Dec 4, 2008, at 7:59 PM, Duarte Oliveira wrote:
>
> Hello All!
>
> I'm an Orbeon newbie and i have some questions:
>
> 1 - I need to archive the form data on Alfresco. What is the best  
> way to this ? Create an XML Processor (XPL) or sumbit the form to a  
> Servlet ?
>
> 2 - There are any tutorial/sample explaining how to archive forms to  
> Alfresco ?
>
> Thanks in advance,
>
> Duarte Oliveira
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: Alfresco

m.nawras
In reply to this post by Erik Bruchez
Dear Erik,

Can you please explain how I can use it step by step? I try to use this code
but I can't use it.... where can I use this code? Please can you help me?


- Nawras
 


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: Thursday, December 04, 2008 11:40 PM
To: [hidden email]
Subject: [ops-users] Re: Alfresco

Duarte,

Check this post:

   http://www.nabble.com/Re%3A--Integrating-with-Alfresco-ECM-p17749835.html

That solution uses XForms to call Alfresco web services.

This is being slightly improved and integrated into Form Runner at the  
moment.

-Erik

On Dec 4, 2008, at 7:59 PM, Duarte Oliveira wrote:

> Hello All!
>
> I'm an Orbeon newbie and i have some questions:
>
> 1 - I need to archive the form data on Alfresco. What is the best  
> way to this ? Create an XML Processor (XPL) or sumbit the form to a  
> Servlet ?
>
> 2 - There are any tutorial/sample explaining how to archive forms to  
> Alfresco ?
>
> Thanks in advance,
>
> Duarte Oliveira
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: RE: Re: Alfresco

m.nawras
Dear Erik,
Can you please explain how I can use it step by step? Where I can put this
code to work correctly?!! I try to use this code but I can't use it....
where can I use this code? Please can you help me?

- Nawras
-----Original Message-----
From: Mohammad [mailto:[hidden email]]
Sent: Tuesday, December 30, 2008 4:48 PM
To: [hidden email]
Subject: [ops-users] RE: Re: Alfresco

Dear Erik,

Can you please explain how I can use it step by step? I try to use this code
but I can't use it.... where can I use this code? Please can you help me?


- Nawras
 


-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: Thursday, December 04, 2008 11:40 PM
To: [hidden email]
Subject: [ops-users] Re: Alfresco

Duarte,

Check this post:

   http://www.nabble.com/Re%3A--Integrating-with-Alfresco-ECM-p17749835.html

That solution uses XForms to call Alfresco web services.

This is being slightly improved and integrated into Form Runner at the  
moment.

-Erik

On Dec 4, 2008, at 7:59 PM, Duarte Oliveira wrote:

> Hello All!
>
> I'm an Orbeon newbie and i have some questions:
>
> 1 - I need to archive the form data on Alfresco. What is the best  
> way to this ? Create an XML Processor (XPL) or sumbit the form to a  
> Servlet ?
>
> 2 - There are any tutorial/sample explaining how to archive forms to  
> Alfresco ?
>
> Thanks in advance,
>
> Duarte Oliveira
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: RE: Re: Alfresco

Erik Bruchez
Administrator
Nawras,

I won't have time to provide extensive documentation right now. But to  
get started, I would recommend checking, in a recent nightly build:

* RESOURCES/apps/fr/alfresco/alfresco-model.xml (latest version of the  
model)
* RESOURCES/apps/fr/includes/persistence-model.xml (uses fr-alfresco-
model)

Now that version is designed to work within Form Runner, and has a  
dependency on an instance called parameters-instance containing an  
application name and a form name. This is used to retrieve  
configuration properties. You may want to adapt this.

-Erik

On Dec 30, 2008, at 11:02 PM, Mohammad wrote:

> Dear Erik,
> Can you please explain how I can use it step by step? Where I can  
> put this
> code to work correctly?!! I try to use this code but I can't use  
> it....
> where can I use this code? Please can you help me?
>
> - Nawras
> -----Original Message-----
> From: Mohammad [mailto:[hidden email]]
> Sent: Tuesday, December 30, 2008 4:48 PM
> To: [hidden email]
> Subject: [ops-users] RE: Re: Alfresco
>
> Dear Erik,
>
> Can you please explain how I can use it step by step? I try to use  
> this code
> but I can't use it.... where can I use this code? Please can you  
> help me?
>
>
> - Nawras
>
>
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]]
> Sent: Thursday, December 04, 2008 11:40 PM
> To: [hidden email]
> Subject: [ops-users] Re: Alfresco
>
> Duarte,
>
> Check this post:
>
>   http://www.nabble.com/Re%3A--Integrating-with-Alfresco-ECM-p17749835.html
>
> That solution uses XForms to call Alfresco web services.
>
> This is being slightly improved and integrated into Form Runner at the
> moment.
>
> -Erik
>
> On Dec 4, 2008, at 7:59 PM, Duarte Oliveira wrote:
>
>> Hello All!
>>
>> I'm an Orbeon newbie and i have some questions:
>>
>> 1 - I need to archive the form data on Alfresco. What is the best
>> way to this ? Create an XML Processor (XPL) or sumbit the form to a
>> Servlet ?
>>
>> 2 - There are any tutorial/sample explaining how to archive forms to
>> Alfresco ?
>>
>> Thanks in advance,
>>
>> Duarte Oliveira
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: RE: RE: Re: Alfresco

GIS-4
Hi Erik,
Can you explain step by step how I can send forms to alfresco ECM?
I have (orbeon-3.7.0beta1+.200901060316) Night Builder version
Please can you help me...

Rabah.
-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: Wednesday, January 07, 2009 6:13 AM
To: [hidden email]
Subject: [ops-users] Re: RE: RE: Re: Alfresco

Nawras,

I won't have time to provide extensive documentation right now. But to  
get started, I would recommend checking, in a recent nightly build:

* RESOURCES/apps/fr/alfresco/alfresco-model.xml (latest version of the  
model)
* RESOURCES/apps/fr/includes/persistence-model.xml (uses fr-alfresco-
model)

Now that version is designed to work within Form Runner, and has a  
dependency on an instance called parameters-instance containing an  
application name and a form name. This is used to retrieve  
configuration properties. You may want to adapt this.

-Erik

On Dec 30, 2008, at 11:02 PM, Mohammad wrote:

> Dear Erik,
> Can you please explain how I can use it step by step? Where I can  
> put this
> code to work correctly?!! I try to use this code but I can't use  
> it....
> where can I use this code? Please can you help me?
>
> - Nawras
> -----Original Message-----
> From: Mohammad [mailto:[hidden email]]
> Sent: Tuesday, December 30, 2008 4:48 PM
> To: [hidden email]
> Subject: [ops-users] RE: Re: Alfresco
>
> Dear Erik,
>
> Can you please explain how I can use it step by step? I try to use  
> this code
> but I can't use it.... where can I use this code? Please can you  
> help me?
>
>
> - Nawras
>
>
>
> -----Original Message-----
> From: Erik Bruchez [mailto:[hidden email]]
> Sent: Thursday, December 04, 2008 11:40 PM
> To: [hidden email]
> Subject: [ops-users] Re: Alfresco
>
> Duarte,
>
> Check this post:
>
>
http://www.nabble.com/Re%3A--Integrating-with-Alfresco-ECM-p17749835.html

>
> That solution uses XForms to call Alfresco web services.
>
> This is being slightly improved and integrated into Form Runner at the
> moment.
>
> -Erik
>
> On Dec 4, 2008, at 7:59 PM, Duarte Oliveira wrote:
>
>> Hello All!
>>
>> I'm an Orbeon newbie and i have some questions:
>>
>> 1 - I need to archive the form data on Alfresco. What is the best
>> way to this ? Create an XML Processor (XPL) or sumbit the form to a
>> Servlet ?
>>
>> 2 - There are any tutorial/sample explaining how to archive forms to
>> Alfresco ?
>>
>> Thanks in advance,
>>
>> Duarte Oliveira
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws