January 27, 2015
October 10, 2014
This is possible: what you want to do is add to the application XML a dialog element (usualy the dialogscreens are at the bottom of the XML). For example, you could add the following:
<dialog id=”viewdomain” label=”Color Domain”>
<table id=”viewdomain_table” label=”Colors” orderby=”changedate desc” relationship=”ALNDOMAIN_COLORS“>
<tablebody displayrowsperpage=”10″ filterable=”true” id=”viewdomain_tablebody”>
<tablecol dataattribute=”value” id=”viewdomain_tablebody_1″/>
<tablecol dataattribute=”description” id=”viewdomain_tablebody_2″/>
The bold relationship ALNDOMAIN_COLORS should be the relationship between your object and the alndomain with the correct where clause. (something like domainid = ‘yourDomain‘ and siteid=:siteid ).
What you then want to do is add a sigoption to the application with the same name as your dialog id (in my example viewdomain). Then in application designer select Action -> add/modify toolbar menu.
There you add a new row, with the following data:
Element type = OPTION
Key value = viewdomain
Postion = 999 (free to choose a number)
Subposition = 1 (also free to choose a number)
Then authorise the users to this new sigoption. You should now see a button in the toolbar, which opens the dialog, which shows your domain.
Check this link for a tutorial which is quite similar to your question http://www.xcentricway.ca/tutorial01.htm
Most Users Ever Online: 54
Currently Browsing this Page:
sun kim: 60
Guest Posters: 0
Newest Members:Megan Morgan, Devendra Verma, stephen stephens, maxexpertise Hilal, Jeroen van Proosdij, Neeraja N
Administrators: Chon: 1118, kristensibilia: 0, Joe Grassia: 0, bpaik: 0