Punitha
18th March 2003, 23:38
I would like to know if it is possible to attach a custom session to the standard toolbar. For example, let's say I write a custom session that allows the user to see the company holidays. I would like this session to be available under the standard toolbar just like the standard tools utilities, like "Calendar", "Calculator" are available etc under the "TOOLS" menu. Maybe under the "tools" dropmenu itself or say, add another button like "CUSTOM". My objective is to do this without customizing any forms.

Can anyone let me know if I can do this and if so how?

(I have played around with the tools sessions "Maintain menubar/toolbar data" etc., in "Application Development/Master Data" menu but I haven't been able to do anything solid).

Thanks in advance,
Punitha Ramasami.

zardoz
19th March 2003, 13:07
Punitha,
I think that your objective isn't reachable at full. In the session "Maintain Menubar/Toolbar data" you can add, by example an option 57 (user.option.9) and link it to the menu tools, but this option must be coded in all the scripts, like:

choice.user.9:
on.choice:
zoom.to$(etc....)

and activated in all sessions....

... maybe it's too much work :(

Punitha
19th March 2003, 15:41
Thank You Zardoz. Yes, I didn't want to opt for any customization. I wanted to achieve my objective using some standard tools without touching the sessions and its components.
Thank you for feedback though.


Punitha

morpheus
20th March 2003, 09:23
Punitha,
I am not sure whether you can achieve what you want to. But, extending Zardoz solution, you can customize the "Special" menu to add your customized session, instead of customizing the script. But, as you said you are not willing to customize any component, so...

Punitha
20th March 2003, 15:48
Thank You Morpheus. Yes, I do not want to use the "SPECIAL" menu, the reason being that I would like my custom utility to be available on all sessions. ie. If I used the "SPECIAL" menu then I would have to copy all the forms in the standard VRC to the development VRC. I certainly don't think that's a good idea. That's why I am searching for a solution where I can attach my utilities in a drop-down menu using the utilities provided by Baan tools without customizing any of the session components.

Punitha

jroberts
21st March 2003, 15:28
Using keyboard shortcuts would allow allusers to get to your custom code without having to customize anything.

See
Maintain Key Map Groups
Maintain Key Map Settings

Pressing key combo <ALT> <F2> or whatever would launch your session

Punitha
21st March 2003, 15:43
EXCELLENT suggestion Roberts! I think that would work great! Let me try it and I'll post my results here.


Thanks,

Punitha

Punitha
21st March 2003, 16:51
:)

EXCELLENT Roberts. It works very well.


Let me outline Roberts' suggestion here in detail to help others who might read this forum:

MENU PATH: Baan Tools => User Management => Default Settings => Maintenance

1. I maintain the key group in the session "Maintain Key Map
Groups(ttaad2108m000)"

2. I maintain the key combination in the session "Maintain Key
Map Settings(ttaad2109m000)".

The session allows the user to maintain the key combination,
the "command" to be used and the session to be invoked if
the "command" requires an activation of the session.

3. I specify the key group that I want to activate for the user in
the session "Maintain User Settings(ttaad2105m000)".


Thanks everybody for helping me out with the solution.
SPECIAL THANKS to ROBERTS!

Punitha

sanjaykathuria
22nd March 2003, 14:19
Hello,

We are using BaaN IV it is not working. I have added key map session and key map session but it is not working. Please provide me complete description as soon as possible.

Sanjay Kathuria

tools123
22nd March 2003, 15:18
map users to keymap settings and convert the users to runtime
with the key map box checked to yes in the user data.

log out and log back in.

sanjaykathuria
22nd March 2003, 19:46
I have all this things but still not working. Please provide me sequence of sessions.

Sanjay

isimeon
24th March 2003, 09:26
Some of the key combination does not work. Use Ctrl-Fx.

Punitha
24th March 2003, 16:47
Sanjay,

As specified by "isimeon" pls play around with the different key combinations. For instance, combination keys with "ALT" didn't work for me. Again, as specified by "tools123" pls. do not forget to specify the key group in "Maintain User Settings(ttaad2105m000)" and converting to "runtime data dictionary" for the user. Logout and Login.

If U have any other questions/problems, pls. feel free to contact me.

Punitha

jaapzwaan
25th March 2003, 11:59
Sanjay,

THe key mapping functionality is no longer supported in BaanERP. There are alternatives:
You can drag the session to the shortcut bar of the worktop/webtop.
You can add the session to your windows desktop.
You can add it to the startup sessions (if you want it to open always)

Regards,
Jaap Zwaan