Question


CIBC Bank
CA
Last activity: 22 Aug 2017 17:21 EDT
Integrating two windows forms from two different projects in OpenSpan robotics project
Hello All,
I have two different robotics projects with two different windows forms. First form has already two tabs in it. I want to embed second form as a third tab in the first form. Is there a way to do this in Pega Openspan?
Appreciate any thoughts!!
Thanks,
Nivas
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution


Pegasystems Inc.
US
Set the ShowOnStartup property for each of the forms to False. This will prevent them from displaying until you do a Show.


Pegasystems Inc.
US
Mmm, I don't think so.. You'll have to manually merge the form's controls.


CIBC Bank
CA
Thanks for the response. One more clarification required.. I have 3 different openspan projects in 3 different solutions. Project 1 need to use automations from project 2 and 3. Just wondering, ifi need to add the entire project 2 and 3 in solution 1 or just adding the project2.dll and project3.dll as reference to the project1 does the trick?
Appreciate your thoughts.
Thanks,
Nivas


Pegasystems Inc.
US
You will need to include the projects in your solution.


CIBC Bank
CA
Thanks Jeff!! How do I set the windows forms under Project 2 and Project 3 not to run? When i deployed the Project 1( which is referencing Project 2 and Project 3), the windows forms in the referenced project as well coming up. I need only the windows form in Project 1 to run. Kindly advise!!
Note: I have set the Run Actions to "Set to Not Run" for the forms under Project 2 and Project 3. But still its coming up after I deploy.
Accepted Solution


Pegasystems Inc.
US
Set the ShowOnStartup property for each of the forms to False. This will prevent them from displaying until you do a Show.


CIBC Bank
CA
Thanks Jeff!! That worked.


CIBC Bank
CA
Hi Jeff,
I have 2 automations that gets executed based on same activity out of which 1 is a test automation, which i don't want to run when I deploy the project. Is there a way to it?
P.S: I have tried the option of "Set Not to run" for the automation. It worked when I run the project from Visual studio but didnt work when i deploy.
Thanks,
Nivas


Pegasystems Inc.
US
- Right-click the project in the "Solution Explorer" window and select "Properties".
- Change to the "Deployment" tab.
- Set the "Include Run Settings" property to True.
This will cause Runtime to honor your run settings. I would recommend that you include your test automations or anything that you don't want to accidentally run in a separate project not referenced by your main project. This will prevent you from accidentally leaving any test artifacts enabled.