|
On 22/10/2006, at 1:33 PM, as400@xxxxxxxxxx wrote:
Is anyone here using UIM's to create menus?
Lots of people do so quite successfully.
I have searched through the IBM infocenter and have been unable to find any significant documents on the subject. I recently changed shops and we are required to use UIM's to create menus, etc.
All the UIM information is in the Application Display Programming manual. It describes the syntax of the tag language in Appendix 1. Chapter 16 has a worked example of creating a UIM menu.
Any help would be appreciated. One thing that I am specifically trying to do is restrict access to certain objects and have been told that with UIM's it will remove the menu item from displaying if the user does not authority to use that object.
You need to do two things: 1) Define a suitable condition: :cond name=Bdspmsg expr='CHKOBJ("DSPMSG","*CMD","*USE")'. 2) Reference the condition when defining the menu item: :menui option=20 cond=Bdspmsg help='admin/dspmsg' action='CMD ?DSPMSG'.&msg(TXT1140). Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.