How to redirect to an other form after submiting in Bonita BPM - business-process-management

Im working with bonita soft and i want know how to redirect to another form after sumiting the first form, what i have do write as a link on the submit button instead of the default /bonita
SreenShot in the UI designer

A button with the action configured to "Start process" as a property Target URL on success. This define the URL to load if the call to the Bonita Engine REST API to instantiate the process is successful (i.e. return HTTP code 200).
Important: this configuration will only be used if:
the button is part of a page (as opposite to a form)
if the instantiation form is loaded outside Bonita Portal (e.g. URL likes http://localhost:8080/bonita/portal/resource/process/MyProccessName/3.1.0/content/?id=7456900044110166462&locale=en&mode=app). This is the way an instantiation form is loaded when you click on the "run" button of Bonita Studio.
If the instantiation form is open from Bonita Portal "processes" menu and a click on the ▶ button this settings will be ignored. Submitting the form will get you back to the process definitions list.
The default value of Target URL on success property is "/bonita" meaning that after a user click on the button he will be redirected to the Bonita Portal main page (i.e. the task list).
If you want to redirect the user to another page you can use any valid URL to define the value of the Target URL on success property. Note that you can only use a static (constant) value for this property.
When the user submit the instantiation form from the Bonita Portal, the redirection to the process definitions list is hard coded in Bonita and cannot be changed as long as you are using the standard button widget.
So if you want to customize this behavior my recommendation would be to create a custom widget that will perform the REST API call to instantiate the process and update the parent frame location to the appropriate URL.

Related

Orbeon Forms - link button

I'm new to this Orbeon forms development.
I want to know how to load or open a PDF on web browser when a link button is clicked.
I have already created a web service to load the PDF, I want to call that web service and open the PDF in a new tab of the web browser when the link button is clicked.
The Link Button in Form Builder is more like a Button than a Link: it is intended to be used to run an HTTP or database service, for instance sending the value of some fields to that service, and using the result to populate other fields, or populate a dropdown. In your case, it looks like you just need a plain link. You can create such a link with the Explanatory Text control:

Make custom changes in admin generator

I develop a symfony 1.4 project,my issue with admin panel in backend,so I use the administration generator to do it.
I have a list of members generated automatically in backend,now Im hopping to add some custom action when a memeber edit her profile in backend,then I wish to add in edit page radio dial buttons give simple “Yes” or “No” Options. By default, the radial dial button is set to “No.” However, if the admin selects “Yes” then a popup window will come with the following text: “Are you sure you want to sell a new membership" and If the admin selects “Yes” and then saves the profile, a pop Window will need to display that reads: “New Membership sold"...
the problem is I can't change code because the form of edition page is generated using a plugin (sfguarduser) so It's deficult to make any changes?
Any Idea?
As the plugin documentation says, you can override the plugin module by creating a module with the same name in the application you want and by adding a require_once in the action.
As for your confirm and other javascript, you can override the generated partials by adding partials with the same name in your module, just as described here.

How do I create a button within the jQueryMobile framework and have it call the URL but not do anything on the page?

How do I create a button within the jQueryMobile framework and have it call the URL on the remote server but not do anything on the page?
I have a web enabled device that accepts commands in the form of http://deviceip/index.htm?cmd=xxxx
The url doesn't return any data or at least any data that I want to display. Calling the url causes the device to do something (i.e. turn a light on or off etc..)
In the old days I'd create a hidden Iframe and set it as the button's target I'm pretty sure that is really the wrong way to do it.
<div class="ui-block-a">On</div>
How do I make the above call the url but not do anything?
Call the URL using ajax:
On

User control in Umbraco

Hey frenz I am new to Umbraco cms. And I am building site using it.Here I need to include the
.net user control with some textboxs and submit button. But when I include the macro containing the .net user control in my templete and Run the site I got the error
Server Error in '/' Application.
Control 'ContentPlaceHolderDefault_News_2_Button1' of type 'Button' must be placed inside a form tag with runat=server.
I also watch the video tutorials about the Usercontrol in Umbraco. And followed the same process but i am still getting the error.
But it works fine if i used Html textbox and buttons
So, it there any solution for it.............
This is because the control 'ContentPlaceHolderDefault_News_2_Button1' of type 'Button' is not placed inside a form tag with runat=server.
Every ASP>NET control that have attribute runat="server" must be placed inside a form tag with runat=server.
The solution is easy:
Put the form into your user control
or
Make template that contains server form and acts as master page. Put your user control inside that template

InfoPath form closes and redirects to deleted SharePoint library?

When a user clicks submit for the first time, the form closes and they are redirected to an old library that I deleted. But if they were to go back and edit their form then submit again, it will redirect to the correct library. Why does it redirect to the old library, and is there a way to fix this?
did you ever checked URL for the InfoPath form (if you are using externally the link for submission form). If so please do ckeck parameters in the URL with name "Source="
(OR) once you open the submission form, copy the url from the browser and paste it in any notepad, do check the passed parameter(s). some parameters are as below:
XsnLocation=
SaveLocation=
Source=
DefaultItemOpen=

Resources