Elsa Workflow - How to implement plugin to populate a ActivityInput field of ActivityInputUIHints.CheckList type - elsa-workflows

I have a dropdown and CheckList in an activity. I figured out how to populate the dropdown dynamically.
I would also to like to populate the checklist from the selected value of dropdown. But I used the chrome tool and looked at the elements, and found out the CheckList is not easy to handle.
I googled around and did not find a good example.
How do I populate a checklist? Any help or hint would be greatly appreciated!
Regards and thanks Simeon

Related

Handsontable sort Dropdown items by date

Is there an option to sort your dropdown items (col-type date) by date?
As seen in the image below the date-values are not really sorted by date since 12/1/2014 is not at first position. Hope this additional information helps to understand my question.
example of dropdown date items
I googled it and found an answer from Handsontable team.
Unfortunately, the answer is you can't without making a workaround directly in the core of their API.
You’d need to get to the source list of the Filters plugin. That is not possible using our official API.
Reference

Suitescript loading dropdown in client script

and thanks, I am creating a Suitelet in SS2, I need to filter across three selects on the client side. I was able to load the initial drop-down using 'insertSelectOption' but I cannot select any item. When I choose one it goes back to the blank option. I can't figure out what I am doing wrong. The entire list is loading in the select fine. Any help would be greatly appreciated.
thanks
You can only change the dependent dropdown lists via custom code-added form fields. I'm sure it would help if you were to post your code that you're trying to implement.

Abbyy Flexicapture - Dropdown

I am trying to create a dropdown in AbyyFlexicapture.
The dropdown should be filled from database (i have external DLL ready to do the job) or with fixed values. The problem is I cant find the appropriate element for the job. All i found (the closest) was checkbox group, but I dont know how to use it (add items programaticaly). The documentation on this is very poor ...
Any help would be appreciated!
Figured it out. You just push data to textbox with query and it gets auto-converted to dropdown. But theres no way (at least known to me) how to set up default selection...
Look at the IField.Suggest() method.

Dynamically populate ASP.NET MVC 3 Editor Templates based on selection in a dropdown

I am using ASP.NET MVC 3 and am attempting to populate a list of editor templates dynamically based on the selection made in a dropdown. I have no code to post because I am not sure what is the best way to achieve my purpose. My question is not how to use editor templates, but how to use editor templates when the list of related objects changes based on a user selection of the "parent".
Background:
Employees need to complete training checklists for operations they are trained on. The employee will select a checklist template from a dropdown menu, and then checklist items will populate based on the selected checklist template. (Each template has a different set of related items.) Each checklist item is associated with a blank response that the user must mark was completed. The checklist item is for display only; the response is what is being edited.
I know I can populate the checklist items via AJAX & Json, but is there a way to do this using editor templates--with the result of checklist items dynamically displaying based on the checklist template selected? One solution is to use one page to select the template, and then another page to display the checklist items; I would like to avoid this and keep everything on one page if possible. The goal is to populate the checklist items (and blank responses) based on the checklist template selected.
Caveat:
Each checklist will have a predefined number of blank responses based on what items are related to the checklist template, so the list size will not change during the completion of the form.
Model:
[ChecklistTemplate] 1------------* [ChecklistItem]
[ChecklistTemplate] 1------------* [Checklist]
[Checklist] 1------------* [ChecklistResponse]
[ChecklistResponse] *------------1 [ChecklistItem]
Any and all help is appreciated. Thank you.
For those type of tasks Id suggest to look into: http://knockoutjs.com/
On client side you have tho options:
1. Postback to server (Stinky stuff IMHO).
2. Do some clientside JS.
Id prefer Knockout for clean MVVM approach with events on model change. Made some very complex editors with it and works like a charm so far.

jqGrid Insert New Row Custom

I have looked around and have yet to find a decent answer.
I wish to add a new row into my grid from my own custom button, without using their add buttom or edit forms.
Something like:
$("#grid").jqGrid('insert',{"id","col1","col2"});
I want to be able to programatically insert new rows and not have to use their form.
Any help would be greatly appreciated.
Regards,
Byron
Why do you not use addRowData method (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods)? Do you want do something more as to add the data?

Resources