error message when running an application on Bonita tool - bonita

I am trying to run this form in the browser, but I keep getting this message not sure how to fix it so can you help me please.
"Ui Designer form type is selected and no target form is defined for overview page mapping. an autogenerated form will be used in the development environment ONLY"
here is a screen shoot of the message.
/Users/user/Desktop/Screen Shot 2017-08-03 at 5.31.44 pm.png
/Users/user/Desktop/Screen Shot 2017-08-03 at 6.34.41 pm.png

Unfortunatly I cant see any pics from your problem and I just think your problem might be with deploying your process.
As the error mentions the form you see when you Run the process from studio is an autogenerated form for testing the process in development mode(Obvious)
So if you want to deploy your process on a deployed Bonita BPM engin you have to create all those forms.
Select the Task (containing the contract cause forms are only generated for contracts) --> Under details panel ---> Execution Tab ---> Form :
Here you have 4 options and as it seems your new to Bonita so I suggest that you go with the UI Designer cause it will generate a form for deploying , simply choose UI Designer then from the right side of Target Form text area click the pencil icon (Edit) , it will create a new form for your contract and opens UI Designer to modify it.
If you just want to see how your process works in deployment environment and don't want to spend time on designing the UI just change the form name from "newForm" to what you want (All the forms created by UI Designer have the "newForm" name before you change it and it may cause problems if you don't modify the name ) and save it.
Build your project and deploy it.

Related

Winappdriver and selenium in the same automated test

Hi I could do with some help / more experienced eyes.
I have a WPF application which I have started automating some UI tests for using winappdriver, upon further investigation it has embeded html in it - webview, and can fire off requests to open the default browser with app related content - such as help files.
Has anyone had experience in working with this? For example:
open the WPF app,
click on help button on the WPF app which will open a browser and
then continue the test to ensure that the correct help page has been launched with the correct content in relation to the WPF page it was fired from.
Presumably this can be done in my case with chrome driver (winappdriver cannot see the content on the webpage). I have tried using selenium's window handles, but it's like the driver can't see the already open browser page. So I am at a bit of a loss and really not sure what to do.
In previous roles I was used to using Ranorex, which does both windows and web based UI automation. So I have never had any experience using multiple driver types to do the one test.

Some forms shown a blank in a designer codenaone

We have finished our app and tested from QA Team and its published in app store & google play from 3 months ago, but now we need to update and add some feature in some form, all forms its opened in the designer but the problem one form show me as a blank and we can not redesign the form again. we update codeanameone before open the netbeans code, please help, as you can see the image as below
the Form is blank and there is a capital C beside it, and all opened form is F:
check whether XML TEAM MODE is checked or unchecked . If it is checked then uncheck it or if it is unchecked then check it and close the theme designer without clicking save button . And reopen the designer then it should displays its components.

Can't get Dynamic Data Display working with WPF Browser Application

Can I get Dynamic Data Display library working with WPF Browser App? I'm getting "Target Invocation Exception" when attempting to launch the app, regular desktop WPF app runs just fine.
Update 1: "That assembly does not allow partially trusted callers." is the error, got it by adding D3's chart plotter dynamically. Looking into it now.
Fixed by switching to "This is a full trust application" option in the Security tab of my project's properties. May not be appropriate for everyone, check for the potential implications of it. Did the trick for me though.

Unable to call a specific form from a button in codenameone

I have a form designed in GUI designer. I call it "Register" to collect information for new member registration. Some how whenever I try to open this form using showForm("Register",null), I get this error -
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at com.codename1.ui.util.UIBuilder.getFormState(UIBuilder.java:1711)
at com.codename1.ui.util.UIBuilder.showForm(UIBuilder.java:2195)
at com.codename1.ui.util.UIBuilder.showForm(UIBuilder.java:2263)
I have not been able to find any reason for this. Is Register a reserved name? What other thing can cause this? Please help, I am stuck.
You seem to be using an older version of Codename One, you need to update your client libraries in the preferences.
This can happen if you showed your current form manually (not via the GUI builder), there is a bug in the current version where showForm() tries to get the name of the currently showing form and doesn't check for null. To workaround this just use setName() on the current form or make sure that all your forms are shown via the GUI builder.

How can I disable the Publish button in EPiServer's content editor?

I have an EPiServer project which is using the sequential workflow to validate content changes. This works fine, however we have a slight issue where content reviewers are just clicking Publish when they are happy with an editor's work. What they should be doing is using the workflow task window and indicating their approval through that.
To enforce this behaviour I would like to disable the Publish button in the content editor under certain circumstances (i.e. when there is an outstanding workflow task linked to the current page).
Does anyone have any ideas how I can do this, or even an alternative solution to the problem altogether?
Actually, I think you may want to revisit your workflow logic.
If a user with publishing rights publishes a page: that should be considered an approval. You could easily hook up to the Published event to see if the page is part of a currently running workflow.

Resources