Hi,
-- I use Orbeon with MySQL. I'm writing a persistence API implementation. I have observed when i delete a form from builder, the form is already send by : http://X.X.X.X:8080/orbeon/fr/service/persistence/form/app-name ... and data are still present in mysql database. What's wrong ? Thanks Vivien You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
CONTENTS DELETED
The author has deleted this message.
|
Hello,
-- thanks, you right. But i don't understand why the /orbeon/fr/ How to get list of forms without deleted? regards, Vivien Le jeudi 7 avril 2016 17:56:34 UTC+2, bruno.buzzi a écrit : Hi, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Nobody know how to get list of published forms (without deleted) ?
-- Regards, Vivien Le vendredi 8 avril 2016 11:15:48 UTC+2, Katsu Don a écrit :
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Vivien,
Two things about this: 1. In your database, Orbeon Forms has the data for forms you're editing with Form Builder *and* published forms. Publishing in Form Builder creates a published form (obviously), but deleting from Form Builder doesn't delete the published form. For that, you need to go to the Form Runner home page as an admin, and use the unpublish functionality. For more on this, see: http://doc.orbeon.com/form-runner/feature/home-page.html 2. Both for forms you're editing in Form Builder, and published forms, deleting anything doesn't delete rows in the database, but the API doesn't return deleted data. Does this make more sense? Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Thanks Alex. Yes it make more sense. But i have trouble. I modified form-builder-permissions.xml and add : <role name="*" app="*" form="*"/> Now all users can publish and unpublish. But when i unpublish a form, it still appears in the response of : http://{{orbeon-ip}}:8080/orbeon/fr/service/persistence/form/{{fr-app}} i'm sorry but i don't understand why. What's wrong ? Note : I need to finish quickly my poc before buy licences. Le lundi 11 avril 2016 18:24:31 UTC+2, Alessandro Vernet a écrit : Hi Vivien, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
CONTENTS DELETED
The author has deleted this message.
|
Thanks Bruno! During to prepare my answer to you ... i saw : <?xml version="1.0" encoding="utf-8"?> <forms> <form operations="admin *"> <application-name>app</application-name> <form-name>form</form-name> <title xml:lang="en">Title</title> <description xml:lang="en"/> <singleton>false</singleton> <available>false</available> <last-modified-time>2016-04-12T14:42:21.238Z</last-modified-time> </form> </forms> :) Le mardi 12 avril 2016 16:24:42 UTC+2, bruno.buzzi a écrit : Hi, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Vivien,
Yes, it's a bit tricky isn't it? Unpublishing from the Form Runner Home Page, isn't the same as deleting. When a form is "unpublished", it becomes "unavailable". So it's still returned by the search API, as, obviously, the Form Runner Home Page still wants to show "unavailable" forms, so admins can re-publish them to make them available again. Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
When we know it. It is logic. :)
-- Thanks Alex for your help. Le mardi 12 avril 2016 18:35:13 UTC+2, Alessandro Vernet a écrit : Hi Vivien, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Free forum by Nabble | Edit this page |