I’m currently customizing iNotes 8.5 for our archiving solution. I’d like to have a custom dialog started from a view action where a user can pick a folder to work with.
Something like the function ‘Move to folder’. I can see that there is a scene/widget ‘e-dialog-folderdialog’ but I can’t find where it is defined.
If maybe someone could give me a hint where I should look. A small sample code would be cool as well. Based on Akira’s article “Manipulating data in iNotes Lite forms” I’m able to create custom dialogs already but what I’m missing is the Folder List display with the ability to pick one.
Subject: How to properly load and use the EwE (mailFolderPickerOutline) widget?
I found out that the widget to use in iNotes Lite framework is the EwE [com_ibm_dwa_ui_mailFolderPickerOutline] widget. Analog to the date picker widget example in the article ‘Manipulating data in iNotes Lite forms’ I created a subformCustomLLExample and added the markups in I_StdPageOperations … and the lazy loading code lines in Subform Custom_JS_Lite – Scene_Actions_Lite
When I click on the view action the dialog box is shown but no EwE widget is loaded. What am I missing? Has anybody used the mailFolderPicker widget in a custom dialog?
Subform CustomLLExample looks like this
// Call of the Subform is in Custom_JS_Lite - function Scene_Actions_Lite
Subject: Try analyzing the detail mode of iNotes console log
That can be seen by Ctrl-Click on the product logo and hit Detail button. You’ll see what widgets have successfully been initialized, what widgets were not.
For example:
08/20/2009 06:05:33PM Releasing Eyu LISTENER92 from ELG
08/20/2009 06:05:33PM Releasing Eyu LISTENER84 from ELG
08/20/2009 06:05:33PM Widget ACTION2:EaJ is being created.
08/20/2009 06:05:33PM Widget e-form-472B52F82AD1A56D49257617004692C8-0:EHB is being created.
08/20/2009 06:05:33PM Widget e-form-472B52F82AD1A56D49257617004692C8-0:Eaa is being created.
08/20/2009 06:05:33PM Start tracking Eyu LISTENER97 from EQS
08/20/2009 06:05:33PM Start tracking Eyu LISTENER98 from Eeb
Subject: One more little question about outline content
Thank you very much, Akira, for the hint with the details in the console.
Now the EwE widget is loading correctly and I can pick a folder and work with it.
But the outline container, as far as I defined it now, is showing the whole list of views and folders (Sent, Trash, and so on).
Is there a method (or an easy way) to control which folders are displayed in the outline container?
I’d like to have the same amount of entries displayed as in the Copy Folder dialog (Inbox and all Custom Folders). I thought this could be done using com_ibm_dwa_ui_outline_context_action=“a-copytofolder” but this has in my case not the desired effect.
Any hint is very welcome!
Best regards, Veit
Currently my html code for the dialog looks like this: