Brian - Tuesday, June 30, 2009 1:32 AM:
Hi All,
I am doing some exploratory work with integrating to Innovator and want to be able to launch an Innovator session programatically.
I can connect and retrieve data but I want my users to see and be able to select items from Innovator so that I don't have to re-invent the interface.
Any suggestions where to start?
Thanks,
Brian.
PeterSchroer - Tuesday, June 30, 2009 8:24 AM:
Hey Brian,
Couple of ideas.... you can programtically open an Innovator session. The CAD integrations do this. But now you have moved from a Windows environment to a Web environment.
I'm interested in maybe taking the IOM.DLL one step further towards UI generation.... so that you can open a native technology window with grid for searching or form for data entry. For example, in a SolidWorks CAD Integration I was developing, we added a Workflow InBasket, so the designer could see workflow tasks without leaving his SolidWorks session. I was working on Windows form layout based on the Innovator form definiiton when I had to put the project aside. I agree with the intention to not re-invent the UI that Aras already delivers, but I can see value in having a few small UI components available to the Windows Developer, to keep the end-user inside his current application look&feel. Let me know if this is something you'd like to collaborate on, or would you rather just open standard Innovator web interface.
Peter
aknourenko - Tuesday, June 30, 2009 8:58 AM:
Brian,
Take a look at this community project: www.aras.com/.../
Hope this will help.
-Andrey
Brian - Tuesday, June 30, 2009 6:36 PM:
HI Peter,
I can see merit in both approaches. Being able to open a Windows UI should make communication between the UI and the external App easier/more direct but you don't want to have to re-define everything in the UI.
Being able to build a windows form from the Innovator form definition would help with this. I'm interested in collaborating on extending the IOM.dll to include UI components.
I can also see times when it will be easier to just open the standard web Interface to Innovator.
Let me know what I can do.
Cheers,
Brian.
Brian - Tuesday, July 7, 2009 9:41 PM:
Hi Peter,
I have been following this up over the last week and have a windows search form which uses the Innovator stored item type definition to create the columns etc and allows me to retrieve information in a way very similar to the main search forms in the Innovator UI.
I have also started to work on an Item form generated from the stored form definitions. I have run into some small obstacles mostly relating to field sizes. Does Innovator work with a set of internally defined "standard" field sizes? Most of the element (field) definitions are coming back with a width and height of zero (0) which makes it difficult to lay out the form.
Cheers,
Brian.
SamsAn - Thursday, July 2, 2009 2:41 AM:
An option is to put aspx page with code like below into "InnovatorClientSolutionsMySolutionClientScripts" directory.
'+++++++++++++++++++++++
<%@ Page CodePage=65001 Language="VB" Explicit="True" Strict="True"%>
<!-- #INCLUDE FILE="../../../scripts/include/InitialSetupHeader.aspx" -->
<script type="text/javascript">
setup_url = "my_page.html";
documentTitle = "My Page Title";
</script>
<!-- #INCLUDE FILE="../../../../scripts/include/InitialSetupFooter.aspx" -->
'-----------------------------------------
So, you can use internal innovator client api in my_page.html through top.aras object. For example:
var itm = top.aras.getItem("User", "login_name='admin'", "<login_name>admin</login_name>");
top.aras.uiShowItemInFrameEx(document.frames[0], itm);
top.aras.AlertSuccess("Ready.");
SamsAn.
Original Mind Any Level Innovator Solutions Free-Lancer, http://sites.google.com/site/caraacc
Rahul. - Thursday, June 18, 2015 7:38 AM:
HI,
I am to use uiShowItemInFrameEx() methods.But it is not working at my end.
Can you please give its prototype so I can use it.
Thanks,
Rahul
Jeroen Bosch - Friday, June 19, 2015 6:42 AM:
/*
* uiShowItemInFrameEx
* frame
* itemNd
* formType - 'add', 'view', 'edit', 'print', 'default', 'edit_form' (also this parameter defines mode to open item)
* formNd4Display - if specified then this form is used to display the item
*/
Aras.prototype.uiShowItemInFrameEx = function (frame, itemNd, formType, nestedLevel, formNd4Display, itemTypeNd4Form, userChangeHandler)