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.
Related
I am curently moving my small business app from ms access to Oracle Apex 20.
What I need is a page that shares both the report where I would select a row with record and form element at the top of page that would show details of the record.
Can someone give me an advice on how to start? I tried creating a blank page and inserting report and form elements manually but I am getting error No Primary Key item has been defined for form region rep7.
I suspect I need to connect the form and report with primary keys but don't know how. Closest I've been to solving my problem was watching this:
https://www.youtube.com/watch?v=H-hoMcMIs9g&ab_channel=MostafizMitul
but I couldn't quite decipher it.
Thank you
Jakub
The way you described it, it is a page whose type is Master Detail. Just follow the wizard, it'll create everything for you.
True - you can do it yourself, manually, but - why reinventing the wheel? The whole idea of Apex is to make things simpler for us, developers, to save us from boring actions we'd repeat over and over again. Let the wizard do it!
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.
When generate a list of radio (with a dropdownlist), it will select a default value automatically.
But I do not want to select any values as default, how to set this?
Thanks.
The only way to solve this from Studio is to add an empty row to your drop down list. If this is not preferred, then I would follow Jim's suggestion to affect all the drop downs to not contain a default value. To get the wanted affect to this single drop down then JavaScript code would be the proper tool.
Thanks.
It will be radio buttons. Not a drop down list.
As far as I'm aware there's no way to set this in studio.
You can set this in the database as a quick and dirty fix:
UPDATE fields_meta_data SET default_value = '' WHERE id = 'IDOFCUSTOMFIELD';
Nicer, but more involved would be to create a custom version of
modules/DynamicFields/templates/Fields/Forms/enum.tpl
which allows choosing no default value.
One way we've done this by adding a value in studio of "please_select" with a display label of "-please select-" and make this the default.
This way it's obvious when staff are looking at the record that it's not filled in, and we use workflows and reports to catch the exceptions and raise the alert to the appropriate person/s.
I have found a solution to this, although I would like to stress that I would not recommend this as a best practice.
I was using SuiteCRM 7.2.3, and Sugar 6.5.20. So not sure whether this will work in later Sugar Versions.
Create a Radio Drop Down Field
Create your drop down list
Save it
Go back in the dropdown editor and find your dropdown list: In my
example, I had options, 0, 1, and 2.
Create the same options again only as 3, 4, and 5.
Now delete options 0, 1, and 2.
Save the dropdown
MAKE SURE you don't save the field again after you do this, only the dropdown list.
Now go look at the field in the EditView and you'll see that no option is selected. Worked every time I did this. Nothing shows up in the DetailView, so I'm assuming NULL is being passed to the DetailView in this instance, but I'm not 100% sure.
I want to programatically choose one of the options available in a Excel Dropdownlist.
To manipulate the worksheet I'm using win32ole on ruby.
It works well until I try to change the value of the dropdownlist.
I simply don't know how and google has been of no help.
setting a value to a a cell is as simple as worksheet.Cells(x,y).Value=new_value. This is not choosing one of the alternatives available on the dropdownlist and it's not even possible since the cell in question is protected.
The protection doesn't stop me from changin the value manualy via excelso I figure there must be a method or functon somewhere that allows me to simulate this action aswell.
Help in advance for any suggestions.
EDIT:
I'm trying to choose one of the values available in the dropdown list.
I didn't find an api specific for dropdows, but I manage a work around. The data of the dropdown is somewhere in the workbook. Just choose from them and set it to the dropdown cell with "Cells.Value=new_value".
It was a little different for me since my workbook I was working on had some kind of protected custom dropdown but esencially the solution is realizing that the data of the dropdown can be found somwhere else in the workbook.
I am managing to construct a form (with FuelCMS) that has a look-up table, and the look-up table has a field that must be inserted at the same time as the relation (Figure 1).
Using a model inside my module I have finished the form to insert the data, I have a control (Figure 2) to select the relation between the two tables, and here is where my question comes. I need to show a pop-up (like the one when you press the "ADD" or "EDIT" button that allow the user to insert the value of the "objetivo" field (Figure 1) at the time you assign "Hitos" to the "indicadores".
What is the best way to do this? Can I attach a JS file to the form from the module to be able to capture the button click and show the pop-up? There are another better way already to achieve that task?
I hope I made my point clear, if not, please tell me and I will try to explain myself better.
Thanks :)
Figure 1
Figure 2
Thanks to the kind of the FuelCMS team I was at the end able to solve the situation I explained before, to achive the aim you should follow the next steps:
Add a javascript file on the module config (fuel/modules/MODULE_NAME/config/MODULE_NAME_fuel_module.php)
Use the Javascript hooks 'selectionAdded' and 'selectionRemoved' to launch the popup (FuelCMS uses jqmodal as popup) the functions pass as a parameter an array "vals" that contains the ID of the selected items.
Add a AJAX request in the popup code to retrive the form
Process the form and keep the values for later saving on database or manipulatiĆ³n.
It could be a bit tricky if you need a complex logic but is an effective way of do it :)
Once again TAHNKS to the FuelCMS support people, i hope this help someone.
Best regards.