Hi,
I want to create a button that could "run" or "open" a Process. I want to place this button or hyperlin where a label of a field is located.
I was trying to put some code on the label properties but it does nt seem to work. Appreciate your help.
Run Process from a Button
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Run Process from a Button
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Re: Run Process from a Button
Forgot to show:
I was using this:
<a href=”#” onclick=”AwareApp.startProcessFromForm(MyProcessNace, main, this, false)>LabelName</a>
I was using this:
<a href=”#” onclick=”AwareApp.startProcessFromForm(MyProcessNace, main, this, false)>LabelName</a>
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
Re: Run Process from a Button
why not just have your form have a cell that has HTML for type, then Aware supports adding a button in that cell. To keep things lined up, you can have an extra column for the HTML cell and have other rows combine columns.
Other choice is to have an anchor tag in the HTML cell and have your BO Attribute displayed without a label and have this HTML cell be the label.
Bruce
Other choice is to have an anchor tag in the HTML cell and have your BO Attribute displayed without a label and have this HTML cell be the label.
Bruce
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Re: Run Process from a Button
Thank you!
I wanted to keep it looking sharp. Aligned. Insted of a button in a cell. USe a current "Label" as a button.
But it seems that it would be the way.
Thank you!
I wanted to keep it looking sharp. Aligned. Insted of a button in a cell. USe a current "Label" as a button.
But it seems that it would be the way.
Thank you!
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
Re: Run Process from a Button
I did something similar in v6.0 which works in both the label and description sections.
Change name MyProcess and try:
Notice that 'MyProcess' & 'main' parameters both have brackets.
Change name MyProcess and try:
Code: Select all
<a class="btn btn-default btn-xs" href="javascript: void(0);" onClick="AwareApp.startProcessFromForm ('MyProcess','main', this, false)" title="Start My Process"><i class="fa fa-plus-circle"> Run</i></a>
- Attachments
-
- procbtn.png (6.6 KiB) Viewed 7203 times