I've created a form in the Forms Designer and saved it. I tried making some modifications to it later, specifically deleting input fields and adding new drop down lists. It won't delete input fields and new drop down lists can't be repositioned.
When trying to delete the program either does nothing or gives me the following error:
"Delete" did not complete normally. Please see the log for more information.
com.ibm.form.designer.model.xforms.model.impl.BindImpl incompatible with com.ibm.form.designer.model.xforms80.model.Bind80
Tried looking up the error but so far no solution. I've tried opening the .xfdl file as xml and edit it manually, it worked ok but now when I re-open the file in the Designer all the fields freeze up as they do with the drop down lists.
Any help appreciated.
There doesn't seem to be a way to fix the deleting bug from the Forms Designer itself. The best I could come up with is:
opening the .xdfl file in a text editor and deleting the tag for the particular field you want to delete
re-open the file in the Designer and the element can be deletable now
or if that doesn't work, find and delete any entry related to the element in the text editor and re-open in the Designer.
For the freezing page elements: close the file and restart IBM/Lotus Forms.
Related
Complete newbie here. Built a new site and a new app. Installed the new app. Want to add a custom script, but can't find the ".py" files for the doctypes I created.
The "Custom?" checkbox is left checked and greyed out.
I am logged in as an administrator and I set the site developer_mode config to 1.
(I know I can add custom scripts from the gui, but still, it's sometimes more convenient to work on my own IDE).
Basicaly I want to create a table as a child ("Reciepe") of a doctype ("Dishes"). The table should have a data field (quantity) and a select field (raw_material). I want to populate the raw_material with var_name field from another doctype ("Raw Materials", which also has their prices, thus allowing me to calculate the cost of each dish).
Inside the sites directory, there will be site_config.json file. Ensure developer_mode is present in that file.
$ cat sites/dev.localhost/site_config.json
Clear the cache b running
$ bench clear-cache
After that, go to Browser console and verify developer_mode, user.
If these 2 values are shown correctly in browser console, then Custom? will be unchecked and .py files will be generated.
I followed the tutorial and created the app "library_management". The py-files were created here:
/home/myuser/frappe-bench/apps/library_management/library_management/library_management/doctype
This post Drag file into Access, how to check the file details? says a BoundObjectFrame can be used as a target to drag and drop files from the Windows Explorer.
I've tried putting one on a form, but when I drag a file onto it, I get the circle-and-slash symbol that says I can't.
I've also tried various other control, including MS Forms textboxes, which are supposed to support drag-and-drop. But in every case I get the symbol.
Can anyone explain why?
I'm currently writing an RCP application with custom editors. I'm trying to check if the file that is to be renamed is open in an editor. Using a custom RenameParticipant I can check this and prevent the rename operation, but this happens AFTER the user has entered a new name. I would like the check to happen before. Is this possible?
First, you need to obtain the editors that are opened in your RCP application. Eclipse allows you to do this by means of the following line:
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getEditorReferences();
Then, you have to check whether your file is opened in one of these editors. To do this, you can iterate the resulting array. Each of the elements of the array is of type IEditorReference. You can get the file that is opened in each editor reference by means of the method getEditorInput().
I was recently working on a really huge project in netbeans. I saved it in my desktop, and then proceeded to save it also in my USB. However, the next day, when I learned it could be for a later date, I deleted the one in my USB.When I put on the one in my desktop, all the work I had done was not saved on it, including the making of new JFrames etc. So I used a program to recover my deleted files. I now have loaded them into the netbeans IDE< however, there is an error sign next to most of them. When I click on a class inside my project with the error,an error message comes up before I can access it. It says "The form file does not contain valid XML.Form cannot be opened.Contents is not allowed in prolog." When I press "OK", my class has "coding" which looks like:
W�'6��G��ԧ��(g&�Cd�nw|7�\ej��
�;���كG�s=�Bl+��6�r�#ma���'�f�T�9Kx�q�M�G�t�q� �:���� \!�%İ��P�&!�[�R���`�,+��U���"���Ј���yF&mÛ�
�
Y ?/,8��#�t:�ԇ
��lOѪ|T�^?v"
....that.
And when I go to "design view" that message comes up again. What should I do? What CAN I do? I really need the bulk of my project to finish it in time!!!Oh, the project is for tommorow, so the quicker answer the better :'(
right click on the latest file from History ->revert (the .form)
Go to the history of the file and copy the content of .form file then go to directory and open the 0byte file .form by the editor and paste the content! I have done this and it worked for me.
I have an InfoPath 2007 form that is behaving quite oddly.
I created it, published to a Sharepoint document library, running smoothly. Now, if I make changes to the form, I don't see them reflected after publishing. If I rename the xsn file to a cab and open the xsl, I can't also see the changes there, but in the Infopath editor I can see the changes.
I tried deleting the cache to no avail.
I also get an error trying to save the file: "User will not be able to open this form because of the security level it requires and because no alternate access path has been specified.". Even with the error the changes get saved, but that may be causing something not to be properly updated by InfoPath.
Any idea on what's going on here?
I managed to fix it by selecting Tools -> Default Values, in InfoPath.
I'm not sure what this did but after it the changes were properly published.
There is something definitely wrong with InfoPath 2007...