Improve GUI, use html-page instead of standard grid
AngelaIp opened this issue · 2 comments
At the moment every time a new 'Upload Images' Item is created when adding new Images. But this Item isn´t needed anymore after file upload.
Instead of the standard grid view maybe a html page would be quite nice.
User shall immeditely get the 'Upload Images' Form instead of creating a new 'Upload Images' Item instance.
Possible solution:
Add TOC View Item to ItemType "BPL_tp_Image_Uploader". TOC View Item reverence to custom .aspx in Innovator Server installation folder.
I like the idea of using a custom page or dialog to upload images instead of using an ItemType in the TOC. You could even add a CUI button to the Process Plan toolbar or Tech Doc toolbar that calls up a custom HTML page. The user would then be able to load images into new Graphic items without leaving the Process Plan/Tech Doc item they are authoring.
There is an Aras Labs blog post on adding custom CUI buttons: http://community.aras.com/en/creating-custom-refresh-button-using-cui/. I bet it's possible to adapt that sample to call up the custom HTML form. Once the form collects the user input, you can use or adapt your existing BPL_create_tp_image method to create the items.