General Question Regarding Prod/Staging Pull/Push

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

General Question Regarding Prod/Staging Pull/Push

Oscar
Hi all, 

I have a general question regarding the Production/Staging environment push and pull for the forms. 

I have already set this up in  our environment, but it seems that only the Form runner Definition is upgraded. My question is, does the Form Builder definition get upgraded as well when you push/pull a form? or will this only push/pull the Form Runner Definition?

Thank you,

Oscar

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/ea637963-140b-4ee7-9ccf-6a1085116955%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Alessandro  Vernet
Administrator
Hi Oscar,

The remote server operations (see link below) only work on published forms.
So if you do a "Push to remote" on a form, you'll find that published form
on the remote, but it won't show in Form Builder on that remote (unless, of
course, it was already there before). Does this make sense?

https://doc.orbeon.com/form-runner/features/home-page#remote-server-operations

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1581635817554-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Oscar
Alex, 

Thank you for your response. I have a followup question.

In our forms, we are using a custom XPL to send the form to another application. However, in that third party application we have both a production and test servers. Is there a way to Update this once the forms are pushed into production? or would the original XPLs located in test need to be updated?

Regards, 

Oscar

On Thursday, February 13, 2020 at 3:16:49 PM UTC-8, Alessandro Vernet wrote:
Hi Oscar,

The remote server operations (see link below) only work on published forms.
So if you do a "Push to remote" on a form, you'll find that published form
on the remote, but it won't show in Form Builder on that remote (unless, of
course, it was already there before). Does this make sense?

<a href="https://doc.orbeon.com/form-runner/features/home-page#remote-server-operations" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdoc.orbeon.com%2Fform-runner%2Ffeatures%2Fhome-page%23remote-server-operations\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFnx65Pv7kRwypWgDldoTkiz0SHig&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fdoc.orbeon.com%2Fform-runner%2Ffeatures%2Fhome-page%23remote-server-operations\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFnx65Pv7kRwypWgDldoTkiz0SHig&#39;;return true;">https://doc.orbeon.com/form-runner/features/home-page#remote-server-operations

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: <a href="http://discuss.orbeon.com/" target="_blank" rel="nofollow" onmousedown="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;" onclick="this.href=&#39;http://www.google.com/url?q\x3dhttp%3A%2F%2Fdiscuss.orbeon.com%2F\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNF5V5zfD-87RVoalaG4cqO_RzdDcA&#39;;return true;">http://discuss.orbeon.com/

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/e3501455-8f69-4000-b39f-6f01f96c398b%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: General Question Regarding Prod/Staging Pull/Push

Alessandro  Vernet
Administrator
Hi Oscar,

So it is a URL in an XPL that you need to be different depending on the
environment. You could define that URL in your own property, in your
`properties-local.xml`, and in your XPL refer to it form XPath with
`p:property()`, which is the same as `xxf:property()`.

https://doc.orbeon.com/xforms/xpath/extension-functions/extension-core#xxf-property

If want to deploy the exact same war file in all environments, you could
also have the `properties-local.xml` defined outside the war, storing just
that file in an "external resource directory". More on this at:

https://doc.orbeon.com/xml-platform/resources/external-resources

You'll let me know if this works for you.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1582154088008-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet