Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_Related Related Topics sp_TopicIcon
How to create dialog box showing list of DOMAIN elements
January 27, 2015
11:39 am
Avatar
John Henderson
New Member
Members
Forum Posts: 1
Member Since:
January 27, 2015
sp_UserOfflineSmall Offline

Let’s say there is a domain with elements RED, GREEN, BLUE.  Is there a way to create a dialog box that gives the user a choice (like a list box) RED, or GREEN, or BLUE. 

 

Any help would be greatly appreciated.

February 16, 2015
4:26 am
Avatar
Menno Gouma
Netherlands
Member
Members
Forum Posts: 25
Member Since:
October 10, 2014
sp_UserOfflineSmall Offline

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″/>

</tablebody>

</table>

</dialog>

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

Forum Timezone: America/New_York

Most Users Ever Online: 54

Currently Online:
1 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

sun kim: 60

madd0g17: 59

v.barsamov: 51

cgregory: 45

Maximofresher: 45

matta0990: 33

Member Stats:

Guest Posters: 0

Members: 14366

Moderators: 0

Admins: 4

Forum Stats:

Groups: 1

Forums: 8

Topics: 1580

Posts: 4295

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